@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inter:wght@100..900&display=swap');

/* ==========================================================================
   GENUINE ESCROW - DESIGN SYSTEM & THEME (70-20-10 RULE)
   ========================================================================== */

:root {
  /* 70% Base Background & Deep Charcoal Carbon Surfaces */
  --bg-base: #000000;          /* Pure black base */
  --surface-primary: #0a0a0c;  /* Dark carbon panel background */
  --surface-secondary: #121215;/* Nested cards / surface offset */
  --surface-tertiary: #19191e; /* Sleek button base */
  
  /* 20% Metallic Silver / Chrome (Company primary identity) */
  --silver-primary: #e5e5e7;   /* Bright brushed silver */
  --silver-dim: #7e7e82;       /* Inactive/done states */
  --silver-muted: #2a2a2f;     /* Border elements / dark silver */
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #cccccc 30%, #777777 50%, #e3e3e3 70%, #999999 100%);
  
  /* 10% Warm Gold/Amber Flare Accent (The active "lights") */
  --gold-primary: #C8A84B;     /* Glowing gold accent */
  --gold-dim: #8b7434;         /* Muted warm gold */
  --gold-muted: #3a3010;       /* Gold border outline */
  
  /* Typography Colors */
  --text-primary: #e2e2e7;     /* Bright silver-white */
  --text-secondary: #8e8e93;   /* Silver-grey secondary */
  --text-tertiary: #44444a;    /* Dim charcoal gray */
  
  --success-green: #6aA040;    /* Confirmed wire */
  --warning-amber: #c07028;    /* Pending action */
  
  --border-default: #18181b;   /* Carbon border */
  --border-active: #C8A84B;    /* Glowing gold active border */
  --border-glass: rgba(255, 255, 255, 0.03);
  
  /* Shadows */
  --shadow-skeuo-out: 8px 8px 16px rgba(0, 0, 0, 0.8), -3px -3px 10px rgba(255, 255, 255, 0.015);
  --shadow-skeuo-in: inset 2px 2px 6px rgba(0, 0, 0, 0.9), inset -1px -1px 4px rgba(255, 255, 255, 0.01);
  --shadow-glow: 0 0 20px rgba(200, 168, 75, 0.22);
  --shadow-silver: 0 4px 15px rgba(255, 255, 255, 0.04);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  min-height: 100vh;
  /* Sandblasted metal noise texture */
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 1)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-secondary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ==========================================================================
   DASHBOARD WRAPPER
   ========================================================================== */

#dashboard-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dashboard-header {
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Real Logo Image in Dashboard (blended as transparent PNG) */
.brand-logo-img {
  height: 38px;
  width: auto;
  mix-blend-mode: screen; /* Blend black background away */
  filter: grayscale(1) contrast(1.5) brightness(0.9);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--silver-primary);
  text-transform: uppercase;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name span {
  font-size: 9px;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  border: 1px solid var(--silver-dim);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  -webkit-text-fill-color: var(--text-secondary);
}

.dashboard-nav {
  display: flex;
  gap: 6px;
  background: var(--surface-primary);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border-default);
}

.nav-tab {
  background: transparent;
  border: none;
  padding: 8px 18px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-tab:hover {
  color: var(--text-primary);
}

.nav-tab.active {
  background: var(--surface-secondary);
  color: var(--silver-primary);
  box-shadow: var(--shadow-skeuo-out);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.control-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-control-trigger {
  background: linear-gradient(135deg, #19191e, #0a0a0c);
  border: 1px solid var(--silver-muted);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-skeuo-out);
  transition: all 0.2s ease;
}

.btn-control-trigger:hover {
  border-color: var(--silver-primary);
  box-shadow: var(--shadow-silver);
}

.btn-control-trigger:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-skeuo-in);
}

.dashboard-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.view-section {
  display: none;
  width: 100%;
  animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.view-section.active {
  display: block;
}

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

/* ==========================================================================
   PHYSICAL DEVICE SIMULATOR (IPHONE 15 PRO)
   ========================================================================== */

.simulator-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
}

