﻿/* ═══ BUNDLED CSS — All components ═══ */

/* ── variables.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   TOPALĂ C&C TRAVEL — DESIGN SYSTEM TOKENS
   Variables & Theme Engine
   © 2025 TSV Consulting — tsvconsulting.ro
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Palette — Gold (Brand Accent) ──────────────────────── */
  --gold-h: 30;
  --gold-s: 35%;
  --gold-l: 64%;
  --gold:       hsl(var(--gold-h), var(--gold-s), var(--gold-l));
  --gold-l-val: hsl(var(--gold-h), var(--gold-s), 72%);
  --gold-dim:   hsla(var(--gold-h), var(--gold-s), var(--gold-l), .55);
  --gold-faint: hsla(var(--gold-h), var(--gold-s), var(--gold-l), .10);

  /* ── Glassmorphism ──────────────────────────────────────── */
  --glass-blur:     16px;
  --glass-bg:       rgba(10, 10, 10, .55);
  --glass-border:   rgba(255, 255, 255, .08);
  --glass-shadow:   0 8px 32px rgba(0, 0, 0, .35);

  /* ── Timing ─────────────────────────────────────────────── */
  --ease-out-expo:  cubic-bezier(.16, 1, .3, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --dur-fast:       .18s;
  --dur-base:       .3s;
  --dur-slow:       .5s;
  --dur-xslow:      .8s;

  /* ── Spacing Scale (8px base) ───────────────────────────── */
  --sp-1: .25rem;   /* 4px  */
  --sp-2: .5rem;    /* 8px  */
  --sp-3: .75rem;   /* 12px */
  --sp-4: 1rem;     /* 16px */
  --sp-5: 1.5rem;   /* 24px */
  --sp-6: 2rem;     /* 32px */
  --sp-7: 3rem;     /* 48px */
  --sp-8: 4rem;     /* 64px */

  /* ── Typography Scale ───────────────────────────────────── */
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs:   .6rem;
  --fs-sm:   .72rem;
  --fs-base: .82rem;
  --fs-md:   1rem;
  --fs-lg:   1.15rem;
  --fs-xl:   clamp(2.4rem, 6.5vw, 4.6rem);

  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;

  --ls-tight:  .02em;
  --ls-base:   .06em;
  --ls-wide:   .18em;
  --ls-xwide:  .26em;
  --ls-ultra:  .42em;

  /* ── Z-Index Map ────────────────────────────────────────── */
  --z-video:   0;
  --z-content: 10;
  --z-header:  20;
  --z-overlay: 100;
  --z-chat:    300;
  --z-cookie:  400;
  --z-modal:   500;

  /* ── Border Radius ──────────────────────────────────────── */
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;
}

