:root {
  --stone-bg-light: #cfc5b9;
  --stone-bg-mid: #b6aba0;
  --stone-bg-dark: #94897e;
  --gold-accent: #c9a66b;
  --gold-bright: #e5c384;
  --btn-red: #df3f36;
  --btn-green: #38b856;
  --plaque-navy: #12233d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 50% 35%, var(--stone-bg-light) 0%, var(--stone-bg-mid) 58%, var(--stone-bg-dark) 100%);
  color: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   STAGE 3-COLOANE PE DESKTOP
   ========================================================================== */
.experience-stage {
  display: grid;
  grid-template-columns: 330px minmax(380px, 440px) 320px;
  gap: 2.2rem;
  max-width: 1240px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  align-items: center;
  justify-content: center;
}

.sidebar-card {
  background: rgba(18, 16, 14, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(201, 166, 107, 0.35);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.sidebar-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.sidebar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.sidebar-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* LISTA CELOR 6 DOCTORI MVP */
.mvp-doctor-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mvp-doc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  color: #ffffff;
}

.mvp-doc-item:hover {
  background: rgba(201, 166, 107, 0.18);
  border-color: rgba(201, 166, 107, 0.5);
  transform: translateX(3px);
}

.mvp-doc-item.active {
  background: linear-gradient(135deg, rgba(201, 166, 107, 0.32), rgba(201, 166, 107, 0.12));
  border-color: var(--gold-bright);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.mvp-doc-thumb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 1.5px solid var(--gold-accent);
  flex-shrink: 0;
}

.mvp-doc-info {
  flex: 1;
  min-width: 0;
}

.mvp-doc-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mvp-doc-street {
  font-size: 0.72rem;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mvp-live-badge {
  font-size: 0.65rem;
  background: rgba(56, 184, 86, 0.22);
  color: #6ee7b7;
  border: 1px solid rgba(56, 184, 86, 0.45);
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  font-weight: 600;
}

.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0.95rem 0;
}

.all-streets-picker label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
}

.streets-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: 1px solid rgba(201, 166, 107, 0.4);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.sidebar-actions-bottom {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-glass-action {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.6rem 0.85rem;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-glass-action:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-accent);
}

.btn-gold-primary {
  width: 100%;
  background: linear-gradient(135deg, #d4af37 0%, #aa8220 100%);
  color: #0f141c;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: filter 0.15s;
}

.btn-gold-primary:hover {
  filter: brightness(1.08);
}

/* ==========================================================================
   TELEFONUL IPHONE 16 PRO
   ========================================================================== */
.phone-showcase-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone-pro-chassis {
  position: relative;
  width: 404px;
  height: 844px;
  border-radius: 62px;
  padding: 11px;
  background: linear-gradient(145deg, #4a4d52 0%, #1d1f22 35%, #2c2f33 70%, #141517 100%);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.55),
    0 10px 25px rgba(0, 0, 0, 0.35),
    inset 0 0 2px 1px rgba(255, 255, 255, 0.35);
}

.hw-btn {
  position: absolute;
  background: linear-gradient(to bottom, #3a3d42, #1b1c1f);
  border-radius: 3px;
}

.hw-silent { left: -3px; top: 145px; width: 3px; height: 28px; }
.hw-vol-up { left: -3px; top: 195px; width: 3px; height: 54px; }
.hw-vol-down { left: -3px; top: 262px; width: 3px; height: 54px; }
.hw-power { right: -3px; top: 215px; width: 3px; height: 78px; }

.iphone-inner-bezel {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 52px;
  padding: 3px;
  overflow: hidden;
  position: relative;
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 49px;
  overflow: hidden;
  background: #140f0b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

/* ==========================================================================
   PORTRETUL FOTOREALIST FULL-SCREEN (FAȚA COMPLECT LIBERĂ!)
   ========================================================================== */
.portrait-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #18120c;
}

.doctor-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center 28%;
  animation: portraitBreathe 9s ease-in-out infinite alternate;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.doctor-photo-img.speaking-active {
  animation: portraitSpeakLife 2.2s ease-in-out infinite alternate;
}

.doctor-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@keyframes portraitBreathe {
  0% { transform: scale(1) translateY(0px); }
  100% { transform: scale(1.03) translateY(-3px); }
}

@keyframes portraitSpeakLife {
  0% { transform: scale(1.012) translateY(0px); filter: brightness(1.02); }
  50% { transform: scale(1.034) translateY(-2px); filter: brightness(1.06); }
  100% { transform: scale(1.018) translateY(1px); filter: brightness(1.02); }
}

.fallback-portrait-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vigneta lasă 100% liberă jumătatea superioară (chipul doctorului) */
.cinematic-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.25) 0%,
    rgba(10, 8, 6, 0.0) 15%,
    rgba(10, 8, 6, 0.0) 52%,
    rgba(12, 9, 6, 0.62) 68%,
    rgba(10, 8, 6, 0.90) 84%,
    rgba(8, 6, 4, 0.97) 100%
  );
  pointer-events: none;
}

.speaking-wave-aura {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 36px rgba(212, 175, 55, 0.22);
  pointer-events: none;
  animation: auraPulse 1.4s infinite ease-in-out;
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.85; }
}