.device-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.device-label {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--silver-primary);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.iphone-15-pro {
  width: 375px;
  height: 780px;
  background: #000000;
  border-radius: 48px;
  position: relative;
  box-shadow: 
    0 30px 70px -10px rgba(0, 0, 0, 0.95), 
    0 0 0 7px #2d2d30, /* Matte Silver/Titanium band */
    0 0 0 10px #121214; /* Outer bezel */
  border: 4px solid #000000;
  overflow: hidden;
  user-select: none;
}

/* Diagonal glass shine */
.iphone-15-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.008) 45.1%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 20;
}

/* Dynamic Island */
.dynamic-island {
  width: 110px;
  height: 28px;
  background: #000000;
  border-radius: 14px;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.dynamic-island-camera {
  width: 9px;
  height: 9px;
  background: #0e111a;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
  position: relative;
}

.dynamic-island-camera::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 4px;
  height: 4px;
  background: #112035;
  border-radius: 50%;
}

.dynamic-island-sensor {
  width: 6px;
  height: 6px;
  background: #040404;
  border-radius: 50%;
}

/* Simulator screen content container */
.screen-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--bg-base);
  display: flex;
  flex-direction: column;
  position: relative;
  scrollbar-width: none;
}

.screen-content::-webkit-scrollbar {
  display: none;
}

/* Status Bar */
.status-bar {
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 24px 6px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  position: sticky;
  top: 0;
  z-index: 90;
}

.status-bar-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  pointer-events: none;
  z-index: 95;
}

/* ==========================================================================
   SPLASH SCREEN (PANTALLA DE INICIO)
   ========================================================================== */

.splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 900; /* Behind Dynamic Island, ahead of tabs */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 120px 30px 80px;
  cursor: pointer; /* Click anywhere on splash screen to enter */
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.splash-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  pointer-events: none; /* Let parent click handler work */
}

/* Breathing pulse animation for the logo */
.splash-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo-container::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.25) 0%, transparent 70%);
  filter: blur(20px);
  animation: breathing-glow 3s ease-in-out infinite;
}

@keyframes breathing-glow {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Splash Logo image (JPEG black blends cleanly on splash screen background) */
.splash-logo-img {
  width: 150px;
  height: auto;
  border-radius: 0;
  mix-blend-mode: screen; /* Blend black background away */
  z-index: 5;
  filter: grayscale(1) contrast(1.5) brightness(0.9);
}

.splash-subtitle {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--silver-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
  text-align: center;
}

.btn-splash-enter {
  background: linear-gradient(135deg, #222226 0%, #0c0c0e 100%);
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-out);
  color: var(--silver-primary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 36px;
  border-radius: 30px;
  transition: all 0.3s ease;
  z-index: 10;
  pointer-events: none; /* Let parent splash screen click handler catch touch */
}

/* Toca para ingresar subtitle */
.splash-tap-tip {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 15px;
}

/* ==========================================================================
   APP HEADER & SCROLL AREA
   ========================================================================== */

.app-header {
  padding: 8px 16px 12px;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 44px;
  z-index: 80;
}

.app-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* App Header Real Logo (Blended cleanly) */
.app-header-logo {
  height: 24px;
  width: auto;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.5) brightness(0.9);
}

.app-wordmark {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--silver-primary);
  letter-spacing: 0.08em;
}

.app-badge-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--surface-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-skeuo-out);
}

.badge-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: var(--gold-primary);
  border: 1.5px solid var(--surface-primary);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px var(--gold-primary);
}

.badge-number.green {
  background: var(--success-green);
  box-shadow: 0 0 6px var(--success-green);
}

.app-main {
  flex: 1;
  padding: 16px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================================
   PROPERTY HERO BANNER ("CASA")
   ========================================================================== */

.property-hero-banner {
  width: 100%;
  height: 145px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-out);
}

.property-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.property-hero-banner:hover img {
  transform: scale(1.08); /* Faint slow zoom effect on interaction */
}

.property-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 16px;
}

/* ==========================================================================
   COMPONENT STYLES (SKEUOMORPHIC & GLASSMORPHIC)
   ========================================================================== */

/* Eyebrows */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 2px;
}

.section-eyebrow span {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border-default), transparent);
}

/* Volumetric Tactile Button */
.btn-tactile-action {
  width: 100%;
  background: linear-gradient(135deg, #1b1b20 0%, #0a0a0c 100%);
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-out);
  border-radius: 16px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.btn-tactile-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

.btn-tactile-action:active {
  box-shadow: var(--shadow-skeuo-in);
  transform: scale(0.98);
}

/* Gold active glowing state */
.btn-tactile-action.active {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-glow), var(--shadow-skeuo-out);
}