/* ═══════════════════════════════════════════════════════════════
   DARK THEME (Default)
   ═══════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg:           #0A0A0A;
  --bg2:          #0f0f0f;
  --bg3:          #161616;
  --bg-elevated:  rgba(22, 22, 22, .88);

  --text:         #F0F0F0;
  --text-dim:     #FFFFFF;

  --border:       rgba(255, 255, 255, .10);
  --border-mid:   rgba(255, 255, 255, .18);
  --border-strong:rgba(255, 255, 255, .30);

  /* Gold overrides for dark: clean monochrome elegance */
  --gold:         #E8E8E8;
  --gold-l-val:   #FFFFFF;
  --gold-dim:     rgba(240, 240, 240, .85);
  --gold-faint:   rgba(255, 255, 255, .06);

  --logo-filter:  brightness(0) invert(1);

  /* Glass overrides */
  --glass-bg:     rgba(10, 10, 10, .60);
  --glass-border: rgba(255, 255, 255, .08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, .45);

  /* Button specifics */
  --btn-gold-bg:       #F0F0F0;
  --btn-gold-color:    #0A0A0A;
  --btn-gold-border:   #F0F0F0;
  --btn-gold-hover-bg: #FFFFFF;

  /* Scroll hint */
  --scroll-color: var(--gold);

  /* Header gradient */
  --header-gradient: linear-gradient(
    to bottom,
    rgba(10, 10, 10, .92) 0%,
    transparent 100%
  );

  /* Text stroke (character outline for readability) */
  --text-stroke-width: 0.5px;
  --text-stroke-color: rgba(0, 0, 0, .85);

  /* Hero text shadow — heavy multi-directional for readability over video */
  --hero-text-shadow:
    0 0 6px  rgba(0,0,0,1),
    0 0 12px rgba(0,0,0,.9),
    0 0 20px rgba(0,0,0,.6),
    1px  1px 0 rgba(0,0,0,.95),
   -1px -1px 0 rgba(0,0,0,.95),
    1px -1px 0 rgba(0,0,0,.95),
   -1px  1px 0 rgba(0,0,0,.95),
    2px  0   0 rgba(0,0,0,.7),
   -2px  0   0 rgba(0,0,0,.7),
    0    2px 0 rgba(0,0,0,.7),
    0   -2px 0 rgba(0,0,0,.7);
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg:           #F0EDE8;
  --bg2:          #E8E4DE;
  --bg3:          #DDD8D0;
  --bg-elevated:  rgba(232, 228, 222, .88);

  --text:         #000000;
  --text-dim:     #000000;

  --border:       rgba(26, 16, 8, .10);
  --border-mid:   rgba(26, 16, 8, .18);
  --border-strong:rgba(26, 16, 8, .30);

  --gold:         #000000;
  --gold-l-val:   #1A1008;
  --gold-dim:     rgba(0, 0, 0, .85);
  --gold-faint:   rgba(26, 16, 8, .06);

  --logo-filter:  brightness(0) saturate(0);

  /* Glass overrides */
  --glass-bg:     rgba(240, 237, 232, .65);
  --glass-border: rgba(26, 16, 8, .08);
  --glass-shadow: 0 8px 32px rgba(26, 16, 8, .12);

  /* Button specifics */
  --btn-gold-bg:       #1A1008;
  --btn-gold-color:    #F0EDE8;
  --btn-gold-border:   #1A1008;
  --btn-gold-hover-bg: #2C1E0E;

  /* Scroll hint */
  --scroll-color: var(--gold);

  /* Header gradient */
  --header-gradient: linear-gradient(
    to bottom,
    rgba(245, 236, 215, .95) 0%,
    transparent 100%
  );

  /* Text stroke — WHITE outline for contrast on black text */
  --text-stroke-width: 0.6px;
  --text-stroke-color: rgba(255, 255, 255, .9);

  /* Hero text shadow — WHITE halo for black text over light video */
  --hero-text-shadow:
    0 0 6px  rgba(255,255,255,1),
    0 0 14px rgba(255,255,255,.95),
    0 0 24px rgba(255,255,255,.7),
    1px  1px 0 rgba(255,255,255,1),
   -1px -1px 0 rgba(255,255,255,1),
    1px -1px 0 rgba(255,255,255,1),
   -1px  1px 0 rgba(255,255,255,1),
    2px  0   0 rgba(255,255,255,.8),
   -2px  0   0 rgba(255,255,255,.8),
    0    2px 0 rgba(255,255,255,.8),
    0   -2px 0 rgba(255,255,255,.8);
}


/* ── base.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   TOPALĂ C&C TRAVEL — BASE RESET & TYPOGRAPHY
   © 2025 TSV Consulting
   ═══════════════════════════════════════════════════════════════ */

/* ── Universal Reset ──────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Document ─────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-weight: var(--fw-light);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition:
    background var(--dur-base) var(--ease-out-expo),
    color      var(--dur-base) var(--ease-out-expo);
}

/* ── Links ────────────────────────────────────────────────── */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast);
}

/* ── Images ───────────────────────────────────────────────── */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Lists ────────────────────────────────────────────────── */
ul, ol {
  list-style: none;
}

/* ── Buttons ──────────────────────────────────────────────── */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ── Focus Visible ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── Selection ────────────────────────────────────────────── */
::selection {
  background: var(--gold-faint);
  color: var(--gold);
}

/* ── Scrollbar (Webkit) ───────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dim);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-mid) transparent;
}

/* ── Typography Helpers ───────────────────────────────────── */
.serif {
  font-family: var(--ff-serif);
}

.text-dim {
  color: var(--text-dim);
}

.text-gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
}

/* ── Ornament Separator ───────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-6);
  opacity: .22;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: var(--gold);
}

.diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ── Entrance Animations ──────────────────────────────────── */
.a0, .a1, .a2, .a3, .a4 {
  opacity: 0;
  transform: translateY(18px);
  animation: rise var(--dur-xslow) var(--ease-out-expo) forwards;
}

.a0 { animation-delay: .15s; }
.a1 { animation-delay: .4s;  }
.a2 { animation-delay: .65s; }
.a3 { animation-delay: .9s;  }
.a4 { animation-delay: 1.1s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Pulse animation (reusable) ───────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1);  }
  50%      { opacity: .5; transform: scale(.8); }
}