/* ==========================================================================
   STATUS BAR iOS, DYNAMIC ISLAND, URL PILL & LIMBĂ
   ========================================================================== */
.ios-status-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 26px 4px;
  color: #ffffff;
}

.ios-time {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  width: 54px;
}

.dynamic-island {
  width: 116px;
  height: 33px;
  background: #000000;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 11px;
  gap: 8px;
}

.di-camera {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #254078 0%, #0b132b 65%, #05070f 100%);
  border: 1px solid #1e293b;
}

.ios-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 66px;
  justify-content: flex-end;
}

.ios-battery {
  width: 23px;
  height: 11.5px;
  border: 1.4px solid rgba(255, 255, 255, 0.85);
  border-radius: 3.5px;
  padding: 1.5px;
  position: relative;
}

.ios-battery::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 2.8px;
  width: 1.8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0 1px 1px 0;
}

.ios-battery-level {
  width: 82%;
  height: 100%;
  background: #ffffff;
  border-radius: 1.5px;
}

.top-url-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: 3px;
}

.url-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 40, 36, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
}

.lang-selector-wrap {
  position: absolute;
  top: 82px;
  right: 18px;
  z-index: 20;
}

/* Pe Desktop este ascuns; apare DOAR pe mobil */
.mobile-quick-wrap {
  position: absolute;
  top: 82px;
  left: 18px;
  z-index: 20;
  display: none;
  gap: 6px;
}

/* Gate obligatoriu pe mobil pentru activare Full-Screen + Sonor */
.mobile-force-sound-gate {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: rgba(8, 6, 4, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.mobile-gate-card {
  background: rgba(24, 20, 16, 0.96);
  border: 1.5px solid var(--gold-accent);
  border-radius: 26px;
  padding: 28px 22px;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}

.mobile-gate-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
  animation: greenPulseRing 1.6s infinite;
  display: inline-block;
  border-radius: 50%;
}

.mobile-gate-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.mobile-gate-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
  line-height: 1.4;
}