.btn-tactile-action .icon-container {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-in);
  color: var(--silver-dim);
}

.btn-tactile-action.active .icon-container {
  color: var(--gold-primary);
  border-color: var(--gold-muted);
}

.btn-tactile-action .label-group {
  flex: 1;
}

.btn-tactile-action .btn-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.btn-tactile-action .btn-subtitle {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.btn-tactile-action .chevron-arrow {
  color: var(--text-tertiary);
  font-size: 12px;
}

/* Volumetric Grid Button */
.btn-tactile-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #1b1b20 0%, #0a0a0c 100%);
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-out);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  width: 100%;
}

.btn-tactile-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent);
}

.btn-tactile-grid:active {
  box-shadow: var(--shadow-skeuo-in);
  transform: scale(0.98);
}

.btn-tactile-grid .grid-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-in);
  color: var(--silver-primary);
  font-size: 14px;
}

.btn-tactile-grid .grid-label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-primary);
}

.btn-tactile-grid .grid-sub {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-secondary);
  margin-top: -6px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Glassmorphic Panel/Card with Gold backlit highlights */
.panel-glass {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 16px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.panel-glass.active {
  border-top: 1px solid rgba(200, 168, 75, 0.5);
  box-shadow: 
    0 -10px 30px rgba(200, 168, 75, 0.1),
    0 0 15px rgba(200, 168, 75, 0.08),
    0 15px 35px rgba(0, 0, 0, 0.8);
  animation: panel-glow-pulse 4s ease-in-out infinite;
}

.panel-glass-backlight {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(20px);
  top: -60px;
  left: -20px;
  pointer-events: none;
  z-index: 0;
}

.panel-glass-backlight.active {
  background: radial-gradient(circle, rgba(200, 168, 75, 0.28) 0%, rgba(200, 168, 75, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
  animation: standby-flare-pulse 3s ease-in-out infinite;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.sparkle-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px var(--gold-primary);
  animation: float-sparkle 6s linear infinite;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-width: 1px;
  border-style: solid;
}

.status-badge.gold {
  border-color: var(--gold-primary);
  background: rgba(200, 168, 75, 0.04);
  color: var(--gold-primary);
  box-shadow: 0 0 6px rgba(200, 168, 75, 0.08);
}

.status-badge.green {
  border-color: var(--success-green);
  background: rgba(106, 160, 64, 0.04);
  color: var(--success-green);
  box-shadow: 0 0 6px rgba(106, 160, 64, 0.08);
}

.status-badge.amber {
  border-color: var(--warning-amber);
  background: rgba(192, 112, 40, 0.04);
  color: var(--warning-amber);
  box-shadow: 0 0 6px rgba(192, 112, 40, 0.08);
}

/* ==========================================================================
   TRANSACTION STAGES (HORIZONTAL TIMELINE)
   ========================================================================== */

.stages-row-container {
  width: calc(100% + 32px);
  margin-left: -16px;
  overflow-x: auto;
  padding: 8px 16px 20px;
  display: flex;
  gap: 12px;
  scrollbar-width: none;
}

.stages-row-container::-webkit-scrollbar {
  display: none;
}

.stage-card-wrapper {
  flex: 0 0 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage-card {
  width: 100%;
  height: 110px;
  border-radius: 16px;
  background: #060608;
  border: 1px solid var(--border-default);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  box-shadow: var(--shadow-skeuo-out);
  cursor: pointer;
}

.stage-card:active {
  transform: scale(0.95);
}

/* Done stage is Silver-themed */
.stage-card.done {
  border-top: 1.5px solid var(--silver-dim);
  border-color: var(--silver-muted);
}

.stage-card.done .stage-icon-box {
  color: var(--silver-dim);
}

.stage-card.done .stage-title {
  color: var(--text-secondary);
}

.stage-card.done .checkmark-done {
  position: absolute;
  top: 6px;
  right: 6px;
  color: var(--silver-dim);
  font-size: 10px;
}

/* Active stage is Gold-themed */
.stage-card.active {
  background: rgba(10, 10, 12, 0.95);
  border: 1px solid var(--gold-primary);
  box-shadow: 
    0 0 15px rgba(200, 168, 75, 0.15),
    inset 0 0 12px rgba(200, 168, 75, 0.08),
    var(--shadow-skeuo-out);
  animation: active-stage-pulse 2.5s ease-in-out infinite;
}

.stage-card.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-primary);
}

.stage-card.active .scanline-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(200, 168, 75, 0) 0%, rgba(200, 168, 75, 0.03) 45%, rgba(200, 168, 75, 0.1) 50%, rgba(200, 168, 75, 0.03) 55%, rgba(200, 168, 75, 0) 100%);
  background-size: 100% 200px;
  animation: scanline-drift 4s linear infinite;
  z-index: 2;
}