/* ── Accessibility: Reduced Motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* ── Container Stacking Context ───────────────────────────── */
main {
  position: relative;
  z-index: var(--z-content);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* ── Mobile Overrides: Disable Animations to prevent hit-test desync ── */
@media (max-width: 600px) {
  .a0, .a1, .a2, .a3, .a4 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}




/* ── header.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   HEADER — Transparent Gradient Navigation
   3-column: [PWA Install] — [Logo] — [Theme Toggle]
   ═══════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;

  /* Gradient transparent — fără glassmorphism, fără border, fără shadow */
  background: var(--header-gradient);
  border: none;
  box-shadow: none;

  transition: background var(--dur-base);
}

/* ── Logo (Centered) ─────────────────────────────────────── */
.logo {
  display: block;
  line-height: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  height: 68px;
  width: auto;
  display: block;
  filter: var(--logo-filter);
  opacity: .9;
  transition: opacity var(--dur-fast), transform var(--dur-base);
}

.logo:hover img {
  opacity: 1;
  transform: scale(1.02);
}

/* ── PWA Install Button (Left) ────────────────────────────── */
.header-icon-btn {
  background: none;
  border: 1px solid var(--border-mid);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-dim);
  transition: all var(--dur-fast);
  flex-shrink: 0;
}

.header-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-faint);
}

.header-icon-btn svg {
  width: 16px;
  height: 16px;
}

/* ── Theme Toggle Button (Right) ─────────────────────────── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-mid);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-dim);
  transition: all var(--dur-fast);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-faint);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--dur-base) var(--ease-out-expo);
}

/* Icon visibility by theme */
.icon-sun  { display: none;  }
.icon-moon { display: block; }

[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none;  }

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header {
    padding: 1rem 1.4rem;
  }

  .logo img {
    height: 38px;
  }
}


/* ── hero.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   HERO — Full-screen Video Section
   ═══════════════════════════════════════════════════════════════ */

/* ── Video Background Container ───────────────────────────── */
.video-wrapper {
  position: fixed;
  inset: 0;
  z-index: var(--z-video);
  overflow: hidden;
  pointer-events: none;
}

.video-wrapper video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: opacity 1.2s var(--ease-out-expo);
  pointer-events: none !important;
}

.video-wrapper video.video-hidden {
  opacity: 0;
}

.video-wrapper video.video-active {
  opacity: 1;
}

/* ── Replay Button — Always Visible ────────────────────────── */
.replay-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-overlay);   /* 100 — sub cookie bar (400), sub chat (300) */

  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
          backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  color: var(--gold-dim);
  padding: .45rem 1.4rem;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .5s ease, color var(--dur-fast),
              border-color var(--dur-fast), background var(--dur-fast);
  text-shadow: var(--hero-text-shadow);
}

.replay-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-faint);
  transform: translateX(-50%) scale(1.05);
}

.replay-btn:active {
  transform: translateX(-50%) scale(.95);
}

/* Hidden state — JS removes this class after popup sequence */
.replay-btn--hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Hero Section — Desktop: Two-Column Grid ──────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  padding: 5.5rem var(--sp-6) var(--sp-6);
  position: relative;
  z-index: var(--z-content);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Desktop: two columns — routes left, content right */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: auto 1fr;
    gap: 0 var(--sp-7);
    padding: 0 var(--sp-7);
    align-items: center;
    justify-items: start;
  }
}

/* ── Hero Copy Block ──────────────────────────────────────── */
.hero-copy {
  text-align: center;
  max-width: 680px;
  position: relative;
  z-index: var(--z-content);
  padding: 2.5rem var(--sp-6);
}

/* Desktop: shift content slightly above center */
@media (min-width: 900px) {
  .hero-copy {
    text-align: left;
    margin-top: -2rem;
    justify-self: start;
    padding-left: 0;
  }
}

/* Text shadow + stroke for maximum readability over video */
.hero-copy h1,
.hero-copy h1 em,
.hero-copy .eyebrow,
.hero-copy .sub {
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

/* Routes also get readability treatment */
.hero-routes .routes-list li {
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

/* Scroll hint also needs readability */
.scroll-hint span {
  text-shadow: var(--hero-text-shadow);
}

/* ── Eyebrow ──────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-ultra);
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

@media (min-width: 900px) {
  .eyebrow {
    justify-content: flex-start;
  }
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold-dim);
  opacity: .6;
}

/* ── Main Heading ─────────────────────────────────────────── */
h1 {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: .4rem;
}

h1 em {
  color: var(--gold);
  font-style: italic;
}

/* ── Subtitle ─────────────────────────────────────────────── */
.sub {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wide);
  color: var(--text-dim);
  margin: .7rem 0 2.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   ROUTES SIDEBAR — Left Column (Desktop Vertical)
   ═══════════════════════════════════════════════════════════════ */

.hero-routes {
  display: none;  /* Hidden on mobile by default */
}

@media (min-width: 900px) {
  .hero-routes {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    align-self: center;
    margin-top: -2rem;
    padding-left: var(--sp-6);
  }
}

/* Decorative vertical accent line */
.routes-marker {
  width: 1.5px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold-dim) 15%,
    var(--gold) 50%,
    var(--gold-dim) 85%,
    transparent
  );
  border-radius: 1px;
  flex-shrink: 0;
  opacity: .6;
}

