﻿*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #f5f5f5;
  --color-bg-2: #e8e8e8;
  --color-surface: #ffffff;
  --color-surface-2: #f0f0f0;
  --color-primary: #1a1a1a;
  --color-primary-dark: #000000;
  --color-primary-glow: rgba(0, 0, 0, 0.18);
  --color-accent: #404040;
  --color-accent-2: #737373;
  --color-accent-warm: #525252;
  --color-text: #111111;
  --color-text-muted: #6b6b6b;
  --color-border: rgba(0, 0, 0, 0.12);
  --color-overlay: rgba(0, 0, 0, 0.5);
  --color-error: #262626;
  --color-error-bg: rgba(0, 0, 0, 0.06);
  --color-error-border: rgba(0, 0, 0, 0.22);
  --color-star: #1a1a1a;
  --color-success: #404040;
  --gradient-brand: linear-gradient(135deg, #ffffff 0%, #8c8c8c 48%, #0a0a0a 100%);
  --gradient-brand-btn: linear-gradient(135deg, #666666 0%, #1a1a1a 52%, #000000 100%);
  --gradient-hero: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(235, 235, 235, 0.85) 40%,
    rgba(255, 255, 255, 0.95) 100%
  );
  --glass-bg: rgba(255, 255, 255, 0.92);
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 10px 32px rgba(0, 0, 0, 0.14);
  --focus-ring: 0 0 0 3px rgba(0, 0, 0, 0.15);
  --header-h: 60px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --touch-min: 44px;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 8px);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(0, 0, 0, 0.22);
  color: var(--color-text);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.65;
}

button:disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 0, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 0, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  touch-action: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: max(16px, var(--safe-left)) max(16px, var(--safe-right));
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 160;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.4s, box-shadow 0.4s;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: calc(var(--header-h));
  min-height: var(--header-h);
}

.header__right {
  display: none;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
  min-width: 0;
}

.logo__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #fff;
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.logo--admin .logo__img {
  width: 48px;
  height: 48px;
  padding: 2px;
}

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex-shrink: 0;
}

.icon--xs {
  width: 0.85rem;
  height: 0.85rem;
}

.icon--sm {
  width: 1.1rem;
  height: 1.1rem;
}

.icon--md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--lg {
  width: 2.75rem;
  height: 2.75rem;
}

.icon--xl {
  width: 3rem;
  height: 3rem;
}

.icon--star {
  color: var(--color-star);
  fill: currentColor;
  stroke: none;
}

.icon--star-empty {
  opacity: 0.28;
  fill: none;
  stroke: var(--color-star);
  stroke-width: 2;
}

.icon--on-gradient {
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.95;
}

.icon--primary {
  color: var(--color-primary);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.logo__text span {
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-gradient 4s ease infinite;
}

.nav {
  display: none;
  gap: 28px;
}

.nav--desktop {
  display: none;
}

.nav__link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 10px;
  margin-right: -10px;
  -webkit-tap-highlight-color: transparent;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu sheet */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.35s;
}

.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__sheet {
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 8px max(16px, var(--safe-left)) calc(16px + var(--safe-bottom)) max(16px, var(--safe-right));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
  max-height: 85svh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open .mobile-menu__sheet {
  transform: translateY(0);
}

.mobile-menu__handle {
  width: 40px;
  height: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  margin: 4px auto 12px;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 8px;
}

.mobile-menu__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  background: var(--color-surface-2);
  border: none;
  border-radius: 50%;
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  min-height: var(--touch-min);
  text-decoration: none;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu__link:active {
  background: rgba(0, 0, 0, 0.1);
}

@media (hover: hover) {
  .mobile-menu__link:hover {
    background: rgba(0, 0, 0, 0.08);
  }
}

.mobile-menu__link--auth {
  margin-top: 8px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.08) 100%);
}

.mobile-menu__link--auth .mobile-menu__icon {
  background: rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.25);
}

.mobile-menu__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.mobile-menu__icon.icon {
  width: 44px;
  height: 44px;
  padding: 10px;
}

.mobile-menu__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mobile-menu__text strong {
  font-size: 1rem;
  font-weight: 600;
}