.media-cache-badge {
  position: absolute;
  top: 120px;
  left: 18px;
  z-index: 19;
  background: rgba(16, 28, 22, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(110, 231, 183, 0.45);
  color: #a7f3d0;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  pointer-events: none;
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(38, 31, 25, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.95);
  padding: 5px 13px;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.94rem;
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: rgba(22, 18, 15, 0.96);
  border: 1px solid rgba(201, 166, 107, 0.45);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 130px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.lang-dropdown button {
  background: none;
  border: none;
  color: #f8fafc;
  padding: 9px 14px;
  text-align: left;
  font-size: 0.82rem;
  cursor: pointer;
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
  background: rgba(201, 166, 107, 0.25);
  color: var(--gold-bright);
}

/* ==========================================================================
   ZONA DE JOS: SUBTITRARE MICĂ SUB PIEPT + NUME + CONTROALE (FĂRĂ SĂ URCE PE FAȚĂ!)
   ========================================================================== */
.call-bottom-stack {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding: 0 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 46%;
  justify-content: flex-end;
}

/* Subtitrare mică și discretă, strict în treimea inferioară (pe haina închisă la culoare) */
.subtitles-compact-strip {
  width: 100%;
  background: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 166, 107, 0.32);
  border-radius: 12px;
  padding: 6px 11px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.subtitle-text-compact {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  color: #fef08a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.call-type-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(235, 228, 218, 0.86);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.video-cam-icon {
  opacity: 0.8;
}

.hero-doctor-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
  margin-bottom: 2px;
  transition: font-size 0.25s ease;
}

/* Când apelul este activ, micșorăm discret titlul ca subtitrarea să stea jos, departe de față */
.call-bottom-stack.in-active-call .hero-doctor-name {
  font-size: 1.75rem;
}

.call-bottom-stack.in-active-call .hero-doctor-years {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.call-bottom-stack.in-active-call .call-main-buttons {
  margin-bottom: 14px;
}

.hero-doctor-years {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.gold-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 110px;
  margin: 2px auto 8px;
}

.gold-line-left,
.gold-line-right {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

.gold-diamond {
  font-size: 0.45rem;
  color: var(--gold-bright);
}

.branding-titles {
  margin-bottom: 18px;
}

.branding-main {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(235, 226, 213, 0.88);
  letter-spacing: 0.03em;
}

.branding-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(214, 203, 188, 0.78);
}

/* Butoanele rotunde: Respinge (Roșu) și Răspunde (Verde) */
.call-main-buttons {
  display: flex;
  justify-content: center;
  gap: 68px;
  width: 100%;
  margin-bottom: 20px;
}

.call-btn-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.circle-action-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-red-decline {
  background: radial-gradient(circle at 35% 30%, #ef5349 0%, var(--btn-red) 70%, #c82d24 100%);
  box-shadow: 0 8px 24px rgba(223, 63, 54, 0.42);
}

.btn-green-accept {
  background: radial-gradient(circle at 35% 30%, #4cd96c 0%, var(--btn-green) 70%, #279842 100%);
  box-shadow: 0 8px 24px rgba(56, 184, 86, 0.45);
  animation: greenPulseRing 2s infinite;
}

@keyframes greenPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(56, 184, 86, 0.6), 0 8px 24px rgba(56, 184, 86, 0.45); }
  70% { box-shadow: 0 0 0 15px rgba(56, 184, 86, 0), 0 8px 24px rgba(56, 184, 86, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(56, 184, 86, 0), 0 8px 24px rgba(56, 184, 86, 0.45); }
}

.circle-action-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.call-btn-caption {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Bara de jos cu 3 pastile compacte: [ (i) Află mai multe ] | [ 💬 Întreabă ] | [ CC Subtitrări ] */
.bottom-glass-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.glass-pill-btn {
  flex: 1;
  height: 36px;
  background: rgba(28, 22, 18, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.71rem;
  font-weight: 500;
  padding: 0 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.glass-pill-btn:hover,
.glass-pill-btn.active-pill {
  background: rgba(201, 166, 107, 0.32);
  border-color: var(--gold-bright);
  color: #ffffff;
}

.info-circle-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.3px solid rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ask-bubble-icon {
  font-size: 0.78rem;
}

.cc-box-icon {
  border: 1.3px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  padding: 1px 3.5px;
  font-size: 0.58rem;
  font-weight: 700;
}

.pills-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.24);
  flex-shrink: 0;
}

.ios-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  z-index: 30;
}

/* ==========================================================================
   POP-UP MENU ÎNTREBĂRI AI (SE DESCHIDE DOAR LA CLICK PE „💬 ÎNTREABĂ”)
   ========================================================================== */
.questions-popup-sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 24px;
  background: rgba(16, 13, 10, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(201, 166, 107, 0.55);
  border-radius: 26px;
  padding: 14px;
  z-index: 28;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.65);
  animation: slideUpSheet 0.22s ease-out;
}

@keyframes slideUpSheet {
  from { transform: translateY(25px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.popup-ask-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.96rem;
  color: var(--gold-bright);
  font-weight: 600;
}

.quick-ask-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.ask-popup-option {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 166, 107, 0.32);
  color: #f8fafc;
  border-radius: 11px;
  padding: 8px 11px;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}

.ask-popup-option:hover {
  background: rgba(201, 166, 107, 0.25);
  border-color: var(--gold-bright);
}

.ask-input-bar {
  display: flex;
  gap: 6px;
  align-items: center;
}

.mic-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
}

.mic-circle-btn.listening {
  background: var(--btn-red);
  animation: greenPulseRing 1s infinite;
}

.ask-input-bar input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  font-size: 0.78rem;
}

.ask-input-bar input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.send-ask-btn {
  background: var(--gold-accent);
  color: #120e0a;
  border: none;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

/* Self-view PiP video */
.pip-self-video {
  position: absolute;
  top: 122px;
  right: 18px;
  width: 82px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  z-index: 18;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   SHEET INTERIOR „AFLĂ MAI MULTE”
   ========================================================================== */
.info-sheet-in-phone {
  position: absolute;
  inset: 78px 12px 22px 12px;
  background: rgba(15, 13, 11, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 166, 107, 0.45);
  border-radius: 28px;
  padding: 18px;
  z-index: 28;
  overflow-y: auto;
  color: #f8fafc;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sheet-street-badge {
  background: var(--plaque-navy);
  border: 1px solid var(--gold-accent);
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.sheet-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

.sheet-doc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.sheet-doc-spec {
  font-size: 0.78rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.sheet-section {
  font-size: 0.8rem;
  line-height: 1.48;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 12px;
}

.sheet-section strong {
  display: block;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.sheet-section blockquote {
  font-style: italic;
  color: #fde68a;
  border-left: 2px solid var(--gold-accent);
  padding-left: 8px;
}

/* ==========================================================================
   PANOU DREAPTA: PLĂCUȚA STRADALĂ & QR PREVIEW
   ========================================================================== */
.street-plaque-preview {
  background: var(--plaque-navy);
  border: 2px solid var(--gold-accent);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.plaque-mini-top {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  font-weight: 700;
}

.plaque-mini-street {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.15rem 0;
}

.plaque-mini-doc {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.qr-box-white {
  background: #ffffff;
  display: inline-block;
  padding: 8px;
  border-radius: 10px;
  border: 2px solid var(--gold-accent);
}

.plaque-mini-cta {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  color: #86efac;
  font-weight: 600;
}

.qr-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* ==========================================================================
   MODALE CATALOG COMPLET & SETĂRI
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-window {
  background: #181614;
  border: 1px solid rgba(201, 166, 107, 0.45);
  border-radius: 24px;
  width: 100%;
  max-width: 1020px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-small {
  max-width: 520px;
}

.modal-medium {
  max-width: 680px;
}

.settings-section-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.settings-sec-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.voice-picker-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
}

.settings-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(201, 166, 107, 0.4);
  color: #ffffff;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-size: 0.82rem;
}

.cache-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.media-gen-status {
  margin-top: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: rgba(201, 166, 107, 0.16);
  border: 1px solid rgba(201, 166, 107, 0.45);
  font-size: 0.78rem;
  color: #fde68a;
}

.modal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.modal-top-bar h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
}

.modal-top-bar p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
}

.modal-close-x {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.modal-search-row {
  margin-bottom: 1rem;
}

.modal-search-row input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 166, 107, 0.4);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.full-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1rem;
}

.catalog-item-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.catalog-item-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gold-bright);
  font-size: 1rem;
}

.catalog-item-card .cat-doc-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.catalog-item-card p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.catalog-item-card button {
  margin-top: auto;
  background: var(--btn-green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

.modal-helper-text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.modal-form-group {
  margin-bottom: 0.9rem;
}

.modal-form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  color: var(--gold-bright);
}

.modal-form-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
}

.checkbox-row-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  line-height: 1.35;
}

.checkbox-row-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--gold-bright);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   LAYOUT DESKTOP (3 COLOANE CU SETĂRI & QR) vs MOBIL (FULL SCREEN OBLIGATORIU)
   ========================================================================== */