.routes-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  list-style: none;
}

.routes-list li {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  color: var(--text-dim);
  letter-spacing: var(--ls-base);
  transition: color var(--dur-fast), transform var(--dur-fast), letter-spacing var(--dur-fast);
  cursor: default;
  white-space: nowrap;
}

.routes-list li:hover {
  color: var(--gold);
  transform: translateX(4px);
  letter-spacing: .15em;
}

.routes-list .retur {
  color: var(--gold-dim);
  font-style: italic;
  font-size: var(--fs-sm);
}

/* ── Inner wrapper: stacks routes + ozana vertically ──────── */
.hero-routes-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ═══════════════════════════════════════════════════════════════
   OZANA INLINE — Sidebar Agent Info (Desktop)
   ═══════════════════════════════════════════════════════════════ */

.ozana-inline {
  margin-top: 1.6rem;
  text-align: left;
}

.ozana-divider {
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
  opacity: .4;
  margin-bottom: .8rem;
}

.ozana-inline .ozana-label {
  font-size: .55rem;
  letter-spacing: var(--ls-ultra);
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: .5rem;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

.ozana-text-sm {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: .4rem;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

.ozana-instruction-sm {
  font-family: var(--ff-serif);
  font-size: var(--fs-xs);
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--gold);
  margin-bottom: .3rem;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
  animation: nudge 2.5s ease-in-out infinite;
}

.ozana-inline .ozana-status {
  font-size: .5rem;
  letter-spacing: .1em;
  color: var(--gold-dim);
  opacity: .7;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

.ozana-inline .ozana-dot {
  width: 5px;
  height: 5px;
}

/* ── CTA Row — Desktop Left-Aligned ──────────────────────── */
@media (min-width: 900px) {
  .cta-row {
    justify-content: flex-start;
  }
}

/* ── Scroll Hint ──────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  opacity: .3;
  animation: bob 2.2s ease-in-out infinite;
  pointer-events: none;
}

.scroll-hint span {
  font-size: .55rem;
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--scroll-color);
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--scroll-color), transparent);
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  html, body {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    width: 100%;
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    padding: 5rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
    width: 100%;
    gap: .5rem;
  }

  /* Title spacing */
  h1 {
    font-size: 2.1rem;
    margin-bottom: .2rem;
    margin-top: .4rem;
  }

  /* Subtitle: clean 2-line break, tighter spacing */
  .sub {
    font-size: .82rem;
    line-height: 1.45;
    margin: .2rem 0 1rem;
    color: rgba(255, 255, 255, .8);
  }

  /* Scroll hint: hide on mobile */
  .scroll-hint {
    display: none;
  }

  /* Hide replay btn on mobile */
  .replay-btn {
    display: none;
  }
}



/* ── buttons.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   BUTTONS — CTA, WhatsApp, Ghost, Gold
   ═══════════════════════════════════════════════════════════════ */

/* ── CTA Row ──────────────────────────────────────────────── */
.cta-row {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  width: 100%;
}

/* ── Base Button — Pill Shape ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 2rem;
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: var(--ls-xwide);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px; /* Pill Shape */
  border: 1.5px solid rgba(255, 255, 255, .4);
  background: transparent !important; /* 100% Transparent */
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  color: var(--text);
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-fast) var(--ease-out-expo);
}

/* Shimmer effect on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, .15),
    transparent
  );
  transition: left .6s var(--ease-out-expo);
  pointer-events: none;
}

.btn:hover::after {
  left: 120%;
}

/* ── Gold (Primary — Outline Pill 100% Transparent) ───────── */
.btn-gold {
  background: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .4) !important;
}

.btn-gold:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: rgba(255, 255, 255, .08) !important;
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(1px);
}

/* ── Ghost (Outline Pill 100% Transparent) ────────────────── */
.btn-ghost {
  background: transparent !important;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .4);
}

.btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .1) !important;
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(1px);
}

