/* =========================================================
   OPENING-SOON POPUP
   Temporary promo — not tied to cookie consent (no tracking,
   just a static informational popup). Remove this file,
   opening-soon.js, and the two <link>/<script> tags on each
   page once the clinic has actually opened.
   ========================================================= */
.os-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(17, 24, 30, 0.55);
  animation: os-fade 0.2s ease;
}

.os-overlay[hidden] { display: none; }

.os-modal {
  position: fixed;
  inset: 0;
  z-index: 301;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  animation: os-fade 0.2s ease;
}

.os-modal[hidden] { display: none; }

.os-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-7);
  text-align: center;
}

.os-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-ink-soft);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.os-close:hover { background: rgba(var(--color-ink-rgb), 0.06); color: var(--color-ink); }
.os-close:focus-visible { outline: 3px solid var(--color-primary-dark); outline-offset: 2px; }

.os-emoji {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
}

.os-panel h2 { margin-bottom: var(--space-3); }
.os-panel p:not(.os-emoji) { margin-bottom: var(--space-5); color: var(--color-ink-soft); }

.os-cta { display: inline-block; }

@keyframes os-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .os-overlay, .os-modal { animation: none; }
}

@media (max-width: 480px) {
  .os-panel { padding: var(--space-6); }
}