.stage-card.active .stage-icon-box {
  color: var(--gold-primary);
  filter: drop-shadow(0 0 4px var(--gold-primary));
}

.stage-card.active .stage-title {
  color: var(--text-primary);
  font-weight: 700;
}

.stage-card.locked {
  opacity: 0.3;
}

.stage-icon-box {
  font-size: 18px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.stage-title {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1.25;
}

/* File list segment progress */
.segment-progress-row {
  display: flex;
  gap: 3px;
  width: 100%;
  margin-top: 8px;
}

.progress-segment {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.progress-segment.done {
  background: var(--silver-dim);
}

.progress-segment.active {
  background: linear-gradient(90deg, var(--silver-dim), var(--silver-primary));
  position: relative;
  overflow: hidden;
}

.progress-segment.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: segment-pulse-anim 2s infinite linear;
}

/* ==========================================================================
   WIRE PROGRESS BAR (ANALOG GLOWING TUBE)
   ========================================================================== */

.wire-progress-container {
  width: 100%;
  background: var(--surface-primary);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-skeuo-in);
}

.wire-bar-track {
  width: 100%;
  height: 10px;
  background: #020203;
  border-radius: 5px;
  border: 1px solid var(--border-default);
  overflow: hidden;
  position: relative;
}

.wire-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold-primary) 100%);
  border-radius: 4px;
  width: 40%;
  transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  box-shadow: 0 0 8px rgba(200, 168, 75, 0.35);
}

.wire-bar-fill.pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: wire-glow-shimmer 2.5s infinite linear;
}

.wire-metadata {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.wire-label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.wire-amount-cormorant {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
}

/* ==========================================================================
   OFFICER FILE DETAIL
   ========================================================================== */

.stages-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.stage-card-vert {
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.stage-card-vert.done {
  border-left: 3px solid var(--silver-dim);
}

.stage-card-vert.active {
  border-left: 3px solid var(--gold-primary);
  border-color: rgba(200, 168, 75, 0.2);
  box-shadow: var(--shadow-glow), 0 8px 20px rgba(0, 0, 0, 0.5);
  background: rgba(14, 14, 16, 0.8);
}

.stage-card-vert.locked {
  opacity: 0.35;
}

.stage-vert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stage-vert-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
}

.stage-vert-desc {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.stage-vert-date {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

.btn-stage-complete {
  margin-top: 8px;
  width: 100%;
  background: var(--gold-primary);
  color: var(--bg-base);
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(200, 168, 75, 0.25);
  transition: all 0.2s ease;
}

.btn-stage-complete:hover {
  background: #dbb955;
  box-shadow: 0 6px 16px rgba(200, 168, 75, 0.45);
}

.btn-stage-complete:active {
  transform: scale(0.98);
}

/* ==========================================================================
   OFFICER DASHBOARD STAT BOXES
   ========================================================================== */

.stat-boxes-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.stat-box {
  flex: 1;
  background: linear-gradient(135deg, #1b1b20 0%, #0a0a0c 100%);
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-out);
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stat-box:active {
  box-shadow: var(--shadow-skeuo-in);
  transform: scale(0.96);
}

.stat-box.highlight {
  border-top: 2px solid var(--gold-primary);
  box-shadow: 
    0 -4px 15px rgba(200, 168, 75, 0.08),
    var(--shadow-skeuo-out);
}

.stat-box-value {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
}

.stat-box.highlight .stat-box-value {
  color: var(--gold-primary);
  text-shadow: 0 0 10px rgba(200, 168, 75, 0.25);
}

.stat-box-label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-align: center;
}

.stat-box.highlight .stat-box-label {
  color: var(--text-primary);
}

/* Urgent file listing beam */
.file-card-urgent-beam {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-primary);
  animation: urgent-beam-pulse 1.8s ease-in-out infinite;
}

@keyframes urgent-beam-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 10px var(--gold-primary); }
}