.mobile-menu__text small {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .header__right {
    display: flex;
  }

  .nav--desktop {
    display: flex;
  }

  .burger,
  .mobile-menu {
    display: none;
  }

  .nav-overlay {
    display: none;
  }

  :root {
    --header-h: 64px;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .nav--desktop {
    gap: 16px;
  }

  .nav__link {
    font-size: 0.82rem;
  }

  .auth-bar__btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .header__right {
    gap: 16px;
  }
}

@media (min-width: 961px) {
  .nav--desktop {
    gap: 28px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: calc(var(--vh, 1svh) * 100);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + var(--safe-top) + 24px) 0 calc(32px + var(--safe-bottom));
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    165deg,
    var(--color-bg) 0%,
    var(--color-bg-2) 45%,
    var(--color-bg) 100%
  );
}

@media (max-width: 767px) {
  :root {
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: Georgia, 'Times New Roman', serif;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    overflow: visible;
    padding: calc(var(--header-h) + var(--safe-top) + 12px) 0 20px;
    background: var(--color-bg);
  }

  .hero__overlay {
    display: none;
  }

  .hero__orbs {
    display: none;
  }

  .hero__inner {
    position: relative;
    z-index: 3;
  }

  .reveal,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .animate-in,
  .animate-in-delay-1,
  .animate-in-delay-2,
  .animate-in-delay-3,
  .animate-in-delay-4 {
    animation: none;
    opacity: 1;
    transform: none;
  }

  #locations {
    position: relative;
    z-index: 5;
    background: var(--color-bg);
  }

  #locations.reveal,
  #locations .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__content {
    margin-top: 0;
    padding-top: 0;
  }

  .hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__stats {
    gap: 8px;
  }

  .stat {
    padding: 10px 6px;
    min-width: 0;
  }

  .hero__content .stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .stat__num {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }

  .stat__label {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .mobile-menu {
    z-index: 170;
  }

  .nav-overlay {
    z-index: 165;
  }
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-banner-desktop {
  display: none;
  position: relative;
  background: var(--color-bg);
}

.hero-banner-desktop__inner {
  padding-inline: max(16px, var(--safe-left)) max(16px, var(--safe-right));
}

.hero-banner-desktop__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .hero {
    min-height: auto;
    align-items: center;
    padding: calc(var(--header-h) + var(--safe-top) + 40px) 0 24px;
  }

  .hero-banner-desktop {
    display: block;
    z-index: 4;
    padding: 0 0 32px;
  }

  .hero-banner-desktop__inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-banner-desktop__img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(22px, 5vw, 36px);
  min-height: min(72vw, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: url('images/hero-content-bg.png') center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__content > * {
  position: relative;
  z-index: 1;
}

.hero__content .hero__title {
  color: #fff;
}

.hero__content .hero__title .text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #c9c9c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__content .hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.hero__content .hero__tag {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero__content .stat {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__content .stat__num {
  color: #fff;
}

.hero__content .stat__label {
  color: rgba(255, 255, 255, 0.78);
}

.hero__content .btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  box-shadow: none;
}

.hero__content .btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

.hero__tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 50px;
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__subtitle {
  color: var(--color-text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
  }
}

.hero__actions .btn {
  width: 100%;
  min-height: var(--touch-min);
}

@media (min-width: 480px) {
  .hero__actions .btn {
    width: auto;
  }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.stat {
  text-align: center;
  padding: 14px 10px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .hero__stats {
    display: flex;
    gap: 32px;
    width: auto;
  }

  .stat {
    text-align: left;
    padding: 0;
    background: none;
    border: none;
  }

  .hero__content .stat {
    background: none;
    border: none;
    backdrop-filter: none;
  }
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 700;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: var(--touch-min);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--gradient-brand-btn);
  background-size: 200% auto;
  color: #fff;
  animation: gradient-shift 4s ease infinite;
  box-shadow: 0 4px 20px var(--color-primary-glow);
  border: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--color-primary-glow);
}

.btn--outline {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 48px 0;
  scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 8px);
}