/* ── WhatsApp (Green Pill 100% Transparent) ───────────────── */
.btn-wa {
  --wa-green: #39ff14;
  background: transparent !important;
  color: var(--wa-green);
  border-color: rgba(57, 255, 20, .6);
}

.btn-wa:hover {
  background: rgba(57, 255, 20, .1) !important;
  border-color: var(--wa-green);
  transform: translateY(-2px);
}

.btn-wa:active {
  transform: translateY(1px);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    padding: 0 .2rem;
    margin-bottom: .6rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: .75rem 1.2rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .2em;
    border-radius: 9999px;
  }
}

/* ── Desktop: Rezervă on separate line below WhatsApp+Sună ── */
@media (min-width: 900px) {
  .cta-row .btn-wa,
  .cta-row .btn-ghost {
    order: 1;
  }
  .cta-row::before {
    content: '';
    flex-basis: 100%;
    height: 0;
    order: 2;
  }
  .cta-row .btn-gold {
    order: 3;
  }
}

/* ── Ozana Mobile Inline (below buttons, aligned at bottom) ── */
.ozana-mobile-inline {
  display: none;
}

@media (max-width: 600px) {
  .ozana-mobile-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    text-align: center;
    padding: 0 0 .5rem 0;
    margin-top: auto;
  }

  .ozana-mobile-inline .ozana-label {
    font-family: var(--ff-sans);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    margin-bottom: .1rem;
  }

  .ozana-mobile-inline .ozana-text-sm {
    font-family: var(--ff-serif);
    font-size: .78rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, .7);
    line-height: 1.35;
  }

  .ozana-mobile-inline .ozana-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--ff-sans);
    font-size: .65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    margin-top: .2rem;
  }

  .ozana-mobile-inline .ozana-status .ozana-dot {
    width: 6px;
    height: 6px;
    background: #39ff14;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(57, 255, 20, .6);
  }
}

@keyframes arrowNudgeSE {
  0%, 100% { transform: translate(0, 0); opacity: .3; }
  50%      { transform: translate(8px, 4px); opacity: .8; }
}

/* ── Light Theme Mobile: contrast fixes ───────────────────── */
@media (max-width: 600px) {
  [data-theme="light"] .ozana-mobile-inline .ozana-label,
  [data-theme="light"] .ozana-mobile-inline .ozana-text-sm,
  [data-theme="light"] .ozana-mobile-inline .ozana-status {
    color: #000000 !important;
    font-weight: 700 !important;
    text-shadow:
      0 0 8px #ffffff,
      0 0 16px #ffffff,
      0 0 24px #ffffff,
      0 1px 2px rgba(255, 255, 255, 0.9) !important;
  }

  [data-theme="light"] .btn {
    text-shadow:
      0 0 8px rgba(255, 255, 255, .7),
      0 1px 3px rgba(0, 0, 0, .25);
  }

  [data-theme="light"] .btn-wa {
    text-shadow:
      0 0 8px rgba(255, 255, 255, .7),
      0 1px 3px rgba(0, 0, 0, .2);
  }
}

/* pointer-events garantat — nu atinge designul */
.btn {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255,255,255,0.08);
}


/* ── chat.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   OZANA CHAT WIDGET — Glassmorphism Panel
   Designed for 100+ concurrent connections (Incandescent Memory)
   ═══════════════════════════════════════════════════════════════ */

/* ── Bubble Container ─────────────────────────────────────── */
/* CRITICAL: pointer-events: none on the container prevents it from
   acting as an invisible overlay that blocks touch events on mobile.
   The hidden .chat-panel (opacity:0) still occupies layout space,
   making this container span nearly the full viewport on mobile,
   which at z-index 300 would intercept all touches above the CTA buttons. */
.chat-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-chat);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
  pointer-events: none;
}

/* ── Chat Panel (Glassmorphism) ────────────────────────────── */
.chat-panel {
  width: 360px;
  max-height: 520px;

  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
          backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);

  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Initial hidden state */
  transform: scale(.92) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dur-base) var(--ease-out-expo),
    opacity   var(--dur-base) var(--ease-out-expo);
}

.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ── Chat Header ──────────────────────────────────────────── */
.chat-header {
  padding: .9rem 1.1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .7rem;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gold-faint);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
}

/* Online pulse indicator */
.chat-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #5cba5c;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-elevated);
  animation: pulse 2s ease-in-out infinite;
}

.chat-header-info {
  flex: 1;
  min-width: 0;
}

.chat-name {
  font-size: .78rem;
  font-weight: var(--fw-semi);
  letter-spacing: .1em;
  color: var(--text);
}