/* ==========================================================================
   CHATS & INPUTS
   ========================================================================== */

.chat-bubble-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow-y: auto;
  padding: 4px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  position: relative;
  box-shadow: var(--shadow-skeuo-out);
}

.chat-bubble.left {
  align-self: flex-start;
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-bubble.right {
  align-self: flex-end;
  background: var(--surface-secondary);
  border: 1px solid var(--silver-muted);
  border-left: 2px solid var(--silver-dim);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

/* Highlighted chat bubble with gold edge when active action */
.chat-bubble.right.gold-reply {
  border-left-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(200, 168, 75, 0.1), var(--shadow-skeuo-out);
}

.chat-timestamp {
  font-size: 8px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
  text-align: right;
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface-primary);
  border-top: 1px solid var(--border-default);
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 50;
}

.chat-input-field {
  flex: 1;
  background: #000000;
  border: 1px solid var(--silver-muted);
  border-radius: 18px;
  padding: 8px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  outline: none;
  transition: all 0.25s ease;
}

.chat-input-field:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 8px rgba(200, 168, 75, 0.15);
}

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--silver-primary);
  color: var(--bg-base);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.chat-send-btn:active {
  transform: scale(0.9);
}

/* ==========================================================================
   INTERACTIVE PHONE TAB BAR (70-20-10 Gold indicators)
   ========================================================================== */

.phone-tab-bar {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-default);
  display: flex;
  z-index: 85;
}

.phone-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.phone-tab-item i {
  font-size: 15px;
}

.phone-tab-label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Tab active top gold beam (10% Gold theme) */
.phone-tab-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.phone-tab-item.active {
  color: var(--gold-primary);
  text-shadow: 0 0 4px rgba(200, 168, 75, 0.15);
}

.phone-tab-item.active::before {
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* ==========================================================================
   INTERACTIVE NOTIFICATION BANNER
   ========================================================================== */

.notification-banner {
  position: absolute;
  top: -90px;
  left: 12px;
  right: 12px;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1.5px solid var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 15px rgba(200, 168, 75, 0.15);
  border-radius: 16px;
  padding: 12px 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-banner.show {
  top: 50px;
}

.notification-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #000000;
  border: 1px solid var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 13px;
  box-shadow: var(--shadow-skeuo-in);
}

.notification-info {
  flex: 1;
}

.notification-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
}

.notification-text {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.35;
}

/* ==========================================================================
   MODALS AND INTERACTION SCREEN MODULES
   ========================================================================== */

/* Full Screen Modal Backdrop */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-review-card {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(135deg, #121215 0%, #0a0a0c 100%);
  border: 1px solid var(--silver-muted);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.9),
    0 0 25px rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show .modal-review-card {
  transform: scale(1);
}

.modal-review-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.22) 0%, transparent 70%);
  filter: blur(15px);
  pointer-events: none;
}

.review-modal-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface-primary);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 12px rgba(200, 168, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 22px;
  margin: 0 auto 16px;
}

.review-modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.review-modal-text {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: var(--gold-primary);
  font-size: 18px;
  margin-bottom: 24px;
  text-shadow: 0 0 6px rgba(200, 168, 75, 0.3);
}

.celebration-key {
  font-size: 50px;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 10px rgba(200, 168, 75, 0.5));
  animation: key-spin-float 4s ease-in-out infinite;
  margin-bottom: 16px;
}

@keyframes key-spin-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(5deg); }
}

/* Premium Primary Modal Button (20% Silver Metallic theme) */
.btn-modal-primary {
  width: 100%;
  background: var(--silver-gradient);
  color: #000000;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.15);
}

.btn-modal-primary:active {
  transform: translateY(1px);
}

.btn-modal-secondary {
  width: 100%;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--silver-muted);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  padding: 12px;
  border-radius: 12px;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-secondary:hover {
  color: var(--text-primary);
  border-color: var(--silver-dim);
}

/* ==========================================================================
   MOCK PHONE CALL OVERLAY (TACTILE POLISH)
   ========================================================================== */