@media (min-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

.section__header {
  margin-bottom: 32px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Filters */
.filters {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 255, 255, 0.6) 50%, var(--color-bg) 100%);
  position: relative;
  z-index: 1;
}

.filters__bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 480px) and (max-width: 639px) {
  .filters__bar {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .filters__bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.search {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.search__input,
.filter-select {
  width: 100%;
  padding: 14px 16px 14px 42px;
  min-height: var(--touch-min);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.filter-select {
  padding-left: 16px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236f6a82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.filter-select option {
  background: var(--color-surface);
  color: var(--color-text);
}

@media (min-width: 640px) {
  .filter-select {
    width: auto;
    min-width: 160px;
  }
}

.search__input:focus,
.filter-select:focus {
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.results-count {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 540px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: var(--shadow);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 0, 0, 0.3);
  }
}

.card:active {
  transform: scale(0.98);
  opacity: 0.95;
}

.card__image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2);
}

.card__image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.card__image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  z-index: 0;
}

.card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.card__body {
  padding: 16px;
}

.card__region {
  font-size: 0.75rem;
  color: var(--color-accent-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  padding: 4px 11px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.tag:nth-child(1) {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.22);
  color: var(--color-accent-2);
}

.tag:nth-child(2) {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.22);
  color: var(--color-primary-dark);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.card__price {
  font-weight: 700;
  font-size: 1rem;
  min-width: 0;
  flex: 1 1 auto;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card__price small {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  -webkit-text-fill-color: var(--color-text-muted);
  background: none;
}

.card__rating-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.card__reviews {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.card__rating {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.tag--rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.no-results .icon {
  color: var(--color-primary);
}

.card__star {
  color: var(--color-star);
}

/* About */
.about {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(230, 230, 230, 0.45) 100%);
  position: relative;
}

.about__grid {
  display: grid;
  gap: 40px;
  max-width: 720px;
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__list li {
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
}

.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 14px;
  height: 14px;
  background-color: var(--color-accent-2);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Bookings */
.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  box-shadow: var(--shadow);
}

.booking-item__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 640px) {
  .booking-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .booking-item__row {
    flex: 1;
    flex-direction: row;
    align-items: center;
  }
}

.booking-item__info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.booking-item__info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.booking-item__price {
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.booking-item__delete {
  background: var(--color-surface);
  border: 1px solid var(--color-error-border);
  color: var(--color-error);
  padding: 10px 16px;
  min-height: var(--touch-min);
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
  .booking-item__delete {
    width: auto;
    padding: 6px 14px;
    min-height: auto;
  }
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.empty-state__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.empty-state__icon.icon {
  width: 3rem;
  height: 3rem;
}

.card__image-fallback,
.detail-hero__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-item__delete:hover {
  background: var(--color-error-bg);
}

.booking-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 50px;
  vertical-align: middle;
  margin-left: 6px;
}

.booking-status--pending {
  background: rgba(0, 0, 0, 0.15);
  color: #404040;
}

.booking-status--confirmed {
  background: rgba(0, 0, 0, 0.15);
  color: var(--color-success);
}

.booking-status--completed {
  background: rgba(0, 0, 0, 0.12);
  color: var(--color-primary-dark);
}

.booking-status--cancelled {
  background: var(--color-error-bg);
  color: var(--color-error);
}

/* Footer */
.footer {
  padding: 32px 0 calc(32px + var(--safe-bottom));
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.logo--footer {
  gap: 8px;
}

.logo--footer .logo__img {
  width: 44px;
  height: 44px;
  padding: 2px;
}

.logo--footer .logo__text {
  font-size: 1.2rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer--compact .footer__inner {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
}

.footer__link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__link:hover {
  opacity: 0.85;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal.open {
  pointer-events: auto;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.modal__dialog {
  position: relative;
  background: var(--color-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 92svh;
  overflow-y: auto;
  padding: 8px 20px calc(24px + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal__dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.modal__handle {
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  margin: 4px auto 16px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .modal__handle {
    display: none;
  }

  .modal__dialog {
    padding: 24px 20px 32px;
  }
}

.modal.open .modal__dialog {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .modal {
    align-items: center;
    padding: 20px;
  }

  .modal__dialog {
    border-radius: var(--radius-lg);
    max-height: 90vh;
    transform: translateY(20px) scale(0.97);
  }

  .modal.open .modal__dialog {
    transform: translateY(0) scale(1);
  }

  .modal__dialog--large {
    max-width: 680px;
  }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-surface-2);
  border: none;
  color: var(--color-text);
  width: var(--touch-min);
  height: var(--touch-min);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
  .modal__close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 4px;
  padding-right: 40px;
}

.modal__location {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Detail modal */
.detail-hero {
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2);
}

.detail-hero:has(.detail-hero__photo) {
  height: auto;
  display: block;
}

.detail-hero:has(.detail-hero__fallback) {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.detail-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.detail-hero__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  z-index: 0;
}

.detail-hero:has(.detail-hero__photo)::after {
  display: none;
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.detail-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.detail-highlights {
  margin-bottom: 24px;
}

.detail-highlights h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.detail-highlights ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-highlights li {
  padding: 6px 14px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-text);
}

.detail-reviews {
  margin-bottom: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.detail-reviews__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.review-item {
  padding: 14px 16px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.review-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.review-item__author {
  font-size: 0.9rem;
  color: var(--color-text);
}

.review-item__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.review-item__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 8px;
}

.review-item__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.reviews-empty {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.review-form {
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.review-form__title {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.review-form__stars {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.review-star-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  color: var(--color-star);
}

.review-star-btn:hover,
.review-star-btn.active {
  background: rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.45);
}

.review-star-btn.active .icon {
  fill: currentColor;
  stroke: none;
}

.review-form .form-field textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  background: var(--color-surface-2);
  color: var(--color-text);
}

.review-form .form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}

.review-form__error {
  display: none;
  margin: 10px 0;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--color-error);
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  border-radius: var(--radius);
}

.review-form__error.visible {
  display: block;
}

.review-form__hint {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.review-form__hint a {
  color: var(--color-primary);
  font-weight: 600;
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.detail-price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-muted);
  -webkit-text-fill-color: var(--color-text-muted);
  background: none;
}

/* Booking form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
  padding: 14px 16px;
  min-height: var(--touch-min);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field textarea {
  min-height: 96px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.booking-form .btn--primary {
  position: sticky;
  bottom: 0;
  margin-top: 4px;
  z-index: 2;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

@media (min-width: 640px) {
  .booking-form .btn--primary {
    position: static;
    box-shadow: none;
  }
}

.booking-price {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-primary-dark);
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(24px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gradient-brand-btn);
  background-size: 200% auto;
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 300;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.35s;
  pointer-events: none;
  white-space: normal;
  text-align: center;
  max-width: calc(100vw - 32px - var(--safe-left) - var(--safe-right));
  line-height: 1.4;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.no-results span {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.cards-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--color-text-muted);
}

/* —— Responsive layout —— */
@media (max-width: 479px) {
  .footer--compact .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .logo__text {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 52px);
  }

  .logo__img {
    width: 52px;
    height: 52px;
    padding: 2px;
  }

  .logo__icon {
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .header__inner {
    gap: 8px;
  }

  .burger {
    flex-shrink: 0;
    margin-right: max(-10px, calc(var(--safe-right) * -1));
  }

  .hero__title br {
    display: none;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .section__header {
    margin-bottom: 24px;
  }

  .section__title {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .section {
    padding: 40px 0;
  }

  .card__image {
    height: 140px;
    font-size: 3rem;
  }

  .card__title {
    font-size: 1.05rem;
    overflow-wrap: break-word;
  }

  .card__region {
    overflow-wrap: break-word;
  }

  .card__footer {
    gap: 6px;
  }

  .card__price {
    font-size: 0.92rem;
  }

  .card__rating {
    flex-shrink: 0;
  }

  .detail-hero:has(.detail-hero__fallback) {
    height: 140px;
    font-size: 3rem;
  }

  .modal__title {
    font-size: 1.3rem;
    overflow-wrap: break-word;
  }

  .modal__dialog {
    max-height: 90svh;
    max-height: calc(var(--vh, 1svh) * 90);
  }

  .detail-price {
    font-size: 1.25rem;
  }

  .empty-state {
    padding: 36px 16px;
  }

  .booking-item__info h4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    overflow-wrap: break-word;
  }

  .booking-status {
    margin-left: 0;
    font-size: 0.6rem;
  }

  .booking-item__info p {
    font-size: 0.8rem;
    word-break: break-word;
  }

  .booking-item__price {
    align-self: flex-start;
    white-space: nowrap;
  }

  .filters__bar {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .search,
  .filter-select {
    width: 100%;
    min-width: 0;
  }

  .mobile-menu__sheet {
    max-height: 88svh;
    max-height: calc(var(--vh, 1svh) * 88);
  }

  .mobile-menu__text strong {
    font-size: 0.95rem;
  }

  .mobile-menu__text small {
    font-size: 0.75rem;
  }

  .toast {
    left: max(16px, var(--safe-left));
    right: max(16px, var(--safe-right));
    transform: translateY(100px);
    width: auto;
    max-width: none;
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .hero__title br {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 72px 0;
  }

  .cards {
    gap: 20px;
  }

  .about__grid {
    gap: 48px;
  }
}

@media (max-width: 359px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 10px 14px;
  }

  .stat__num {
    font-size: 1.35rem;
  }
}


/* ========== AUTH ========== */

/* Auth pages */
.auth-page {
  min-height: 100svh;
  min-height: calc(var(--vh, 1svh) * 100);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(0, 0, 0, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 90%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 50%, rgba(0, 0, 0, 0.08) 0%, transparent 50%),
    var(--color-bg);
  z-index: 0;
}

.auth-page > * {
  position: relative;
  z-index: 1;
}

.auth-page .header__actions {
  display: none;
}

.auth-page__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + var(--safe-top) + 16px) 0 calc(32px + var(--safe-bottom));
}

.auth-page__main > .container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  animation: scale-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card__icon.icon {
  width: 56px;
  height: 56px;
  padding: 14px;
}

.auth-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}

.auth-card__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form .form-field span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.auth-form .form-field input {
  width: 100%;
  padding: 14px 16px;
  min-height: var(--touch-min);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.auth-form .form-field input:focus {
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.form-field--password {
  position: relative;
}

.form-field--password input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--color-surface-2);
  cursor: pointer;
  color: var(--color-text-muted);
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.password-toggle:hover {
  background: rgba(0, 0, 0, 0.12);
  color: var(--color-primary-dark);
}

.password-toggle:active {
  opacity: 1;
}

.auth-error {
  display: none;
  padding: 12px 14px;
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  border-radius: var(--radius);
  color: var(--color-error);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 4px;
  animation: fade-in 0.3s ease;
}

.auth-error.visible {
  display: block;
}

.auth-form .btn--primary {
  margin-top: 4px;
  min-height: var(--touch-min);
}

.auth-card__footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.auth-card__footer a {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: 600;
}

.auth-card__footer a:hover {
  opacity: 0.85;
}

.auth-card__hint {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.85;
}

.auth-card__footer--admin {
  margin-top: 8px;
}

.auth-card--admin {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.auth-page--admin .auth-card__icon {
  font-size: 2.25rem;
}

/* Profile page */
.profile-page {
  min-height: 100svh;
  min-height: calc(var(--vh, 1svh) * 100);
}

.profile-page__main {
  padding: calc(var(--header-h) + var(--safe-top) + 24px) 0 calc(40px + var(--safe-bottom));
}

.profile-hero {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-bottom: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .profile-hero {
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    padding: 28px 32px;
  }
}

.profile-hero__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
}

.profile-hero__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin-bottom: 6px;
}

.profile-hero__meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.profile-hero__logout {
  justify-self: start;
}

@media (min-width: 640px) {
  .profile-hero__logout {
    justify-self: end;
  }
}

.profile-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.profile-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.profile-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.booking-item__contact {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.auth-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-bar__user {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.auth-bar__btn--primary {
  background: var(--gradient-brand-btn);
  background-size: 200% auto;
  color: #fff;
  animation: gradient-shift 4s ease infinite;
  box-shadow: 0 2px 12px var(--color-primary-glow);
}

.auth-bar__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

.auth-bar__btn--ghost {
  background: var(--color-surface);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.auth-bar__btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.auth-bar__btn--outline {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.toast--error {
  background: var(--color-error);
  color: #fff;
}

.bookings {
  background: linear-gradient(180deg, transparent 0%, rgba(230, 230, 230, 0.35) 100%);
}

@media (max-width: 767px) {
  .auth-page {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .auth-page__main {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + var(--safe-top) + 12px);
  }

  .auth-card {
    padding: 24px 20px 28px;
    margin-inline: 0;
  }

  .auth-card__title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .auth-form .form-field input,
  .auth-form .form-field textarea,
  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .auth-page .header__actions {
    display: flex;
  }

  .auth-card {
    padding: 36px 32px 40px;
  }
}

@media (min-width: 1024px) {
  .auth-card {
    max-width: 460px;
  }
}

/* ========== ANIMATIONS ========== */

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes float-reverse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -30px) scale(1.08); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes text-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes card-pop {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.animate-in {
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-in-delay-1 { animation-delay: 0.15s; }
.animate-in-delay-2 { animation-delay: 0.3s; }
.animate-in-delay-3 { animation-delay: 0.45s; }
.animate-in-delay-4 { animation-delay: 0.6s; }

.bg-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-orbs__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 12s ease-in-out infinite;
}

.bg-orbs__orb--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-duration: 14s;
}

.bg-orbs__orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
  bottom: 10%;
  left: -8%;
  animation: float-reverse 16s ease-in-out infinite;
}

.bg-orbs__orb--3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.28) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation-duration: 18s;
  animation-delay: -4s;
}

.hero__orbs .bg-orbs__orb--1 {
  width: 500px;
  height: 500px;
  top: 5%;
  right: 10%;
}

.hero__orbs .bg-orbs__orb--2 {
  bottom: 20%;
  left: 5%;
}

.text-gradient {
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-gradient 4s ease infinite;
}

.text-gradient-static {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn--glow {
  position: relative;
  overflow: hidden;
}

.btn--glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.btn--glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--color-primary-glow);
}

.card.reveal-card {
  animation: card-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--card-delay, 0s);
}

.section__title {
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 48px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% auto;
}

.stat {
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 0, 0, 0.28);
}

.stat__num {
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-gradient 5s ease infinite;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.auth-card {
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: var(--gradient-brand);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.45;
}

.auth-card__icon {
  animation: pulse-glow 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== ADMIN PANEL ========== */

.admin-page {
  background: var(--color-bg);
}

.admin-page::before {
  display: none;
}

.admin-layout {
  display: flex;
  min-height: 100svh;
  min-height: calc(var(--vh, 1svh) * 100);
}

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  z-index: 180;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom));
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.admin-sidebar.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .admin-sidebar {
    position: sticky;
    top: 0;
    height: 100svh;
    transform: none;
  }
}

.admin-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-surface-2);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-text);
}

@media (min-width: 1024px) {
  .admin-sidebar__close {
    display: none;
  }
}

.logo--admin .logo__text {
  font-size: 1.2rem;
}

.admin-sidebar__role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-left: 4px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.admin-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.admin-nav__item:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.admin-nav__item.active {
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.admin-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.admin-nav__icon.icon {
  width: 1.25rem;
  height: 1.25rem;
}

.admin-sidebar__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.admin-sidebar__link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 4px;
}

.admin-sidebar__logout {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--color-text);
}

.admin-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 170;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.admin-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .admin-overlay {
    display: none;
  }
}