.chat-role {
  font-size: var(--fs-xs);
  color: var(--gold-dim);
  letter-spacing: .08em;
}

.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast);
}

.chat-close:hover {
  color: var(--text);
  background: var(--gold-faint);
}

/* ── Connection Status Badge ──────────────────────────────── */
.chat-connection-status {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .8rem;
  background: var(--gold-faint);
  font-size: .55rem;
  letter-spacing: .1em;
  color: var(--gold-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.chat-connection-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: #5cba5c;
  animation: pulse 2s ease-in-out infinite;
}

.chat-connection-dot.disconnected {
  background: #e74c3c;
  animation: none;
}

.chat-connection-dot.connecting {
  background: #f39c12;
  animation: pulse 1s ease-in-out infinite;
}

/* ── Quick Replies (Chips) ────────────────────────────────── */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .6rem .9rem;
  border-bottom: 1px solid var(--border);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .7rem;
  background: var(--gold-faint);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--ff-sans);
  font-size: .65rem;
  font-weight: var(--fw-medium);
  letter-spacing: .05em;
  color: var(--gold-dim);
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 255, 255, .04);
  transform: translateY(-1px);
}

.chip:active {
  transform: translateY(0);
}

.chip svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Chat Action Buttons ──────────────────────────────────── */
.chat-actions {
  display: flex;
  gap: .4rem;
  padding: .4rem .7rem 0;
}

.chat-action-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--gold-dim);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
  flex-shrink: 0;
}

.chat-action-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-faint);
  transform: scale(1.08);
}

.chat-action-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ── Chat Messages ────────────────────────────────────────── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* ── Message Bubbles ──────────────────────────────────────── */
.msg {
  max-width: 85%;
  padding: .65rem 1rem;
  font-size: .78rem;
  font-weight: var(--fw-light);
  line-height: 1.55;
  letter-spacing: var(--ls-tight);
  border-radius: var(--radius-md);
  animation: msgIn var(--dur-base) var(--ease-out-expo);
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.msg-agent {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-sm);
}

.msg-user {
  background: var(--gold-faint);
  border: 1px solid rgba(196, 168, 130, .15);
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-sm);
}

/* Typing indicator animation */
.msg-typing {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .7rem 1rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--gold-dim);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40%           { transform: translateY(-6px); opacity: 1; }
}

/* ── Chat Input Row ───────────────────────────────────────── */
.chat-input-row {
  display: flex;
  gap: .5rem;
  padding: .7rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.chat-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .55rem .8rem;
  font-family: var(--ff-sans);
  font-size: .75rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.chat-input:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px var(--gold-faint);
}

.chat-input::placeholder {
  color: var(--text-dim);
}

.chat-send {
  background: var(--btn-gold-bg);
  color: var(--btn-gold-color);
  border: none;
  border-radius: var(--radius-md);
  padding: .55rem 1rem;
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: var(--fw-semi);
  letter-spacing: .1em;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.chat-send:hover {
  background: var(--btn-gold-hover-bg);
}

.chat-send:active {
  transform: scale(.96);
}

/* ── FAB Toggle Button — Premium Geometric Icon ───────────── */
/* Design: Transparent, double-diamond frame with accent stroke.
   Symbolism: ◇ diamond = value/precision
              ⟐ double frame = duality, connection
              ╱ accent line = direction, route, journey           */
.chat-btn {
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  transition: all var(--dur-base) var(--ease-out-expo);
  pointer-events: auto; /* Re-enable: parent .chat-bubble is pointer-events:none */
}

.chat-btn:hover {
  transform: scale(1.06);
}

.chat-btn:active {
  transform: scale(.94);
}

/* The SVG icon — all strokes, no fills + 60 BPM heartbeat */
.chat-btn svg {
  width: 50px;
  height: 50px;
  overflow: visible;
  transition: all var(--dur-base) var(--ease-out-expo);
  animation: fabHeartbeat 1s ease-in-out infinite;
}

@keyframes fabHeartbeat {
  0%, 60%, 100% { transform: scale(1); }
  15%           { transform: scale(1.10); }
  30%           { transform: scale(1.04); }
}

/* Outer diamond: thin stroke */
.chat-btn .frame-outer {
  fill: none;
  stroke: var(--gold-dim);
  stroke-width: 0.8;
  transition: stroke var(--dur-fast), filter var(--dur-fast);
}

/* Inner diamond: thick stroke */
.chat-btn .frame-inner {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  transition: stroke var(--dur-fast), filter var(--dur-fast);
}

/* Center diamond dot */
.chat-btn .center-mark {
  fill: var(--gold);
  opacity: .7;
  transition: opacity var(--dur-fast), fill var(--dur-fast);
}

/* Accent slash: direction/route indicator */
.chat-btn .accent-line {
  fill: none;
  stroke: var(--gold-dim);
  stroke-width: 0.6;
  stroke-linecap: round;
  opacity: .5;
  transition: opacity var(--dur-fast), stroke var(--dur-fast);
}

/* Pulse ring — always active at 60 BPM (1s cycle) */
.chat-btn .pulse-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.4;
  opacity: .15;
  transform-origin: 25px 25px;
  animation: fabPulse 1s ease-out infinite;
}

