/* ==========================================================================
   Turnos+ (www.turnosmas.cl) - Diseño Web Moderno 2026 (Sapphire & Bento UI)
   Inspirado en la identidad oficial del ícono de Turnos+
   ========================================================================== */

:root {
  /* Modern Multi-Tone Palette */
  --bg-main: #f4f7fb;
  --bg-alt: #eaf0f8;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(10, 18, 36, 0.82);

  --text-primary: #0b132b;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --border-color: rgba(37, 99, 235, 0.14);
  --border-strong: rgba(37, 99, 235, 0.28);

  /* Brand Sapphire & Cyan Accents (matching Turnos+ icon) */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.12);
  --accent-cyan: #06b6d4;
  --accent-teal: #0d9488;
  --accent-emerald: #10b981;
  --accent-purple: #7c3aed;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  /* Exact App Shift Colors */
  --shift-largo-bg: #86efac;
  --shift-largo-text: #14532d;
  --shift-noche-bg: #d8b4fe;
  --shift-noche-text: #4c1d95;
  --shift-dia-bg: #bae6fd;
  --shift-dia-text: #0c4a6e;
  --shift-libre-bg: #e2e8f0;
  --shift-libre-text: #334155;
  --shift-extra-bg: #fde047;
  --shift-extra-text: #713f12;

  /* Modern Elevation & Radius */
  --shadow-sm: 0 4px 14px rgba(11, 19, 43, 0.06);
  --shadow-md: 0 18px 42px -8px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 28px 70px -12px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 14px 36px rgba(37, 99, 235, 0.38);
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
}

body.dark-mode {
  --bg-main: #060b16;
  --bg-alt: #0b1324;
  --bg-card: rgba(17, 27, 48, 0.86);
  --bg-card-solid: #111c33;
  --bg-glass: rgba(7, 12, 24, 0.85);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: rgba(56, 189, 248, 0.16);
  --border-strong: rgba(56, 189, 248, 0.32);
  --primary: #38bdf8;
  --primary-dark: #2563eb;
  --primary-light: rgba(56, 189, 248, 0.15);
  --shadow-md: 0 18px 42px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px -12px rgba(0, 0, 0, 0.7);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  background-image:
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 30%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(124, 58, 237, 0.06) 0px, transparent 50%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Background Blobs */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
}

.blob-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #2563eb, #06b6d4);
  top: -150px;
  left: -120px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #10b981, #2563eb);
  top: 30%;
  right: -140px;
}

.blob-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #7c3aed, #ec4899);
  bottom: 5%;
  left: 12%;
}

/* Icons */
.icon-xs { width: 15px; height: 15px; }
.icon-sm { width: 18px; height: 18px; }