.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) max(16px, var(--safe-right)) 12px max(16px, var(--safe-left));
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: var(--color-surface-2);
  border-radius: var(--radius);
  cursor: pointer;
}

.admin-header__burger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

@media (min-width: 1024px) {
  .admin-header__burger {
    display: none;
  }
}

.admin-header__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.admin-header__user {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

.admin-content {
  flex: 1;
  padding: 20px max(16px, var(--safe-right)) calc(24px + var(--safe-bottom)) max(16px, var(--safe-left));
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
  animation: fade-in 0.35s ease;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .admin-stats {
    grid-template-columns: repeat(6, 1fr);
  }
}

.admin-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.admin-stat-card--accent {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.1) 100%);
  border-color: rgba(0, 0, 0, 0.22);
}

.admin-stat-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.admin-stat-card__label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.admin-card--warn {
  border-color: rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.04);
}

.admin-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.admin-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  align-items: center;
}

.admin-search {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  min-height: var(--touch-min);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}

.admin-search:focus {
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.admin-filter {
  width: auto;
  min-width: 160px;
  min-height: var(--touch-min);
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.admin-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table small {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.admin-table__actions {
  white-space: nowrap;
  text-align: right;
}

.admin-table--compact td,
.admin-table--compact th {
  padding: 10px 12px;
}

.admin-loc-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-loc-cell__emoji,
.admin-loc-cell__thumb,
.admin-loc-cell__placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.admin-loc-cell__emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.admin-loc-cell__thumb {
  object-fit: contain;
  object-position: center;
  display: block;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.admin-loc-cell__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}

.admin-loc-cell__placeholder .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.admin-photo-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.form-field__hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.admin-loc-preview {
  height: 140px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.admin-loc-preview img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.admin-loc-preview--empty {
  flex-direction: column;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.admin-loc-preview--empty .icon {
  color: var(--color-text-muted);
  opacity: 0.85;
  margin-bottom: 4px;
}

.admin-loc-preview--empty p {
  margin: 0;
}

.admin-btn-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  border-radius: 8px;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-text-muted);
}

.admin-btn-icon .icon {
  width: 1rem;
  height: 1rem;
}

.admin-btn-icon:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.3);
}

.admin-btn-icon--danger:hover {
  background: var(--color-error-bg);
  border-color: var(--color-error-border);
}

.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
}