@keyframes fabPulse {
  0%   { transform: rotate(45deg) scale(1);   opacity: .2; }
  100% { transform: rotate(45deg) scale(1.6); opacity: 0;  }
}

/* ── Hover State: glow & pulse ────────────────────────────── */
.chat-btn:hover {
  animation-play-state: paused;
}
.chat-btn:hover svg {
  animation-play-state: paused;
  transform: scale(1.06);
}

.chat-btn:hover .frame-outer {
  stroke: var(--gold);
  filter: drop-shadow(0 0 4px var(--gold-faint));
}

.chat-btn:hover .frame-inner {
  stroke: var(--gold-l-val);
  filter: drop-shadow(0 0 6px var(--gold-faint));
}

.chat-btn:hover .center-mark {
  opacity: 1;
  fill: var(--gold-l-val);
}

.chat-btn:hover .accent-line {
  opacity: .9;
  stroke: var(--gold);
}

.chat-btn:hover .pulse-ring {
  opacity: .3;
  animation: fabPulse .8s ease-out infinite;
}

/* Notification badge */
.chat-btn .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #5cba5c;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Ozana FAB Label (Asistență Online above diamond) ───── */
.ozana-fab-label {
  text-align: right;
  padding: .6rem .8rem;
  pointer-events: none;
  max-width: 160px;
  opacity: .85;
  transition: opacity var(--dur-base) var(--ease-out-expo);
}

.ozana-fab-label .ozana-label {
  font-size: .55rem;
  margin-bottom: .3rem;
}

.ozana-fab-label .ozana-text-sm {
  font-family: var(--ff-serif);
  font-size: .65rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: .2rem;
}

.ozana-fab-label .ozana-status {
  margin-top: .3rem;
  font-size: .55rem;
}

/* Animated arrow pointing down to FAB */
.ozana-arrow {
  text-align: center;
  font-size: 1rem;
  color: var(--gold);
  opacity: .6;
  animation: arrowBounce 1.5s ease-in-out infinite;
  margin-top: .2rem;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%      { transform: translateY(5px); opacity: .9; }
}

/* Hide ozana label when chat panel is open */
.chat-panel.open ~ .ozana-fab-label {
  opacity: 0;
  transition-duration: .15s;
}

/* ── Ozana Section (Inline CTA) ───────────────────────────── */
.ozana-section {
  padding: var(--sp-7) var(--sp-6) 2.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-content);
}

.ozana-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-ultra);
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

.ozana-text {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: .5rem;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

.ozana-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: var(--fw-medium);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: .2rem;
  cursor: pointer;
  font-family: var(--ff-sans);
  background: none;
  transition: all var(--dur-fast);
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

.ozana-cta:hover {
  color: var(--gold-l-val);
  border-bottom-color: var(--gold);
  transform: translateX(4px);
}

.ozana-cta svg {
  filter: drop-shadow(0 0 3px rgba(0,0,0,.6));
}

/* ── Instruction directing user to chat FAB ───────────────── */
.ozana-instruction {
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  font-style: italic;
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-base);
  color: var(--gold);
  margin-top: 1rem;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
  animation: nudge 2.5s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

.ozana-status {
  font-size: .62rem;
  letter-spacing: .15em;
  color: var(--gold-dim);
  margin-top: .7rem;
  opacity: .7;
  text-shadow: var(--hero-text-shadow);
  -webkit-text-stroke: var(--text-stroke-width) var(--text-stroke-color);
  paint-order: stroke fill;
}

.ozana-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #5cba5c;
  border-radius: var(--radius-full);
  margin-right: .4rem;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .chat-panel {
    width: calc(100vw - 2rem);
    max-height: 70vh;
    border-radius: var(--radius-md);
  }

  .chat-bubble {
    right: 1rem;
    bottom: 1rem;
  }

  .chat-quick-replies {
    padding: .5rem .6rem;
  }

  .chip {
    font-size: .6rem;
    padding: .3rem .6rem;
  }

  /* Hide ozana label on mobile — save space */
  .ozana-fab-label {
    display: none;
  }
}