@media (max-width: 1080px) {
  .experience-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
  }
  .mvp-sidebar-left,
  .mvp-sidebar-right {
    width: 100%;
    max-width: 420px;
  }
  .phone-showcase-center {
    order: -1;
  }
}

/* DOAR PE TELEFONUL MOBIL: FULL SCREEN OBLIGATORIU */
@media (max-width: 680px) {
  body {
    background: #000000;
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
  }
  .experience-stage {
    padding: 0;
    gap: 0;
    max-width: none;
    min-height: 100dvh;
    height: 100dvh;
    display: block;
  }
  .mvp-sidebar-left,
  .mvp-sidebar-right {
    display: none !important;
  }
  .phone-showcase-center,
  .iphone-pro-chassis,
  .iphone-inner-bezel,
  .iphone-screen {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    background: #000000;
  }
  .hw-btn,
  .dynamic-island,
  .top-url-bar {
    display: none;
  }
  .ios-status-bar {
    padding: max(10px, env(safe-area-inset-top, 10px)) 20px 4px;
  }
  .mobile-quick-wrap {
    display: flex;
    top: max(40px, calc(env(safe-area-inset-top, 12px) + 28px));
    left: 16px;
  }
  .lang-selector-wrap {
    top: max(40px, calc(env(safe-area-inset-top, 12px) + 28px));
    right: 16px;
  }
  .media-cache-badge {
    top: max(80px, calc(env(safe-area-inset-top, 12px) + 68px));
    left: 16px;
  }
  .voice-picker-grid,
  .cache-actions-row {
    grid-template-columns: 1fr;
  }
}

