*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Bridge admin branding → Projectoni tokens when present */
:root {
  --po-ink: var(--color-background, #08080a);
  --po-cream: var(--color-foreground, #f2f1ee);
  --po-gold: var(--color-primary, oklch(0.83 0.13 84));
  --po-gold-dark: var(--color-primary-dark, oklch(0.52 0.1 78));
}

body {
  margin: 0;
  background: var(--po-ink, #08080a);
  color: var(--po-cream, #f2f1ee);
  font-family: var(--font-georgian), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--po-gold, oklch(0.83 0.13 84)); }
::selection { background: var(--po-gold, oklch(0.83 0.13 84)); color: var(--po-ink, #08080a); }

input, select, textarea, button { font-family: inherit; }

@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226,182,84,.45), 0 0 18px 2px rgba(226,182,84,.35); }
  50% { box-shadow: 0 0 0 5px rgba(226,182,84,0), 0 0 30px 6px rgba(226,182,84,.55); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .5; }
  50% { transform: translate3d(2%,-3%,0) scale(1.08); opacity: .85; }
}
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes poMarkPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  40% { transform: scale(1.08) rotate(8deg); opacity: .95; }
  70% { transform: scale(.96) rotate(-4deg); opacity: 1; }
}
@keyframes poMarkRing {
  0%, 100% { transform: scale(.85); opacity: .55; }
  50% { transform: scale(1.25); opacity: 0; }
}
@keyframes poLogoIn {
  from { opacity: 0; transform: translateY(4px) scale(.96); }
  to { opacity: 1; transform: none; }
}

.po-brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
}
.po-brand-mark__core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--po-gold, oklch(0.83 0.13 84));
  animation: poMarkPulse 3.2s ease-in-out infinite, glow 2.8s ease-in-out infinite;
  z-index: 1;
}
.po-brand-mark__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--po-gold, oklch(0.83 0.13 84));
  animation: poMarkRing 2.8s ease-out infinite;
  pointer-events: none;
}
.po-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 320px);
  object-fit: contain;
  animation: poLogoIn .55s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Booking: never sticky the summary column on small screens — it covers the form. */
@media (max-width: 899px) {
  .po-book-aside {
    position: relative !important;
    top: auto !important;
  }
}

/* ——— Content pages (about / FAQ / contact / richtext) ——— */
.po-app .po-content-shell .cms-richtext {
  max-width: 820px;
  margin: 0;
  padding: 0;
  color: rgba(242,241,238,.78);
}

.po-app .po-content-shell .cms-richtext__body,
.po-app .po-richtext-wrap .cms-richtext__body {
  color: rgba(242,241,238,.78);
  font-size: 16px;
  line-height: 1.72;
}

.po-app .po-content-shell .cms-richtext__body :is(h1, h2, h3, h4),
.po-app .po-richtext-wrap .cms-richtext__body :is(h1, h2, h3, h4) {
  color: #f2f1ee;
  letter-spacing: -.02em;
  font-weight: 600;
}

.po-app .po-content-shell .cms-richtext__body a,
.po-app .po-richtext-wrap .cms-richtext__body a {
  color: oklch(0.83 0.13 84);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.po-app .po-content-shell .cms-richtext__body :is(ul, ol) {
  padding-left: 1.2em;
}

.po-app .po-content-shell .cms-richtext__body strong {
  color: #f2f1ee;
}

.po-field,
.po-app .input-field {
  appearance: none;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(242,241,238,.14);
  background: rgba(8,8,10,.55);
  color: #f2f1ee;
  padding: 12px 14px;
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.po-field:focus,
.po-app .input-field:focus {
  border-color: rgba(226,182,84,.55);
  box-shadow: 0 0 0 3px rgba(226,182,84,.18);
}

.po-field option,
.po-app .input-field option {
  background: #121214;
  color: #f2f1ee;
}

.po-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  background: oklch(0.83 0.13 84);
  color: #08080a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(226,182,84,.28);
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
}

.po-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 34px rgba(226,182,84,.4);
}

.po-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.po-app .po-contact-card .rounded-lg.border-green-300,
.po-app .po-contact-page .rounded-lg.border-green-300 {
  border-color: rgba(74, 222, 128, .35) !important;
  background: rgba(74, 222, 128, .1) !important;
  color: #bbf7d0 !important;
}

.po-app .po-contact-card .rounded-lg.border-red-300,
.po-app .po-contact-page .rounded-lg.border-red-300 {
  border-color: rgba(248, 113, 113, .35) !important;
  background: rgba(248, 113, 113, .1) !important;
  color: #fecaca !important;
}

.po-app .po-content-empty {
  color: rgba(242,241,238,.62) !important;
}

/* Contact split — details left, form right */
.po-app .po-contact-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 840px) {
  .po-app .po-contact-split-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 22px;
  }
}

.po-app .po-contact-card .po-field,
.po-app .po-contact-card .input-field {
  background: rgba(8, 8, 10, 0.55);
}

/* Auth modal */
.po-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  padding: 12px;
}
@media (min-width: 640px) {
  .po-auth-modal {
    place-items: center;
  }
}
.po-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 8, 10, 0.62);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.po-auth-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  border-radius: 24px 24px 18px 18px;
  border: 1px solid rgba(242, 241, 238, 0.12);
  background: #0c0c0e;
  padding: 18px 16px 22px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.85);
}
.po-auth-modal__handle {
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(242, 241, 238, 0.18);
}
@media (min-width: 640px) {
  .po-auth-modal__handle {
    display: none;
  }
  .po-auth-modal__sheet {
    border-radius: 22px;
    padding: 10px 18px 18px;
  }
}

/* Account cabinet */
@media (max-width: 839px) {
  .po-app .po-account-grid {
    grid-template-columns: 1fr !important;
  }
}

.po-app .po-account-panel .po-field,
.po-app .po-account-panel input,
.po-app .po-account-panel .rounded-xl {
  border-color: rgba(242, 241, 238, 0.14) !important;
  background: rgba(8, 8, 10, 0.55) !important;
  color: #f2f1ee !important;
}
.po-app .po-account-panel h2,
.po-app .po-account-panel label,
.po-app .po-account-panel p {
  color: inherit;
}
.po-app .po-account-panel h2 {
  color: #f2f1ee !important;
}
.po-app .po-account-panel label,
.po-app .po-account-panel p {
  color: rgba(242, 241, 238, 0.62) !important;
}
.po-app .po-account-panel form {
  border-color: rgba(242, 241, 238, 0.12) !important;
  background: transparent !important;
}