/* ── footer.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   FOOTER — Minimal: Politică Cookies link only
   ═══════════════════════════════════════════════════════════════ */

footer {
  background: transparent;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: var(--z-content);
}

/* Minimal cookie link button */
.footer-cookies-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--gold-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: .5rem 1rem;
  opacity: .45;
  transition: opacity var(--dur-fast), color var(--dur-fast);
  text-shadow: var(--hero-text-shadow);
}

.footer-cookies-link:hover {
  opacity: 1;
  color: var(--gold);
}

@media (max-width: 600px) {
  footer {
    padding: .8rem 1rem;
  }
}


/* ── pwa.css ─────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   PWA INSTALL PROMPT
   Glassmorphism popup — bottom of screen, slide-up animation
   ═══════════════════════════════════════════════════════════════ */

.pwa-prompt {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  width: min(480px, calc(100vw - 2rem));
  z-index: 200;  /* below cookie bar (400) — can never cover it */
  transition: transform .35s var(--ease-out-expo), opacity .35s ease;
  opacity: 0;
  pointer-events: none;
}

.pwa-prompt--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-prompt-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem .9rem 1rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
          backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--border);
}

.pwa-prompt-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  object-fit: contain;
  filter: var(--logo-filter);
}

.pwa-prompt-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.pwa-prompt-title {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text);
}

.pwa-prompt-sub {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--text-dim);
  opacity: .8;
}

.pwa-prompt-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

/* Dismiss (✕) */
.pwa-btn-dismiss {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: .9rem;
  cursor: pointer;
  padding: .3rem .4rem;
  opacity: .5;
  transition: opacity var(--dur-fast);
  line-height: 1;
}

.pwa-btn-dismiss:hover {
  opacity: 1;
}

/* Install button */
.pwa-btn-install {
  background: var(--btn-gold-bg);
  color: var(--btn-gold-color);
  border: 1px solid var(--btn-gold-border);
  border-radius: 100px;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.pwa-btn-install:hover {
  background: var(--btn-gold-hover-bg);
  transform: scale(1.04);
}

/* Mobile: full width row on small screens */
@media (max-width: 480px) {
  .pwa-prompt {
    bottom: 1rem;
  }

  .pwa-prompt-inner {
    flex-wrap: wrap;
    gap: .75rem;
  }

  .pwa-prompt-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ── iOS Safari Install Guide ─────────────────────────────── */
.pwa-prompt-inner--ios {
  flex-direction: column;
  text-align: center;
  gap: .6rem;
  padding: 1rem 1.2rem;
}

.pwa-prompt-inner--ios .pwa-prompt-icon {
  align-self: center;
}

.pwa-prompt-inner--ios .pwa-prompt-actions {
  position: absolute;
  top: .5rem;
  right: .5rem;
}

.pwa-ios-steps {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: var(--fs-sm) !important;
  font-weight: var(--fw-medium) !important;
  font-style: normal !important;
  opacity: 1 !important;
}

.pwa-ios-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}

.pwa-ios-share-icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--gold);
  flex-shrink: 0;
}

.pwa-ios-arrow {
  text-align: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: .3rem;
  animation: pwaIosArrow 1.2s ease-in-out infinite;
}

@keyframes pwaIosArrow {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ── Android Fallback & In-App Guide Styles ────────────────── */
.pwa-prompt-inner--android-fallback,
.pwa-prompt-inner--inapp {
  flex-direction: column;
  text-align: center;
  gap: .6rem;
  padding: 1rem 1.2rem;
}

.pwa-prompt-inner--android-fallback .pwa-prompt-icon,
.pwa-prompt-inner--inapp .pwa-prompt-icon {
  align-self: center;
}

.pwa-prompt-inner--android-fallback .pwa-prompt-actions,
.pwa-prompt-inner--inapp .pwa-prompt-actions {
  position: absolute;
  top: .5rem;
  right: .5rem;
}

.pwa-android-steps,
.pwa-inapp-steps {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: var(--fs-sm) !important;
  font-weight: var(--fw-medium) !important;
  font-style: normal !important;
  opacity: 1 !important;
}

.pwa-android-step,
.pwa-inapp-step {
  display: block;
  text-align: center;
  font-style: normal !important;
  line-height: 1.4;
}

.pwa-inapp-step strong,
.pwa-android-step strong {
  color: var(--gold);
}