.admin-badge--pending {
  background: rgba(0, 0, 0, 0.15);
  color: #404040;
}

.admin-badge--confirmed {
  background: rgba(0, 0, 0, 0.15);
  color: var(--color-success);
}

.admin-badge--completed {
  background: rgba(0, 0, 0, 0.12);
  color: var(--color-primary-dark);
}

.admin-badge--cancelled {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.admin-status-select {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  background: var(--color-surface-2);
  color: var(--color-text);
  cursor: pointer;
  outline: none;
}

.admin-status-select:focus {
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.admin-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--color-text-muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-file-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.admin-credentials {
  list-style: none;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.admin-credentials strong {
  color: var(--color-text);
}

.admin-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .admin-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-form__full {
  grid-column: 1 / -1;
}

.admin-form .form-field select {
  padding: 14px 16px;
  min-height: var(--touch-min);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  width: 100%;
}

.admin-form .form-field select:focus {
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.admin-form__preview {
  margin: 12px 0;
}

.admin-form__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
  flex-wrap: wrap;
}

.admin-modal .modal__title {
  margin-bottom: 16px;
}

.admin-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 0.9rem;
}

.admin-dl dt {
  color: var(--color-text-muted);
  font-weight: 500;
}

.admin-dl dd {
  margin: 0;
}

@media (max-width: 767px) {
  .admin-sidebar {
    width: min(300px, 100vw);
  }

  .admin-content {
    padding: 16px max(12px, var(--safe-right)) calc(20px + var(--safe-bottom)) max(12px, var(--safe-left));
  }

  .admin-header__title {
    font-size: 1.15rem;
  }

  .admin-table-wrap {
    border-radius: var(--radius);
  }

  .admin-table th,
  .admin-table td {
    padding: 10px 8px;
    font-size: 0.78rem;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-search,
  .admin-filter {
    width: 100%;
    min-width: 0;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-stat-card {
    padding: 12px 10px;
  }

  .admin-stat-card__num {
    font-size: 1.05rem;
  }

  .admin-form__actions {
    flex-direction: column-reverse;
  }

  .admin-form__actions .btn {
    width: 100%;
  }
}