/* Top Banner */
.top-banner {
  background: linear-gradient(90deg, #091326 0%, #1e3a8a 50%, #0f172a 100%);
  color: #f8fafc;
  font-size: 0.84rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(37, 99, 235, 0.35));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  backdrop-filter: blur(8px);
  padding: 4px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.top-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   FULL-WINDOW "PRÓXIMAMENTE" OVERLAY & DISABLED DOWNLOADS
   ========================================================================== */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.coming-soon-full-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 9999;
  background: radial-gradient(circle at 50% 35%, rgba(15, 32, 68, 0.88) 0%, rgba(5, 11, 24, 0.96) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.coming-soon-full-overlay.hidden-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cs-diagonal-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
  font-size: clamp(2.2rem, 8vw, 8.5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}

.cs-modal-card {
  position: relative;
  z-index: 2;
  max-width: 620px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(155deg, rgba(15, 29, 58, 0.96), rgba(8, 16, 34, 0.98));
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 44px) clamp(16px, 4.5vw, 36px);
  text-align: center;
  color: #ffffff;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(37, 99, 235, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cs-logo-wrap {
  width: clamp(68px, 16vw, 88px);
  height: clamp(68px, 16vw, 88px);
  border-radius: 20px;
  overflow: hidden;
  background: #1b3a6b;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  margin-bottom: 2px;
  flex-shrink: 0;
}

.cs-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.cs-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 12px;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #7dd3fc;
  font-size: clamp(0.62rem, 2.4vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
}

.cs-giant-title {
  font-size: clamp(1.65rem, 7.2vw, 4.1rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.08;
  max-width: 100%;
  background: linear-gradient(135deg, #ffffff 15%, #7dd3fc 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 35px rgba(56, 189, 248, 0.25);
  margin: 2px 0;
}

.cs-subtitle {
  font-size: clamp(0.88rem, 3.4vw, 1.05rem);
  color: #cbd5e1;
  max-width: 500px;
  width: 100%;
  line-height: 1.55;
  text-align: center;
}

.cs-subtitle strong {
  color: #38bdf8;
}

.cs-status-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(0.74rem, 2.8vw, 0.84rem);
  font-weight: 700;
  color: #e2e8f0;
  margin: 2px 0 4px;
}

.cs-explore-btn {
  margin-top: 4px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  font-size: clamp(0.85rem, 3.4vw, 1rem);
  padding: 12px 20px;
}

/* Floating Bottom-Left Stamp when exploring the preview */
.cs-floating-stamp {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: auto;
  max-width: calc(100vw - 28px);
  z-index: 950;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(9, 18, 38, 0.94);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  color: #ffffff;
  font-size: 0.78rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease;
}

.cs-floating-stamp:hover {
  transform: translateY(-2px);
}

.cs-floating-stamp strong {
  color: #38bdf8;
  letter-spacing: 0.05em;
}

/* Disabled Download Buttons State */
.is-disabled-dl {
  opacity: 0.78;
  cursor: not-allowed !important;
  position: relative;
}

/* Navbar (Sleek Dark Sapphire Glass) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 15, 32, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.25s ease;
}

.navbar-inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.brand-logo-img {
  background: #1b3a6b;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  border: none;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.55);
}

.brand-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-name span {
  color: #38bdf8;
}

.brand-domain {
  font-size: 0.74rem;
  font-family: 'JetBrains Mono', monospace;
  color: #94a3b8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle, .mobile-menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.mobile-menu-btn {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: inherit;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION - DEEP SAPPHIRE AURORA STAGE
   ========================================================================== */
.hero {
  position: relative;
  padding: 76px 0 96px;
  background:
    radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.38) 0%, transparent 45%),
    radial-gradient(circle at 82% 28%, rgba(6, 182, 212, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 55% 85%, rgba(124, 58, 237, 0.22) 0%, transparent 50%),
    linear-gradient(160deg, #060c1a 0%, #0c1b38 52%, #091326 100%);
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

/* Subtle Modern Architectural Grid Overlay in Hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 630px;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

/* Official Store Badges in Hero */
.hero-stores-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.22s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.25);
}

.store-badge-btn.direct-apk-badge {
  background: linear-gradient(135deg, #059669, #0d9488);
  border-color: rgba(167, 243, 208, 0.35);
}

.store-svg, .store-lucide {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-badge-text small {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  opacity: 0.82;
  font-weight: 600;
}

.store-badge-text strong {
  font-size: 0.92rem;
  font-weight: 800;
}

/* Quick QR Strip in Hero */
.hero-qr-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-qr-box {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.hero-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 2px;
}

.hero-qr-info h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-qr-info p {
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  max-width: 160px;
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   INTERACTIVE PHONE MOCKUP
   ========================================================================== */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7dd3fc;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.phone-frame.live-app-frame {
  width: 375px;
  max-width: 100%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 44px;
  padding: 11px;
  box-shadow:
    0 35px 80px -15px rgba(0, 0, 0, 0.7),
    0 0 55px rgba(37, 99, 235, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.22) inset;
  position: relative;
}

.live-app-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 55%, #fff7ed 100%);
  color: #18181b;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 8px 10px;
  user-select: none;
}

/* Demo Limit Toast inside Phone */
.app-demo-toast {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 95;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #38bdf8;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: fadeIn 0.2s ease;
}

.app-demo-toast.hidden {
  display: none !important;
}

.app-demo-toast a {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Real App Header */
.real-cal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2px 6px 4px;
}

.real-cal-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #27272a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.real-cal-subpill {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 800;
}

.real-cal-top-actions {
  display: flex;
  gap: 6px;
}

.real-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.real-circle-btn svg {
  width: 16px;
  height: 16px;
}

.icon-orange { color: #f59e0b; }
.icon-blue { color: #2563eb; }
.icon-gray { color: #52525b; }

/* Live Vacation Preview Banner */
.live-vac-banner {
  margin: 4px 4px 2px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.live-vac-banner.hidden {
  display: none !important;
}

.live-vac-banner button {
  background: #dbeafe;
  border: none;
  color: #1d4ed8;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}

/* Demo Counter Strip */
.demo-counters-bar {
  display: flex;
  justify-content: space-between;
  padding: 3px 8px;
  margin: 2px 4px 4px;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #475569;
}

/* Weekdays Row */
.real-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  background: #e0f2fe;
  padding: 6px 0;
  border-radius: 10px 10px 0 0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #18181b;
}

.real-weekdays-row .wknd-red {
  color: #ef4444;
}

/* 35-Cell Real Calendar Grid */
.real-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(5, 68px);
  border-top: 1px solid #a1a1aa;
  border-left: 1px solid #a1a1aa;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.rc-cell {
  position: relative;
  border-right: 1px solid #a1a1aa;
  border-bottom: 1px solid #a1a1aa;
  padding: 3px;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  background: rgba(255, 255, 255, 0.65);
  transition: filter 0.15s ease, opacity 0.2s ease;
}

.rc-cell:hover {
  filter: brightness(0.97);
}

.rc-cell.other-month {
  opacity: 0.24;
}

.rc-cell.today-pulse {
  animation: rcTodayBlink 1.8s ease-in-out infinite;
}

@keyframes rcTodayBlink {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

.rc-cell-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.78;
  pointer-events: none;
}

/* Striped Rest Block when Vacations are active */
.rc-cell.is-rest-striped .rc-cell-bg {
  opacity: 0.42;
  filter: grayscale(40%);
}

.rc-stripes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(113, 113, 122, 0.2);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    rgba(100, 116, 139, 0.48) 5px,
    rgba(100, 116, 139, 0.48) 7.5px
  );
  animation: pulse 1.8s infinite;
}

/* Shift Letter (Top Left: L, N, D, -) */
.rc-shift {
  position: absolute;
  top: 4px;
  left: 5px;
  z-index: 3;
  font-size: 0.8rem;
  font-weight: 900;
  color: #18181b;
  line-height: 1;
  pointer-events: none;
}

/* Extra Shift Letter (Bottom Right) */
.rc-extra {
  position: absolute;
  bottom: 3px;
  right: 4px;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 900;
  color: #090d16;
  background: rgba(255, 255, 255, 0.82);
  padding: 1px 4px;
  border-radius: 5px;
  line-height: 1;
  pointer-events: none;
}

/* Day Number (Top Right) */
.rc-day {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27272a;
  border: 1px solid rgba(161, 161, 170, 0.45);
  pointer-events: none;
}

.rc-day.red-badge {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.rc-day.today-badge {
  background: #27272a;
  color: #ffffff;
  border-color: #27272a;
  box-shadow: 0 0 0 2px rgba(39, 39, 42, 0.25);
}

/* Blue V & Red LM Pills */
.rc-exc-pill {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-size: 0.68rem;
  font-weight: 900;
  color: #ffffff;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.rc-exc-pill.v-pill {
  background: #2563eb;
}

.rc-exc-pill.lm-pill {
  background: #dc2626;
}

/* Note Text inside Cell */
.rc-note {
  position: absolute;
  top: 23px;
  left: 4px;
  right: 3px;
  bottom: 2px;
  z-index: 3;
  font-size: 0.58rem;
  font-weight: 800;
  color: #18181b;
  line-height: 1.12;
  overflow: hidden;
  word-break: break-word;
  pointer-events: none;
}

/* Bottom Dock & Floating Exception Bar */
.real-bottom-container {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e4e4e7;
  border-radius: 26px;
  padding: 8px 6px 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.real-exception-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.real-exception-bar.hidden {
  display: none !important;
}

.real-exc-pill {
  flex: 1;
  padding: 7px 10px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.2s ease;
}

.real-exc-pill.active-vac {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.real-exc-pill.active-lm {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.real-dock-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.real-dock-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-family: inherit;
}

.real-dock-circle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.real-dock-circle svg {
  width: 18px;
  height: 18px;
}

.real-dock-item.active .real-dock-circle {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.real-dock-circle.cyan { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.real-dock-circle.orange { background: linear-gradient(135deg, #fb923c, #ef4444); }
.real-dock-circle.emerald { background: linear-gradient(135deg, #34d399, #0d9488); }
.real-dock-circle.indigo { background: linear-gradient(135deg, #60a5fa, #4f46e5); }
.real-dock-circle.purple { background: linear-gradient(135deg, #a78bfa, #9333ea); }
.real-dock-circle.rose { background: linear-gradient(135deg, #f472b6, #e11d48); }

.dollar-mini {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  color: #7c3aed;
  font-size: 0.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-dock-item span {
  font-size: 0.6rem;
  font-weight: 800;
  color: #27272a;
}

/* ==========================================================================
   MODALS INSIDE THE LIVE PHONE SCREEN
   ========================================================================== */
.phone-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: rgba(9, 13, 22, 0.58);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  animation: fadeIn 0.2s ease;
}

.phone-modal-overlay.hidden {
  display: none !important;
}

.modal-close-circle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  color: #18181b;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-circle.red-close {
  background: #fee2e2;
  color: #b91c1c;
}

/* Modal 1: Day Detail Sheet (Matches 18 MIÉRCOLES screenshot) */
.day-modal-sheet {
  width: 100%;
  border-radius: 26px;
  background: #a7f3d0;
  padding: 16px;
  color: #14532d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.day-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
}

.day-modal-header h2 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #090d16;
}

.day-modal-header span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #18181b;
}

.day-modal-body textarea {
  width: 100%;
  border-radius: 16px;
  border: none;
  padding: 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  background: #ffffff;
  color: #18181b;
  resize: none;
  outline: none;
  margin-bottom: 10px;
}

.day-modal-note-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-del-note {
  padding: 9px;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(255, 255, 255, 0.55);
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-restore-note {
  padding: 9px;
  border-radius: 12px;
  border: none;
  background: #ffffff;
  color: #27272a;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.day-modal-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 8px 0 10px;
}

.day-shift-picker {
  background: rgba(255, 255, 255, 0.85);
  padding: 8px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.day-shift-picker.hidden {
  display: none !important;
}

.picker-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
}

.picker-btns-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.pick-s-btn {
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.pick-s-btn.s-l { background: #86efac; color: #14532d; }
.pick-s-btn.s-n { background: #d8b4fe; color: #4c1d95; }
.pick-s-btn.s-d { background: #bae6fd; color: #0c4a6e; }
.pick-s-btn.s-f { background: #e2e8f0; color: #334155; }

.day-modal-shift-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.btn-white-pill {
  padding: 10px 8px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #18181b;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-white-pill.full {
  width: 100%;
  margin-bottom: 10px;
}

.btn-black-save {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: #18181b;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

/* Modal 2: White Modal Sheet (Resumen de Notas / Vacaciones / Sueldo) */
.white-modal-sheet {
  width: 100%;
  max-height: 590px;
  background: #ffffff;
  color: #18181b;
  border-radius: 26px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.white-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.white-modal-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blue-round-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blue-round-icon svg {
  width: 17px;
  height: 17px;
}

.notes-tabs-bar {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #e4e4e7;
  margin-bottom: 12px;
}

.notes-tab-btn {
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 6px 2px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  color: #71717a;
  cursor: pointer;
}

.notes-tab-btn.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.notes-modal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e4e4e7;
  background: #ffffff;
}

.note-card-date {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  background: #f4f4f5;
  color: #52525b;
  padding: 2px 7px;
  border-radius: 6px;
  margin-bottom: 3px;
}

.note-card-text {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #18181b;
}

.note-card-actions {
  display: flex;
  gap: 6px;
}

.note-act-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.note-act-btn.del { background: #fef2f2; color: #ef4444; }
.note-act-btn.rest { background: #ecfdf5; color: #10b981; }

/* Modal 3: Vacation Optimizer IA */
.vac-sheet {
  padding: 0;
  overflow: hidden;
}

.vac-sheet-header {
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.vac-sheet-header h4 {
  font-size: 0.9rem;
  font-weight: 900;
  color: #18181b;
  line-height: 1.2;
}

.vac-sheet-header p {
  font-size: 0.68rem;
  color: #52525b;
  margin-top: 4px;
  line-height: 1.35;
}

.vac-sheet-body {
  padding: 14px 16px 16px;
  background: #f4f4f5;
}

.vac-sheet-body.hidden,
.vac-subpanel.hidden,
.hidden {
  display: none !important;
}

.vac-two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.vac-mode-card {
  padding: 12px 10px;
  border-radius: 16px;
  border: 2px solid #dbeafe;
  background: #eff6ff;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.vac-mode-card.active-blue {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
}

.vac-mode-card.active-rose {
  border-color: #e11d48;
  background: #fff1f2;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.15);
}

.vac-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.vac-mode-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.vac-mode-icon.blue-ic { background: #2563eb; color: #fff; }
.vac-mode-icon.rose-ic { background: #e11d48; color: #fff; }

.vac-mode-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #93c5fd;
  background: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vac-mode-check.checked-blue {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.vac-mode-check.checked-rose {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
}

.vac-mode-card strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  color: #18181b;
}

.vac-mode-card small {
  display: block;
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 2px;
}

.vac-sub-desc {
  font-size: 0.68rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 8px;
}

.vac-sub-label {
  display: block;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 900;
  color: #52525b;
  margin-bottom: 6px;
}

.vac-counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}

.vac-cnt-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #27272a;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.vac-cnt-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #18181b;
}

.vac-slider {
  width: 100%;
  accent-color: #e11d48;
}

.vac-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  color: #64748b;
  margin-bottom: 10px;
}

.vac-roi-infobox {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 10px;
  border-radius: 14px;
  font-size: 0.68rem;
  color: #881337;
  margin-bottom: 12px;
}

.btn-red-find {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, #dc2626, #e11d48);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

/* Vacation Results List */
.vac-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.btn-link-red {
  background: none;
  border: none;
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}

.vac-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}

.vac-res-card {
  background: #ffffff;
  border: 2px solid #e4e4e7;
  border-radius: 18px;
  padding: 10px 12px;
  position: relative;
}

.vac-res-card.best {
  border-color: #f87171;
}

.vac-best-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 0 14px 0 10px;
  text-transform: uppercase;
}

.vac-res-period {
  background: #fef2f2;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 6px;
}

.vac-res-period small {
  display: block;
  font-size: 0.56rem;
  color: #ef4444;
  text-transform: uppercase;
}

.vac-res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.vac-res-row small {
  display: block;
  font-size: 0.6rem;
  color: #64748b;
}

.vac-res-row strong {
  font-size: 0.72rem;
}

.vac-res-big {
  text-align: right;
  color: #ef4444;
}

.vac-res-big b {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.vac-res-big span {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vac-res-stats {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 0.66rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.btn-view-cal {
  width: 100%;
  padding: 7px;
  border-radius: 99px;
  border: none;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

/* Modal 4: Salary Simulator & Extra Hours */
.sal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.sal-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sal-calc-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.sal-calc-ic.green {
  background: #d1fae5;
}

.sal-title-wrap h4 {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.15;
}

.green-title {
  color: #065f46;
}

.sal-month-pill {
  font-size: 0.62rem;
  color: #64748b;
}

.sal-indicators-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.sal-uf-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 9px;
  border-radius: 10px;
}

.sal-uf-box small {
  display: block;
  font-size: 0.56rem;
  font-weight: 900;
  color: #1d4ed8;
}

.sal-uf-box span {
  font-size: 0.64rem;
  font-weight: 700;
  color: #1e293b;
}

.sal-sec-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 10px;
}

.sal-main-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}

.sal-card-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
}

.sal-big-blue {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: #2563eb;
  line-height: 1.15;
  margin: 4px 0 8px;
}

.sal-warn-pill {
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #854d0e;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.sal-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.sal-two-cols small {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  color: #64748b;
}

.sal-two-cols strong {
  font-size: 0.9rem;
  font-weight: 900;
}

.sal-two-cols strong.red-txt {
  color: #ef4444;
}

.sal-lm-card {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sal-lm-card strong {
  font-size: 0.7rem;
  color: #c2410c;
}

.sal-lm-card p {
  font-size: 0.62rem;
  color: #9a3412;
}

.sal-lm-badge {
  background: #ffffff;
  color: #ea580c;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid #fdba74;
}

.btn-open-extra-sim {
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 1.5px solid #10b981;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-open-extra-sim:hover {
  background: #10b981;
  color: #ffffff;
}

/* Subview B: Extra Hours Simulator */
.extra-picker-box {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 10px;
}

.extra-box-title {
  display: block;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 8px;
}

.extra-shifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.extra-t-btn {
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  color: #27272a;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.extra-t-btn.active {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.extra-manual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
}

.extra-manual-row input {
  flex: 1;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #d4d4d8;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #059669;
}

.extra-result-card {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  margin-bottom: 10px;
}

.extra-res-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #065f46;
}

.extra-big-green {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #059669;
  line-height: 1.15;
  margin: 2px 0 6px;
}

.extra-diff-pill {
  display: inline-block;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.66rem;
  font-weight: 800;
  color: #059669;
}

.extra-breakdown-box {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 10px 12px;
}

.extra-bd-title {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 6px;
}

.extra-bd-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #ef4444;
  padding: 3px 0;
}

.extra-bd-row.bold {
  font-weight: 800;
  color: #dc2626;
}

/* Modal 5: Real ThemeModal ("Personaliza tu pantalla") */
.phone-modal-overlay.live-preview-mode {
  background: transparent;
  backdrop-filter: none;
  align-items: flex-end;
  pointer-events: none;
}

.theme-modal-sheet {
  padding: 0;
  max-height: 595px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid #e4e4e7;
}

.tm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
}

.tm-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-pink-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.tm-pink-icon svg {
  width: 18px;
  height: 18px;
}

.tm-header h4 {
  font-size: 0.9rem;
  font-weight: 900;
  color: #18181b;
  line-height: 1.15;
}

.tm-header p {
  font-size: 0.66rem;
  font-weight: 600;
  color: #71717a;
}

.tm-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow-y: auto;
}

.tm-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tm-sec-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tm-dot.blue { background: #3b82f6; }
.tm-dot.pink { background: #ec4899; }
.tm-dot.purple { background: #a855f7; }

.tm-sec-title h5 {
  font-size: 0.78rem;
  font-weight: 900;
  color: #18181b;
}

/* 1. Paleta de Colores (4 buttons) */
.tm-palettes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.tm-pal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px;
  border-radius: 14px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.tm-pal-btn span {
  font-size: 0.64rem;
  font-weight: 800;
  color: #3f3f46;
}

.tm-pal-btn.active-def {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.tm-pal-btn.active-def span { color: #2563eb; }

.tm-pal-btn.active-sob {
  background: #faf5ff;
  border-color: #a855f7;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}
.tm-pal-btn.active-sob span { color: #9333ea; }

.tm-pal-btn.active-cal {
  background: #fdf2f8;
  border-color: #ec4899;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.25);
}
.tm-pal-btn.active-cal span { color: #db2777; }

.tm-pal-btn.active-nat {
  background: #f0fdfa;
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.25);
}
.tm-pal-btn.active-nat span { color: #0d9488; }

.tm-pal-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.grad-def { background: linear-gradient(135deg, #6366f1, #38bdf8); }
.grad-sob { background: linear-gradient(135deg, #8b5cf6, #c084fc); }
.grad-cal { background: linear-gradient(135deg, #ec4899, #fb7185); }
.grad-nat { background: linear-gradient(135deg, #14b8a6, #34d399); }

/* 2. Fondo de Color en Calendario */
.tm-colorbg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 9px 11px;
}

.tm-colorbg-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tm-amber-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.tm-colorbg-left strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #18181b;
}

.tm-colorbg-left small {
  display: block;
  font-size: 0.6rem;
  color: #71717a;
}

.tm-switch {
  width: 40px;
  height: 22px;
  border-radius: 99px;
  border: none;
  background: #d4d4d8;
  padding: 2px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

.tm-switch.on {
  background: #f59e0b;
}

.tm-switch-knob {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.tm-switch.on .tm-switch-knob {
  transform: translateX(18px);
}

/* 3. Ediciones Especiales (6 Illustrated Cards) */
.tm-specials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.tm-sp-card {
  position: relative;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tm-sp-card:hover {
  transform: scale(1.02);
}

.tm-sp-card.active {
  box-shadow: 0 0 0 2.5px #2563eb;
}

.tm-sp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sp-navidad { background: linear-gradient(135deg, #10b981, #0f766e); }
.sp-patrias { background: linear-gradient(135deg, #2563eb, #f1f5f9, #dc2626); }
.sp-pascua { background: linear-gradient(135deg, #e879f9, #f9a8d4, #fde68a); }
.sp-halloween { background: linear-gradient(135deg, #3b0764, #18181b, #c2410c); }
.sp-verano { background: linear-gradient(135deg, #fde047, #fbbf24, #fb923c); }
.sp-anonuevo { background: linear-gradient(135deg, #1e1b4b, #1e3a8a, #312e81); }

.tm-sp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tm-sp-footer {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
  padding: 6px 8px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-sp-footer span {
  font-size: 0.64rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.tm-sp-chk {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
}

.tm-sp-card.active .tm-sp-chk {
  display: flex;
}

/* 4. Fondo Personalizado */
.tm-custom-box {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 9px 10px;
}

.tm-upload-drop {
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tm-upload-drop:hover {
  background: #f1f5f9;
}

.tm-upload-ic {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.tm-upload-drop strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #18181b;
}

.tm-upload-drop small {
  display: block;
  font-size: 0.58rem;
  color: #71717a;
}

.tm-photo-preview {
  position: relative;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #18181b;
}

.tm-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-del-photo {
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  background: #ef4444;
  color: #ffffff;
  border-radius: 8px;
  padding: 3px 6px;
  font-size: 0.7rem;
  cursor: pointer;
}

.tm-opacity-wrap {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid #e4e4e7;
}

.tm-opacity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.tm-opacity-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tm-opacity-left span {
  font-size: 0.68rem;
  font-weight: 800;
  color: #27272a;
}

.tm-btn-live-eye {
  padding: 2px 7px;
  border-radius: 7px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.6rem;
  font-weight: 800;
  cursor: pointer;
}

.tm-opacity-badge {
  background: #dbeafe;
  color: #2563eb;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 99px;
}

.tm-range {
  width: 100%;
  accent-color: #2563eb;
  cursor: pointer;
}

/* Compact Floating Live Opacity Preview Bar */
.tm-live-preview-dock {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(59, 130, 246, 0.35);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  margin-bottom: 8px;
}

.tm-lp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tm-lp-info {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tm-lp-eye {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.tm-lp-info strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  color: #18181b;
}

.tm-lp-info small {
  display: block;
  font-size: 0.58rem;
  color: #64748b;
}

.tm-lp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tm-lp-done {
  padding: 4px 10px;
  border-radius: 10px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.quick-feature-body {
  font-size: 0.8rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-screen-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  max-width: 420px;
}

.screen-tab {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.screen-tab:hover {
  border-color: #38bdf8;
  color: #ffffff;
}

.screen-tab.active {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.phone-notch {
  width: 110px;
  height: 22px;
  background: #0f172a;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f8fafc;
}

.phone-status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.phone-screen {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  color: #0f172a;
  border-radius: 34px;
  padding: 16px 14px 12px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

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

.app-regimen-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 99px;
}

.app-month-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

.app-pill-holiday {
  font-size: 0.68rem;
  font-weight: 700;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 4px 8px;
  border-radius: 99px;
}

.app-view-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-view {
  display: none;
  animation: fadeIn 0.25s ease;
}

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

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

.app-Shift-legend {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.legend-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shift-l { background: var(--shift-largo-bg); color: var(--shift-largo-text); }
.shift-n { background: var(--shift-noche-bg); color: var(--shift-noche-text); }
.shift-f { background: var(--shift-libre-bg); color: var(--shift-libre-text); }
.shift-x { background: var(--shift-extra-bg); color: var(--shift-extra-text); }
.shift-d { background: var(--shift-dia-bg); color: var(--shift-dia-text); }

.app-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.app-weekdays .sun {
  color: #ef4444;
  font-weight: 800;
}

.app-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 12px;
}

.cal-cell {
  aspect-ratio: 1;
  border-radius: 11px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
  user-select: none;
}

.cal-cell:hover {
  transform: scale(1.06);
}

.cal-cell.selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.cal-day-num {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.78;
  line-height: 1;
}

.cal-shift-code {
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
}

.cal-holiday-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
}

.cal-note-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.app-day-detail {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.day-detail-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-detail-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.day-detail-left strong {
  display: block;
  font-size: 0.78rem;
  color: #0f172a;
}

.day-detail-left p {
  font-size: 0.68rem;
  color: #64748b;
}

.day-detail-tag {
  font-size: 0.64rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Modal Views inside Phone */
.app-modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.app-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.app-modal-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.app-modal-icon.emerald { background: linear-gradient(135deg, #34d399, #0d9488); }
.app-modal-icon.purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.app-modal-icon.blue { background: linear-gradient(135deg, #60a5fa, #4f46e5); }
.app-modal-icon.rose { background: linear-gradient(135deg, #fb7185, #e11d48); }

.app-modal-head h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.app-modal-head p {
  font-size: 0.7rem;
  color: #64748b;
}

.vac-roi-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.vac-label {
  display: block;
  font-size: 0.66rem;
  color: #065f46;
}

.vac-big {
  font-size: 0.95rem;
  font-weight: 800;
  color: #064e3b;
}

.vac-big.highlight {
  color: #059669;
  font-size: 1.05rem;
}

.vac-arrow {
  color: #10b981;
  width: 18px;
  height: 18px;
}

.vac-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vac-option-item {
  padding: 9px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.vac-option-item.best {
  background: #f0fdf4;
  border-color: #86efac;
}

.vac-opt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.vac-badge-best {
  font-size: 0.65rem;
  font-weight: 800;
  color: #15803d;
}

.vac-badge-alt {
  font-size: 0.65rem;
  font-weight: 800;
  color: #0369a1;
}

.vac-dates {
  font-size: 0.68rem;
  font-weight: 700;
  color: #334155;
}

.vac-option-item p {
  font-size: 0.68rem;
  color: #475569;
}

/* Salary View in Phone */
.salary-regimen-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.salary-regimen-tabs span {
  text-align: center;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 5px 2px;
  border-radius: 7px;
  color: #64748b;
}

.salary-regimen-tabs span.active {
  background: #ffffff;
  color: #7c3aed;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.salary-summary-box {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  margin-bottom: 10px;
}

.salary-summary-box span {
  display: block;
  font-size: 0.68rem;
  opacity: 0.9;
}

.salary-amount {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 2px 0;
}

.salary-extra-pill {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.64rem !important;
  font-weight: 700;
}

.salary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  padding: 5px 8px;
  background: #f8fafc;
  border-radius: 8px;
}

.sal-row b.neg {
  color: #dc2626;
}

.salary-privacy-note {
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #4c1d95;
  font-size: 0.66rem;
  line-height: 1.35;
}

/* Notes View inside Phone */
.notes-list-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-demo-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.note-demo-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 7px;
  white-space: nowrap;
}

.note-demo-row strong {
  display: block;
  font-size: 0.74rem;
  color: #0f172a;
}

.note-demo-row p {
  font-size: 0.66rem;
  color: #64748b;
}

/* Friends View in Phone */
.friends-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.friends-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.72rem;
}

.friends-row.header {
  background: transparent;
  font-weight: 700;
  color: #64748b;
  font-size: 0.66rem;
}

.friends-row.me {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.friend-name {
  font-weight: 700;
  color: #1e293b;
}

.friends-row b {
  text-align: center;
  padding: 3px 0;
  border-radius: 6px;
  font-size: 0.7rem;
}

.c-l { background: var(--shift-largo-bg); color: var(--shift-largo-text); }
.c-n { background: var(--shift-noche-bg); color: var(--shift-noche-text); }
.c-f { background: var(--shift-libre-bg); color: var(--shift-libre-text); }

.friends-match-alert {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.72rem;
}

/* Themes View in Phone */
.theme-pills-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.exc-btn {
  flex: 1;
  text-align: center;
  padding: 7px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
}

.exc-btn.vac { background: #dbeafe; color: #1d4ed8; }
.exc-btn.lm { background: #fee2e2; color: #b91c1c; }

.color-swatches-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.swatch-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

.swatch-item span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-block;
}

.theme-note {
  font-size: 0.7rem;
  color: #64748b;
}

/* Bottom Dock inside Phone */
.app-bottom-dock {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 8px 6px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  margin-top: 10px;
}

.dock-btn {
  flex: 1;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.dock-btn:hover, .dock-btn.active {
  transform: translateY(-3px);
}

.dock-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.dock-icon svg {
  width: 17px;
  height: 17px;
}

.dock-btn.active .dock-icon {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.bg-cyan { background: linear-gradient(135deg, #38bdf8, #06b6d4); }
.bg-orange { background: linear-gradient(135deg, #fb923c, #ef4444); }
.bg-emerald { background: linear-gradient(135deg, #34d399, #14b8a6); }
.bg-indigo { background: linear-gradient(135deg, #60a5fa, #6366f1); }
.bg-purple { background: linear-gradient(135deg, #a78bfa, #9333ea); }
.bg-rose { background: linear-gradient(135deg, #f472b6, #f43f5e); }

.dock-divider {
  width: 1.5px;
  height: 32px;
  background: #cbd5e1;
  align-self: center;
  margin: 0 2px 10px;
  border-radius: 99px;
  flex-shrink: 0;
}

.dock-btn span {
  font-size: 0.58rem;
  font-weight: 800;
  color: #334155;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.22);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

body.dark-mode .section-eyebrow {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.28);
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SOLUTIONS SECTION (LUMINOUS INDIGO-SKY CANVAS)
   ========================================================================== */
.solutions-section {
  background: linear-gradient(180deg, #eef4ff 0%, #f5f8ff 50%, #edf6ff 100%);
  border-bottom: 1px solid var(--border-color);
}

body.dark-mode .solutions-section {
  background: linear-gradient(180deg, #091224 0%, #0d1830 100%);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.solution-card {
  background: var(--bg-card-solid);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 45px -12px rgba(30, 58, 138, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: #2563eb;
  box-shadow: 0 26px 55px -12px rgba(37, 99, 235, 0.2);
}

.solution-problem {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.1), rgba(244, 63, 94, 0.03));
  border-left: 4px solid #f43f5e;
  padding: 14px 16px;
  border-radius: 12px;
}

.problem-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e11d48;
  margin-bottom: 4px;
}

.solution-problem p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
}

.solution-arrow {
  display: flex;
  justify-content: center;
  color: #10b981;
}

.solution-answer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 18px;
  border-radius: 18px;
}

.solution-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.3);
}

.solution-answer h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.solution-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ATTRIBUTES BENTO GRID (MODERN DARK SAPPHIRE STAGE)
   ========================================================================== */
.attributes-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(37, 99, 235, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(124, 58, 237, 0.24) 0%, transparent 45%),
    linear-gradient(165deg, #070e1e 0%, #0e1c38 55%, #091224 100%);
  color: #f8fafc;
}

.attributes-section .section-eyebrow {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.32);
}

.attributes-section .section-title {
  color: #ffffff;
}

.attributes-section .section-desc {
  color: #cbd5e1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: rgba(17, 29, 54, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.28);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.bento-icon-wrap.orange { background: linear-gradient(135deg, #fb923c, #ef4444); }
.bento-icon-wrap.cyan { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.bento-icon-wrap.emerald { background: linear-gradient(135deg, #34d399, #059669); }
.bento-icon-wrap.pink { background: linear-gradient(135deg, #f472b6, #e11d48); }
.bento-icon-wrap.blue { background: linear-gradient(135deg, #60a5fa, #4f46e5); }
.bento-icon-wrap.purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

.bento-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 99px;
}

.tag-blue { background: rgba(56, 189, 248, 0.18); color: #7dd3fc; }
.tag-orange { background: rgba(251, 146, 60, 0.18); color: #fdba74; }
.tag-cyan { background: rgba(34, 211, 238, 0.18); color: #67e8f9; }
.tag-emerald { background: rgba(52, 211, 153, 0.18); color: #6ee7b7; }
.tag-pink { background: rgba(244, 114, 182, 0.18); color: #f9a8d4; }
.tag-purple { background: rgba(167, 139, 250, 0.2); color: #c4b5fd; }

.bento-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.bento-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.bento-card p strong {
  color: #ffffff;
}

.rotativas-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.rotativa-pill {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rotativa-pill strong {
  font-size: 0.9rem;
  color: #f8fafc;
}

.rotativa-pill small {
  font-size: 0.76rem;
  color: #94a3b8;
}

.seq-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.seq-badges span {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 7px;
}

.b-l { background: var(--shift-largo-bg); color: var(--shift-largo-text); }
.b-n { background: var(--shift-noche-bg); color: var(--shift-noche-text); }
.b-f { background: var(--shift-libre-bg); color: var(--shift-libre-text); }
.b-d { background: var(--shift-dia-bg); color: var(--shift-dia-text); }
.b-sp { background: #fed7aa; color: #9a3412; }
.b-sr { background: #fecaca; color: #991b1b; }
.b-custom { background: #e0e7ff; color: #3730a3; }

.bento-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.bento-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.bento-check-list li strong {
  color: #ffffff;
}

.bento-check-list li svg {
  width: 16px;
  height: 16px;
  color: #34d399;
  flex-shrink: 0;
  margin-top: 3px;
}

.notes-mini-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.note-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.note-date {
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.note-mini-item p {
  font-size: 0.84rem;
  color: #e2e8f0;
}

/* ==========================================================================
   SECTORS SECTION
   ========================================================================== */
.sectors-section {
  background: linear-gradient(180deg, #f0f6ff 0%, #e6f0fd 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

body.dark-mode .sectors-section {
  background: linear-gradient(180deg, #0b1426 0%, #070d19 100%);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.sector-card {
  background: var(--bg-card-solid);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  box-shadow: 0 14px 32px -10px rgba(30, 58, 138, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 22px 45px -10px rgba(37, 99, 235, 0.22);
}

.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #ffffff;
}

.sector-icon.blue { background: linear-gradient(135deg, #2563eb, #0284c7); }
.sector-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.sector-icon.purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.sector-icon.amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.sector-icon.pink { background: linear-gradient(135deg, #ec4899, #be185d); }

.sector-law {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2563eb;
}

body.dark-mode .sector-law {
  color: #38bdf8;
}

.sector-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 4px 0 8px;
}

.sector-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE SIMULATOR SECTION
   ========================================================================== */
.simulator-section {
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

.simulator-box {
  background: var(--bg-card-solid);
  border: 1.5px solid rgba(37, 99, 235, 0.24);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: 0 28px 70px -15px rgba(30, 58, 138, 0.16);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.simulator-info h2 {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.simulator-info p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.sim-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sim-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(37, 99, 235, 0.28);
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.sim-summary {
  padding: 15px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.simulator-output {
  background: linear-gradient(180deg, #f1f6fd 0%, #e8f0fe 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-lg);
  padding: 26px;
}

body.dark-mode .simulator-output {
  background: #0b1426;
}

.sim-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 0.92rem;
}

.sim-live-pill {
  font-size: 0.74rem;
  background: rgba(16, 185, 129, 0.18);
  color: #059669;
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 800;
}

.sim-weekdays-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding: 0 2px;
}

.sim-weekdays-header .wknd {
  color: #dc2626;
}

.sim-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.sim-day-card {
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid transparent;
  position: relative;
}

.sim-day-card.is-today {
  border-color: #2563eb;
  overflow: hidden;
  animation: todayBlinkLighten 1.4s ease-in-out infinite;
}

.sim-day-card.is-today::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  animation: todayWhiteOverlay 1.4s ease-in-out infinite;
}

@keyframes todayBlinkLighten {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px 4px rgba(37, 99, 235, 0.55);
    transform: scale(1.04);
  }
}

@keyframes todayWhiteOverlay {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.55;
  }
}

.sim-day-name {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.82;
}

.sim-day-num {
  font-size: 0.75rem;
  font-weight: 600;
}

.sim-day-badge {
  font-size: 0.95rem;
  font-weight: 800;
}

.sim-cta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.sim-cta-footer p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   DOWNLOAD & QR CENTER SECTION
   ========================================================================== */
.download-card {
  background:
    radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.35), transparent 45%),
    linear-gradient(135deg, #070e20 0%, #152c5b 55%, #0c4a6e 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 32px 80px -15px rgba(15, 23, 42, 0.45);
}

.download-content h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 14px 0;
}

.download-lead {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 28px;
}

.download-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #38bdf8, #34d399);
  color: #0f172a;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item strong {
  display: block;
  font-size: 0.98rem;
}

.step-item p {
  font-size: 0.86rem;
  color: #cbd5e1;
}

.download-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.store-svg-lg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn.store-dark {
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.store-btn.store-dark:hover {
  background: #0f172a;
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.store-btn.primary-store {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.store-btn.primary-store:hover {
  transform: translateY(-2px);
  background: #f0f9ff;
}

.store-btn.secondary-store {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.store-btn.secondary-store:hover {
  background: rgba(255, 255, 255, 0.2);
}

.store-btn small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

.store-btn strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.qr-config-panel {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-config-panel.hidden {
  display: none;
}

.qr-config-panel label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.qr-config-row {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}

.qr-config-row input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.qr-config-panel small {
  font-size: 0.76rem;
  color: #cbd5e1;
}

/* Large QR Showcase Card */
.download-qr-showcase {
  display: flex;
  justify-content: center;
}

.qr-card-frame {
  background: #ffffff;
  color: #0f172a;
  padding: 28px 24px;
  border-radius: 28px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.qr-card-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.qr-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.qr-canvas-wrapper {
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 20px;
  border: 2px dashed #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.qr-canvas-wrapper svg,
.qr-canvas-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-url-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  word-break: break-all;
}

.qr-platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
}

.qr-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background: linear-gradient(180deg, #f4f7fb 0%, #e9f0fa 100%);
}

body.dark-mode .faq-section {
  background: #070d19;
}

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card-solid);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: 0 10px 25px -8px rgba(30, 58, 138, 0.08);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  transition: transform 0.25s ease;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   PRIVACY POLICY SECTION
   ========================================================================== */
.privacy-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1), transparent 45%),
    linear-gradient(180deg, #eef4fc 0%, #f8fafc 100%);
  border-top: 1px solid var(--border-color);
}

body.dark-mode .privacy-section {
  background: #091224;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.privacy-card {
  background: var(--bg-card-solid);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 16px 38px -10px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-card.highlight-privacy {
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), var(--bg-card-solid));
}

.privacy-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #0d9488);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.privacy-icon.emerald { background: linear-gradient(135deg, #10b981, #0d9488); }
.privacy-icon.blue { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.privacy-icon.purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.privacy-icon.orange { background: linear-gradient(135deg, #f59e0b, #ea580c); }

.privacy-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.privacy-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.privacy-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER (DEEP SAPPHIRE FINALE)
   ========================================================================== */
.footer {
  background: #060c1a;
  color: #e2e8f0;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  padding: 68px 0 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-desc {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 320px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-col a, .footer-col span, .footer-col p {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-domain-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8 !important;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
}

.footer-copy {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #64748b;
}

/* ==========================================================================
   JUSTIFIED & ORDERED TEXT ALIGNMENT ACROSS SECTIONS
   ========================================================================== */
.hero-subtitle,
.solution-card p,
.bento-card > p,
.sector-card p,
.simulator-info > p,
.sim-summary,
.download-lead,
.step-item p,
.faq-item p,
.privacy-card p,
.footer-desc {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.65;
}

.bento-check-list li {
  text-align: left;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN (PC + TABLET + MOBILE OPTIMIZATION)
   ========================================================================== */
.hero-content,
.hero-visual,
.solution-card,
.bento-card,
.sector-card,
.simulator-info,
.simulator-output,
.download-content,
.download-qr-showcase,
.privacy-card,
.footer-brand,
.footer-col {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1060px) {
  .hero-grid,
  .simulator-box,
  .download-card {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-span-2 {
    grid-column: span 2;
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  /* Compact Navbar that fits 100% on Mobile */
  .navbar-inner {
    height: 70px;
    gap: 8px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-domain {
    font-size: 0.65rem;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .nav-actions .btn-sm {
    padding: 7px 11px;
    font-size: 0.75rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #091326;
    flex-direction: column;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero Mobile Adjustments */
  .hero {
    padding: 36px 0 60px;
  }

  .hero-tag {
    font-size: 0.74rem;
    padding: 6px 12px;
    line-height: 1.35;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 0.96rem;
    margin-bottom: 22px;
    text-align: left;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.92rem;
  }

  .hero-stores-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-stores-row .store-badge-btn {
    width: 100%;
    padding: 9px 12px;
    gap: 8px;
    justify-content: center;
  }

  .hero-stores-row .direct-apk-badge {
    grid-column: span 2;
  }

  .hero-qr-strip {
    flex-direction: column;
    text-align: center;
    padding: 14px;
    gap: 12px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .stat-label {
    max-width: none;
    font-size: 0.82rem;
  }

  /* Interactive Phone Mockup on Mobile */
  .phone-hint {
    font-size: 0.72rem;
    padding: 6px 12px;
    text-align: center;
  }

  .phone-frame.live-app-frame {
    width: 100%;
    max-width: 365px;
    border-radius: 36px;
    padding: 8px;
  }

  .live-app-screen {
    border-radius: 28px;
    min-height: 600px;
    padding: 10px 6px 8px;
  }

  .real-calendar-grid {
    grid-template-rows: repeat(5, 62px);
  }

  /* Grids -> Single Column on Mobile */
  .solutions-grid,
  .bento-grid,
  .rotativas-showcase,
  .sectors-grid,
  .download-buttons-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-span-2 {
    grid-column: span 1;
  }

  /* Cards & Solutions: Full-Width Text on Mobile (No Narrow Columns!) */
  .solution-card,
  .bento-card,
  .sector-card,
  .privacy-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .solution-problem {
    padding: 14px;
  }

  .solution-answer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  /* Use clean left alignment on narrow mobile screens to avoid huge word gaps */
  .solution-card p,
  .bento-card > p,
  .sector-card p,
  .simulator-info > p,
  .sim-summary,
  .download-lead,
  .step-item p,
  .faq-item p,
  .privacy-card p,
  .footer-desc {
    text-align: left;
    hyphens: none;
    line-height: 1.58;
  }

  /* 14-Day Cycle Simulator on Mobile */
  .download-card,
  .simulator-box {
    padding: 22px 14px;
    border-radius: 22px;
    gap: 24px;
  }

  .simulator-output {
    padding: 14px 10px;
  }

  .sim-output-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .sim-weekdays-header,
  .sim-days-grid {
    gap: 4px;
  }

  .sim-day-card {
    padding: 6px 2px;
    border-radius: 9px;
  }

  .sim-day-name {
    font-size: 0.54rem;
  }

  .sim-day-num {
    font-size: 0.62rem;
  }

  .sim-day-badge {
    font-size: 0.85rem;
  }

  /* QR Card on Mobile */
  .qr-card-frame {
    max-width: 100%;
    padding: 20px 16px;
  }

  .qr-canvas-wrapper {
    width: 190px;
    height: 190px;
  }

  /* Floating Stamp on Mobile */
  .cs-floating-stamp {
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    padding: 8px 12px;
  }

  .footer {
    padding: 48px 0 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 390px) {
  .nav-actions .btn-sm span {
    display: none;
  }

  .real-calendar-grid {
    grid-template-rows: repeat(5, 56px);
  }

  .rc-note {
    font-size: 0.52rem;
  }
}