.mock-call-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 80px 30px 100px;
  color: var(--text-primary);
  background: radial-gradient(circle at center, #111115 0%, #000000 100%);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 850;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mock-call-overlay.show {
  transform: translateY(0);
}

.call-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--silver-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--silver-primary);
  overflow: hidden;
  margin-top: 50px;
}

.call-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.call-status-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--success-green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 15px;
}

.btn-hangup {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #bf3939;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(191, 57, 57, 0.3);
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.btn-hangup:hover {
  background: #d84848;
}

.btn-hangup:active {
  transform: scale(0.9);
}

/* ==========================================================================
   DOCUMENT VIEW MODAL (WITH GOLD SIGNATURES)
   ========================================================================== */

.doc-viewer-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.doc-preview-body {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 20px;
  overflow-y: auto;
  position: relative;
  color: #1a1a1a;
  font-family: 'Times New Roman', serif;
  font-size: 10px;
  line-height: 1.5;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.doc-title {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #000;
  border-bottom: 1.5px solid #000;
  padding-bottom: 6px;
}

.doc-signature-zone {
  margin-top: 30px;
  border: 2px dashed var(--gold-primary);
  background: rgba(200, 168, 75, 0.05);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  color: var(--gold-primary);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.doc-signature-zone:hover {
  background: rgba(200, 168, 75, 0.1);
  box-shadow: 0 0 15px rgba(200, 168, 75, 0.2);
}

.doc-signature-zone.signed {
  border: 1px solid var(--success-green);
  background: rgba(106, 160, 64, 0.05);
  color: var(--success-green);
  cursor: default;
}

.doc-signature-zone.signed::after {
  content: '✓ FIRMADO DIGITALMENTE';
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 4px;
  color: #1a3c75;
}

/* ==========================================================================
   MOCK PDF VIEW MODAL (COMPLETED DOCS VIEW)
   ========================================================================== */

.mock-pdf-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.mock-pdf-body {
  flex: 1;
  background: #fdfdfd;
  color: #111111;
  padding: 20px;
  border-radius: 12px;
  font-family: 'Times New Roman', serif;
  font-size: 9px;
  line-height: 1.4;
  overflow-y: auto;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

.pdf-header-stamp {
  border: 2px solid #5a905a;
  color: #5a905a;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  padding: 6px;
  border-radius: 4px;
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* ==========================================================================
   PARTICIPANTS & QUICK ACTIONS
   ========================================================================== */

.person-card {
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-skeuo-out);
}

.person-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-secondary);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--silver-primary);
  overflow: hidden;
}

.person-avatar.officer {
  border-color: var(--silver-primary);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-details {
  flex: 1;
}

.person-name {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-primary);
}

.person-role {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.person-contact-actions {
  display: flex;
  gap: 8px;
}

.btn-contact-action {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-secondary);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 11px;
  cursor: pointer;
  box-shadow: var(--shadow-skeuo-out);
  transition: all 0.2s ease;
}

.btn-contact-action:hover {
  color: var(--silver-primary);
  border-color: var(--silver-dim);
}

/* Pitch wrapper intro layouts */
.pitch-view-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.pitch-intro-box {
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-skeuo-out);
  max-width: 900px;
  margin: 0 auto;
}

.pitch-intro-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--silver-primary);
  margin-bottom: 8px;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pitch-intro-text {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   OFFICER HERO CARD & VIDEO CONTAINER
   ========================================================================== */

.officer-hero-card {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-out);
  background-color: var(--surface-primary);
}

.officer-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.officer-hero-card:hover img {
  transform: scale(1.05);
}

.officer-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.officer-hero-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.officer-hero-role {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.officer-hero-details {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Welcome Video Component */
.video-container {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--silver-muted);
  box-shadow: var(--shadow-skeuo-out);
  cursor: pointer;
  background-color: var(--surface-primary);
}

.video-container img.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4s ease;
}

.video-container:hover img.video-thumbnail {
  transform: scale(1.03);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s ease;
}

.video-container:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.video-play-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--silver-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-primary);
  font-size: 16px;
  padding-left: 3px; /* Center the play icon visually */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.video-container:hover .video-play-button {
  transform: scale(1.1);
  background: var(--silver-primary);
  color: var(--bg-base);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.video-overlay-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