/* Visitor experience and the local production workshop share the same artwork. */
body:not(.admin-mode) :is(#btnOpenSettingsModal, #btnMobileOpenSettings, #btnQuickUploadMp3, #btnQuickUploadMp4, #btnQuickGenerateVideo) {
  display: none;
}
.admin-entry { color: #dac39d; font-size: .72rem; text-align: center; padding: .5rem; }
.experience-notice { color: #eee4d4; font-size: .65rem; line-height: 1.45; text-align: center; max-width: 90%; margin: 0 auto .55rem; }
.editorial-note { color: #d8c8ad; font-size: .8rem; line-height: 1.6; margin-top: 1rem; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #f5ce83; outline-offset: 4px; }
button:disabled { opacity: .4; cursor: default; }
.sheet-close-btn, .modal-close-x, .mic-ask-btn { min-width: 44px; min-height: 44px; }
.modal-window { overscroll-behavior: contain; }
.admin-mode .admin-entry { display: none; }
@media (min-width: 681px) and (max-width: 1080px) {
  .experience-stage { grid-template-columns: minmax(270px, 330px) minmax(340px, 420px); gap: 1rem; align-items: center; }
  .phone-showcase-center { order: 0; }
  .mvp-sidebar-right { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .call-bottom-stack { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .experience-notice { font-size: .66rem; }
  .modal-window { max-height: 90dvh; }
}
@media (max-height: 700px) and (max-width: 680px) {
  .hero-doctor-name { font-size: 1.5rem; }
  .circle-action-btn { width: 56px; height: 56px; }
  .experience-notice { margin-bottom: .15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

body:not(.local-tools) .admin-entry { display: none; }

.portrait-initials { display: grid; place-items: center; background: #493b2b; color: #ecd5af; border: 1px solid #bb9b68; font-family: Georgia, serif; flex-shrink: 0; }

body.desktop-handoff { display: grid; place-items: center; padding: 2rem; min-height: 100dvh; }
.desktop-handoff .experience-stage { display: none; }
.desktop-handoff-card { width: min(100%, 500px); padding: 2.5rem; text-align: center; border: 1px solid #bda16f; border-radius: 28px; background: #29241f; box-shadow: 0 24px 70px #0003; }
.desktop-handoff-card h1 { font: 600 2.4rem/1.15 'Playfair Display', Georgia, serif; margin: 1rem 0; color: #fff4df; }
.desktop-handoff-card p { line-height: 1.6; margin-bottom: 1rem; color: #dfd2bf; }
.desktop-handoff-card canvas { border: 16px solid white; border-radius: 10px; max-width: 100%; margin-bottom: 1rem; }
.desktop-handoff-card .handoff-url { font-size: .8rem; overflow-wrap: anywhere; }
.desktop-handoff-card small { display: block; color: #bba98d; line-height: 1.5; margin-top: 1.5rem; }

/* Client preview contains only the four recorded monologues. */
.demo-mode :is(#btnQuestionsPopupToggle, #questionsPopupSheet, #micAskBtn, #btnToggleSelfCam, .lang-selector-wrap, .pills-divider, .video-cam-icon) { display: none !important; }
.demo-mode #btnDemoVideoToggle[aria-pressed="true"] { border-color: #e5c384; color: #f9dc9e; background: #72553077; }
.demo-mode .bottom-glass-pills { flex-wrap: wrap; }

/* Each shared demo link is a single, immersive call. */
.demo-mode :is(.mobile-quick-wrap, #mobileDoctorsSheet, #btnMoreInfo, #btnSubtitlesToggle, #subtitlesOverlay, #infoSheetInPhone, .ios-status-bar, .ios-home-indicator, .media-cache-badge) { display: none !important; }
.demo-mode:not(.demo-has-video) .bottom-glass-pills { display: none; }
.demo-mode .bottom-glass-pills:has(#btnDemoVideoToggle:not(.hidden)) { display: flex; }
.ringtone-unlock { position: absolute; z-index: 30; top: max(20px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); border: 1px solid #e4c48499; border-radius: 999px; padding: 12px 20px; color: #fff1d5; background: #20190edb; font: 500 .85rem 'Inter', sans-serif; cursor: pointer; white-space: nowrap; backdrop-filter: blur(12px); }
body.phone-demo { position: fixed; inset: 0; width: 100%; height: 100dvh; overflow: hidden; background: #080604; }
.phone-demo .experience-stage { display: block; width: 100%; min-height: 100dvh; height: 100dvh; max-width: none; padding: 0; margin: 0; }
.phone-demo :is(.mvp-sidebar-left, .mvp-sidebar-right, .hw-btn, .top-url-bar) { display: none !important; }
.phone-demo :is(.phone-showcase-center, .iphone-pro-chassis, .iphone-inner-bezel, .iphone-screen) { width: 100%; height: 100dvh; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.phone-demo .call-bottom-stack { width: 100%; max-height: none; padding: 0 20px max(28px, calc(env(safe-area-inset-bottom) + 16px)); }
.phone-demo .bottom-glass-pills { margin-top: 18px; }
@media (orientation: landscape) and (max-height: 550px) {
  .phone-demo .call-bottom-stack { max-width: 55%; align-self: flex-end; padding: 16px 24px; }
  .phone-demo :is(.branding-titles, .gold-ornament-divider, .hero-doctor-years) { display: none; }
  .phone-demo .hero-doctor-name { font-size: 1.5rem; }
  .phone-demo .circle-action-btn { width: 56px; height: 56px; }
}
