@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root, [data-theme="dark"] {
  --bg-body: #0B1120;
  --bg-surface: #0F172A;
  --bg-card: #162032;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --line-color: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(11, 17, 32, 0.94);
  --nav-border: #F59E08;
  --red: #DC2626;
  --red-deep: #991B1B;
  --gold: #F59E08;
}

[data-theme="light"] {
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --line-color: rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.96);
  --nav-border: #DC2626;
  --red: #DC2626;
  --red-deep: #B91C1C;
  --gold: #D97706;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* ---------- NAVBAR ---------- */
.navbar-lac {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--nav-border);
  padding: 12px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}
.navbar-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-menu-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-menu-links a:hover { color: var(--gold); }
.badge-capitol {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-theme-switch {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-theme-switch svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.btn-lac-primary {
  background: var(--red);
  color: #FFFFFF !important;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
}
.btn-lac-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

.btn-lac-ghost {
  border: 1px solid var(--line-color);
  color: var(--text-main) !important;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-lac-ghost:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--line-color);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  margin: 18px 0;
}
.hero p.lead {
  font-size: 1.02rem;
  color: #CBD5E1;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stats div span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
}
.hero-stats div small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- IATA TICKET (3D FLOAT) ---------- */
.iata-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.iata-ticket {
  width: 100%;
  max-width: 580px;
  background: #FAF8F2;
  color: #111827 !important;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 165px;
  box-shadow: 0 35px 70px -15px rgba(0,0,0,0.65);
  font-family: 'JetBrains Mono', monospace;
  transform: rotateY(-10deg) rotateX(4deg) rotateZ(-2deg);
  animation: floatIata 6s ease-in-out infinite;
  position: relative;
}
.iata-ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: #EDEAE0;
  z-index: -1;
  transform: translate3d(12px, 16px, -15px) rotate(2deg);
  opacity: 0.6;
}
@keyframes floatIata {
  0%, 100% { transform: rotateY(-10deg) rotateX(4deg) rotateZ(-2deg) translateY(0); }
  50% { transform: rotateY(-7deg) rotateX(2deg) rotateZ(-1deg) translateY(-12px); }
}
.iata-main {
  padding: 18px 20px;
  border-right: 2px dashed rgba(17, 24, 39, 0.22);
  position: relative;
  background: #FAF8F2;
  border-radius: 14px 0 0 14px;
}
.iata-main::before, .iata-main::after {
  content: "";
  position: absolute;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-body);
  z-index: 5;
}
.iata-main::before { top: -9px; }
.iata-main::after { bottom: -9px; }
.iata-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0F172A;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.iata-brand-title { font-size: 0.72rem; font-weight: 700; color: #0F172A; }
.iata-type { font-size: 0.55rem; color: #64748B; }
.iata-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 12px;
}
.iata-col-2 { grid-column: span 2; }
.iata-col-3 { grid-column: span 3; }
.iata-field label {
  display: block;
  font-size: 0.52rem;
  color: #64748B;
  text-transform: uppercase;
}
.iata-field .val {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A;
}
.iata-field .val-lg {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
  line-height: 1;
}
.iata-bcbp-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}
.iata-pdf417 {
  flex-grow: 1;
  height: 32px;
  background: repeating-linear-gradient(
    90deg,
    #0F172A 0 1px, transparent 1px 3px,
    #0F172A 3px 5px, transparent 5px 6px,
    #0F172A 6px 8px, transparent 8px 10px
  );
  border: 1px solid #0F172A;
}
.iata-stub {
  padding: 18px 14px;
  background: #F3EEDF;
  border-radius: 0 14px 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.iata-stub-header {
  font-size: 0.58rem;
  font-weight: 700;
  color: #DC2626;
  border-bottom: 1px solid #0F172A;
  padding-bottom: 4px;
  margin-bottom: 8px;
  text-align: right;
}
.iata-stub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.iata-stub-bar {
  height: 24px;
  background: repeating-linear-gradient(90deg, #0F172A 0 2px, transparent 2px 5px);
  margin-top: 8px;
}

/* ---------- SECTION GENERALS ---------- */
section.lac-sec {
  padding: 95px 0;
  border-bottom: 1px solid var(--line-color);
}
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.lac-card {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: 18px;
  padding: 34px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.lac-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
}
.lac-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

/* ---------- CARTA DE LA DIRECCIÓ ---------- */
.letter-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.letter-figure {
  position: sticky;
  top: 100px;
}
.letter-seal-card {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.letter-seal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}
.seal-symbol {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}
.letter-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin-bottom: 22px;
}
.letter-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 0.98rem;
}
.signoff-box {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  gap: 16px;
}
.signoff-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- CAPÍTOL 1 (DISSENY RADAR / DESPATX AERI) ---------- */
.chapter-dispatch-box {
  background: linear-gradient(135deg, rgba(22, 32, 50, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 22px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.chapter-dispatch-box::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
  pointer-events: none;
}
.dispatch-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.progress-rail {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
  margin: 18px 0 10px;
}
.progress-rail-fill {
  background: linear-gradient(90deg, var(--gold), var(--red));
  height: 100%;
  border-radius: 100px;
}
.telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-color);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ---------- FLOTA ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.fleet-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
}
.fleet-img-wrap {
  aspect-ratio: 16/10;
  background: #0B1120;
  border-bottom: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fleet-info { padding: 24px 22px; }
.fleet-info .type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--line-color);
  padding-top: 14px;
  margin-top: 14px;
}
.spec-item small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  color: var(--text-muted);
}
.spec-item span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ---------- STAFF GRID ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.staff-card {
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
.staff-photo-wrap {
  aspect-ratio: 4/5;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.staff-card:hover .staff-photo-wrap {
  transform: translateY(-5px);
  border-color: var(--gold);
}
.staff-photo-wrap .initials {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.staff-card h4 { font-size: 1.05rem; margin-bottom: 2px; }
.staff-card small { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- PARTNERS ---------- */
.partner-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 26px;
  padding: 42px 0;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}
.partner-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}
.partner-tag:hover { opacity: 1; color: var(--gold); }

/* ---------- CTA BANNER ---------- */
.cta-sec {
  background: radial-gradient(circle at 50% 20%, rgba(220, 38, 38, 0.18), transparent 70%), var(--bg-surface);
  text-align: center;
  padding: 110px 0;
  border-bottom: 1px solid var(--line-color);
}

/* ---------- MODAL ---------- */
.lac-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 20px;
}
.lac-modal-backdrop.open { display: flex; }
.lac-modal {
  background: var(--bg-surface);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  border: 1px solid var(--line-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lac-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text-main);
  border: 1px solid var(--line-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lac-modal-close:hover { background: var(--red); color: #fff; }

/* ---------- FOOTER ---------- */
footer.lac-footer {
  background: #070B14;
  color: #94A3B8;
  padding: 70px 0 28px;
  border-top: 3px solid var(--gold);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.foot-col a {
  display: block;
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s;
}
.foot-col a:hover { color: #FFFFFF; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .letter-grid { grid-template-columns: 1fr; }
  .letter-figure { position: static; }
  .dispatch-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .card-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .iata-ticket { grid-template-columns: 1fr; transform: none !important; animation: none !important; }
  .iata-ticket::before { display: none; }
  .iata-main { border-right: none; border-bottom: 2px dashed rgba(17, 24, 39, 0.22); border-radius: 14px 14px 0 0; }
  .iata-main::before, .iata-main::after { display: none; }
  .iata-stub { border-radius: 0 0 14px 14px; }
}

/* ---------- REDISSENY DEL BITLLET IATA (AMPLI I IDENTITAT PRÒPIA LAC) ---------- */
.iata-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1600px !important;
  padding: 20px 0;
}

.iata-ticket {
  width: 100%;
  max-width: 680px !important; /* Més apaïsat i menys comprimit */
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  color: #0F172A !important;
  border-radius: 16px !important;
  display: grid;
  grid-template-columns: 1fr 190px !important;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1.5deg) !important;
  animation: floatIataCustom 6s ease-in-out infinite !important;
  position: relative !important;
}

/* Capa posterior estilitzada amb vora daurada Senyera */
.iata-ticket::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 16px !important;
  background: #0F172A !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  z-index: -1 !important;
  transform: translate3d(14px, 18px, -20px) rotate(2.2deg) !important;
  opacity: 0.8 !important;
}

@keyframes floatIataCustom {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1.5deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(2deg) rotateZ(-0.8deg) translateY(-12px); }
}

.iata-main {
  padding: 22px 26px !important;
  background: #FFFFFF !important;
  border-radius: 16px 0 0 16px !important;
  border-right: 2px dashed rgba(15, 23, 42, 0.18) !important;
}

.iata-stub {
  padding: 22px 18px !important;
  background: #F1F5F9 !important;
  border-radius: 0 16px 16px 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* ---------- MARC DE LA IMATGE PER A LA CARTA DE LA DIRECCIÓ ---------- */
.letter-img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: #1E293B;
  border: 1px solid var(--line-color);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.letter-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.letter-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}

/* ---------- TARGETES DE STAFF REFINADES & CRIDA DE VACANTS (CAREERS) ---------- */
.staff-card-modern {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.staff-card-modern:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}
.staff-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.crew-rank-dots {
  display: flex;
  gap: 4px;
}
.crew-rank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.crew-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* Caixa d'unió a l'equip (Openings / Uneix-te a l'Staff) */
.staff-join-box {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(245, 158, 11, 0.08));
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ---------- ESPAIAT DE RESPIRACIÓ SOBRE EL FOOTER ---------- */
.cta-sec {
  padding: 120px 0 130px !important;
  margin-bottom: 0 !important;
}

/* BOTÓ ACTIU CAPÍTOL 1 AL MENÚ SUPERIOR */
.nav-btn-chapter {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  border-radius: 100px !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: var(--gold) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}
.nav-btn-chapter:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: var(--gold) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.3) !important;
  color: #FFFFFF !important;
}
.nav-btn-chapter .badge-actiu {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.6rem !important;
  background: var(--gold) !important;
  color: #0B1120 !important;
  padding: 2px 7px !important;
  border-radius: 100px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
}

/* LOGOS SEGONS EL TEMA (DIA / NIT) */
.logo-light, .logo-dark {
  height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
}
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
[data-theme="light"] .logo-light { display: block !important; }
[data-theme="light"] .logo-dark { display: none !important; }

/* CAIXA GROGA DEL CAPÍTOL 1 AL MENÚ */
.nav-capitol-box {
  background: #F59E08 !important;
  color: #0B1120 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45) !important;
  border: 1px solid #D97706 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.nav-capitol-box:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.75) !important;
  color: #000000 !important;
}
.nav-capitol-tag {
  background: #0B1120 !important;
  color: #F59E08 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.05em !important;
}

/* ASSEGURAR VISIBILITAT DEL BITLLET IATA */
.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 36px !important;
  align-items: center !important;
}
.iata-wrap {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.iata-ticket {
  width: 100% !important;
  max-width: 580px !important;
  display: grid !important;
  grid-template-columns: 1fr 165px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* LOGOS SEGONS EL TEMA (DIA / NIT) */
.logo-light, .logo-dark {
  height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
}
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
[data-theme="light"] .logo-light { display: block !important; }
[data-theme="light"] .logo-dark { display: none !important; }

/* CAIXA GROGA DEL CAPÍTOL 1 AL MENÚ */
.nav-capitol-box {
  background: #F59E08 !important;
  color: #0B1120 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45) !important;
  border: 1px solid #D97706 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.nav-capitol-box:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.75) !important;
  color: #000000 !important;
}
.nav-capitol-tag {
  background: #0B1120 !important;
  color: #F59E08 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.05em !important;
}

/* ASSEGURAR VISIBILITAT DEL BITLLET IATA */
.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 36px !important;
  align-items: center !important;
}
.iata-wrap {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.iata-ticket {
  width: 100% !important;
  max-width: 580px !important;
  display: grid !important;
  grid-template-columns: 1fr 165px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* LOGOS SEGONS EL TEMA (DIA / NIT) */
.logo-light, .logo-dark {
  height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
}
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
[data-theme="light"] .logo-light { display: block !important; }
[data-theme="light"] .logo-dark { display: none !important; }

/* CAIXA GROGA DEL CAPÍTOL 1 AL MENÚ */
.nav-capitol-box {
  background: #F59E08 !important;
  color: #0B1120 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45) !important;
  border: 1px solid #D97706 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.nav-capitol-box:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.75) !important;
  color: #000000 !important;
}
.nav-capitol-tag {
  background: #0B1120 !important;
  color: #F59E08 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.05em !important;
}

/* ASSEGURAR VISIBILITAT DEL BITLLET IATA */
.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 36px !important;
  align-items: center !important;
}
.iata-wrap {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.iata-ticket {
  width: 100% !important;
  max-width: 580px !important;
  display: grid !important;
  grid-template-columns: 1fr 165px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ---------- CORRECCIÓ DE MARGES I MAJÚSCULES AL HEADER ---------- */
.nav-container {
  width: 100% !important;
  max-width: 1260px !important;
  margin: 0 auto !important;
  padding: 0 clamp(24px, 4vw, 48px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.nav-menu-links a {
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.8rem !important;
}

.nav-capitol-box {
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* ---------- LOGO AMPLIAT AMB AIRE I ELIMINACIÓ D'HAMBURGUESA A ESCRIPTORI ---------- */
.navbar-brand {
  display: flex !important;
  align-items: center !important;
  margin-right: 28px !important;
}

.logo-light, .logo-dark {
  height: 56px !important; /* Mida ampliada per a lectura òptima */
  width: auto !important;
  padding: 4px 0 !important;
  transition: transform 0.2s ease !important;
}
.logo-light:hover, .logo-dark:hover {
  transform: scale(1.03) !important;
}

/* Ocultar l'hamburguesa en pantalles normals i d'escriptori */
.nav-mobile-toggle {
  display: none !important;
}
@media (max-width: 1024px) {
  .nav-mobile-toggle {
    display: flex !important;
  }
}

/* ---------- REDISSENY DEL MANIFEST: DOSSIER DE VOL (ZERO ESTIL vRAM) ---------- */
.manifest-sec {
  background: var(--bg-surface);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  padding: 100px 0;
  position: relative;
}

.manifest-dossier {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.manifest-header-bar {
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid var(--line-color);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.manifest-header-bar strong {
  color: var(--gold);
}

.manifest-body {
  padding: 48px clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.manifest-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
.manifest-text p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.manifest-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manifest-img-frame {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 14px;
  background: #0B1120;
  border: 1px dashed rgba(245, 158, 11, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifest-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.manifest-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line-color);
  padding-top: 16px;
}
.spec-box small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.spec-box span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.manifest-dispatch-signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-color);
  padding-top: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .manifest-body { grid-template-columns: 1fr; }
  .manifest-header-bar { padding: 14px 20px; }
}

/* ---------- LOGO AMPLIAT AMB AIRE I ELIMINACIÓ D'HAMBURGUESA A ESCRIPTORI ---------- */
.navbar-brand {
  display: flex !important;
  align-items: center !important;
  margin-right: 28px !important;
}

.logo-light, .logo-dark {
  height: 56px !important; /* Mida ampliada per a lectura òptima */
  width: auto !important;
  padding: 4px 0 !important;
  transition: transform 0.2s ease !important;
}
.logo-light:hover, .logo-dark:hover {
  transform: scale(1.03) !important;
}

/* Ocultar l'hamburguesa en pantalles normals i d'escriptori */
.nav-mobile-toggle {
  display: none !important;
}
@media (max-width: 1024px) {
  .nav-mobile-toggle {
    display: flex !important;
  }
}

/* ---------- REDISSENY DEL MANIFEST: DOSSIER DE VOL (ZERO ESTIL vRAM) ---------- */
.manifest-sec {
  background: var(--bg-surface);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  padding: 100px 0;
  position: relative;
}

.manifest-dossier {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.manifest-header-bar {
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid var(--line-color);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.manifest-header-bar strong {
  color: var(--gold);
}

.manifest-body {
  padding: 48px clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.manifest-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
.manifest-text p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.manifest-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manifest-img-frame {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 14px;
  background: #0B1120;
  border: 1px dashed rgba(245, 158, 11, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifest-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.manifest-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line-color);
  padding-top: 16px;
}
.spec-box small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.spec-box span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.manifest-dispatch-signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-color);
  padding-top: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .manifest-body { grid-template-columns: 1fr; }
  .manifest-header-bar { padding: 14px 20px; }
}

/* ---------- HERO EN FORMAT NIT PERMANENT (TEXT BLANC SEMPRE) ---------- */
.hero,
[data-theme="light"] .hero,
[data-theme="dark"] .hero {
  color: #F8FAFC !important;
}

.hero h1,
[data-theme="light"] .hero h1,
[data-theme="dark"] .hero h1 {
  color: #FFFFFF !important;
}

.hero h1 em,
[data-theme="light"] .hero h1 em,
[data-theme="dark"] .hero h1 em {
  color: var(--gold) !important;
}

.hero p.lead,
[data-theme="light"] .hero p.lead,
[data-theme="dark"] .hero p.lead {
  color: #CBD5E1 !important;
}

.hero .eyebrow,
[data-theme="light"] .hero .eyebrow,
[data-theme="dark"] .hero .eyebrow {
  color: var(--gold) !important;
}

.hero-stats div span,
[data-theme="light"] .hero-stats div span,
[data-theme="dark"] .hero-stats div span {
  color: #FFFFFF !important;
}

.hero-stats div small,
[data-theme="light"] .hero-stats div small,
[data-theme="dark"] .hero-stats div small {
  color: #94A3B8 !important;
}

.hero .btn-lac-ghost,
[data-theme="light"] .hero .btn-lac-ghost,
[data-theme="dark"] .hero .btn-lac-ghost {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.hero .btn-lac-ghost:hover,
[data-theme="light"] .hero .btn-lac-ghost:hover,
[data-theme="dark"] .hero .btn-lac-ghost:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* ---------- NOU FORMAT EXECUTIU TARGETA D'EMBARCAMENT LAC ---------- */
.iata-ticket-modern {
  width: 100%;
  max-width: 660px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: 1fr 180px;
  overflow: hidden;
  color: #0F172A;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1.2deg);
  animation: floatModernTicket 6s ease-in-out infinite;
}

@keyframes floatModernTicket {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1.2deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(2deg) rotateZ(-0.6deg) translateY(-10px); }
}

.ticket-main-section {
  padding: 26px 28px;
  background: #FFFFFF;
  position: relative;
}

/* Divisòria neta amb línia de seguretat vertical */
.ticket-main-section::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #CBD5E1 0 6px, transparent 6px 12px);
}

.ticket-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid #0F172A;
  margin-bottom: 18px;
}
.ticket-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: #0F172A;
}
.ticket-class-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.ticket-route-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}
.route-station big {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: #0F172A;
}
.route-station small {
  font-size: 0.62rem;
  color: #64748B;
  text-transform: uppercase;
}
.route-track-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--gold);
}

.ticket-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 14px;
}
.ticket-cell label {
  display: block;
  font-size: 0.52rem;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.ticket-cell strong {
  display: block;
  font-size: 0.85rem;
  color: #0F172A;
}

/* Taló lateral (Detachable Stub) */
.ticket-stub-modern {
  background: #F8FAFC;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.aztec-code-box {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  background: repeating-linear-gradient(
    45deg,
    #0F172A 0 4px,
    #FFFFFF 4px 8px,
    #0F172A 8px 12px,
    #FFFFFF 12px 16px
  );
  border: 4px solid #0F172A;
  border-radius: 8px;
  position: relative;
}
.aztec-code-box::after {
  content: "LAC";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  padding: 2px 4px;
  font-size: 0.58rem;
  font-weight: 800;
  color: #0F172A;
  border-radius: 3px;
}

@media (max-width: 992px) {
  .iata-ticket-modern {
    grid-template-columns: 1fr;
    transform: none !important;
    animation: none !important;
  }
  .ticket-main-section::after { display: none; }
}

/* ---------- TARGETA IATA PURIFICADA (OPCIÓ 2) ---------- */
.ticket-clean-route {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 4px 24px !important;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.14) !important;
  margin-bottom: 22px !important;
}

.clean-station big {
  display: block !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  line-height: 0.95 !important;
  color: #0F172A !important;
  letter-spacing: -0.02em !important;
}

.clean-station small {
  display: block !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.62rem !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-top: 4px !important;
}

.clean-flight-path {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  flex-grow: 1 !important;
  padding: 0 24px !important;
}

.clean-path-line {
  width: 100% !important;
  height: 2px !important;
  background: repeating-linear-gradient(90deg, #CBD5E1 0 5px, transparent 5px 9px) !important;
  position: relative !important;
}

.clean-path-line::after {
  content: "✈" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -52%) !important;
  color: var(--gold) !important;
  font-size: 0.85rem !important;
  background: #FFFFFF !important;
  padding: 0 4px !important;
}

.ticket-clean-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

.clean-cell label {
  display: block !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.55rem !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 4px !important;
}

.clean-cell strong {
  display: block !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1.1 !important;
}

.clean-cell strong.flight-num {
  color: #DC2626 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 1.1rem !important;
}

/* ---------- PANELL DE VOLS AEROPORTUARI (FIDS) ---------- */
.fids-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.fids-board {
  width: 100%;
  max-width: 640px;
  background: rgba(11, 17, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.06);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.fids-topbar {
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fids-title-zone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fids-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: fidsBlink 2s infinite ease-in-out;
}

@keyframes fidsBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.fids-station {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: 0.04em;
}

.fids-station small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.fids-clock {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fids-table {
  width: 100%;
  border-collapse: collapse;
}

.fids-table th {
  background: rgba(15, 23, 42, 0.45);
  color: #94A3B8;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fids-table td {
  padding: 13px 18px;
  font-size: 0.82rem;
  color: #E2E8F0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.fids-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.fids-flight-code {
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fids-flight-code .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DC2626;
}

.fids-dest big {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
}

.fids-dest small {
  font-size: 0.62rem;
  color: #94A3B8;
  text-transform: uppercase;
  display: block;
}

.fids-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fids-badge.airborne {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.fids-badge.scheduled {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E08;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.fids-badge.boarding {
  background: rgba(220, 38, 38, 0.15);
  color: #EF4444;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.fids-footer {
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  color: #64748B;
}

/* ---------- ESTIL MECÀNIC SPLIT-FLAP (SOLARI BOARD) ---------- */
.splitflap-frame {
  width: 100%;
  max-width: 660px;
  background: #080C14;
  border: 4px solid #1E293B;
  border-radius: 12px;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(0,0,0,0.9);
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
}

.splitflap-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #1E293B;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.splitflap-toggle-btn {
  background: #1E293B;
  border: 1px solid #334155;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.splitflap-toggle-btn:hover {
  background: var(--gold);
  color: #080C14;
}

.splitflap-header-row {
  display: grid;
  grid-template-columns: 100px 1.4fr 70px 70px 1.1fr;
  gap: 8px;
  padding: 6px 8px;
  background: #0F172A;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.splitflap-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.splitflap-row {
  display: grid;
  grid-template-columns: 100px 1.4fr 70px 70px 1.1fr;
  gap: 8px;
  background: #030712;
  padding: 4px;
  border-radius: 6px;
}

/* Rajola mecànica individual amb línia divisòria central */
.flap-cell {
  background: linear-gradient(
    to bottom,
    #181F2E 0%,
    #181F2E 48%,
    #050811 49%,
    #050811 51%,
    #131B2B 52%,
    #131B2B 100%
  );
  border: 1px solid #1F293D;
  border-radius: 4px;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 2px 4px rgba(0,0,0,0.6);
}

.flap-cell.flip-animate {
  animation: flapFlip 0.4s ease-in-out;
}

@keyframes flapFlip {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); filter: brightness(0.6); }
  100% { transform: scaleY(1); filter: brightness(1); }
}

.flap-flt {
  color: #F8FAFC;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.flap-dest {
  color: #FACC15; /* Groc d'indicador clàssic */
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flap-air {
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 600;
  justify-content: center;
}

.flap-time {
  color: #F8FAFC;
  font-size: 0.8rem;
  font-weight: 700;
  justify-content: center;
}

.flap-status {
  font-size: 0.68rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.04em;
}
.flap-status.scheduled { color: var(--gold); }
.flap-status.airborne { color: #22C55E; }
.flap-status.boarding { color: #EF4444; }

.splitflap-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #1E293B;
  font-size: 0.6rem;
  color: #64748B;
}

@media (max-width: 600px) {
  .splitflap-header-row, .splitflap-row {
    grid-template-columns: 80px 1.2fr 60px 1fr;
  }
  .flap-air { display: none !important; }
}

/* ---------- PANELL MATRICIAL DIGITAL LED (AIRPORT LED FIDS) ---------- */
.led-board-frame {
  width: 100%;
  max-width: 660px;
  background: #030407;
  border: 4px solid #111827;
  border-radius: 12px;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 176, 0, 0.08);
  padding: 18px 20px;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  overflow: hidden;
}

/* Efecte de trama de punts LED (Dot Matrix Screen Texture) */
.led-board-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 2;
}

.led-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255, 176, 0, 0.25);
  padding-bottom: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
}

.led-title-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #FFB000;
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.65), 0 0 16px rgba(255, 176, 0, 0.35);
  text-transform: uppercase;
}

.led-title-sub {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: #F59E08;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.led-clock-box {
  font-size: 0.85rem;
  font-weight: 800;
  color: #00FF66;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.65);
  background: #060D08;
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
}

.led-table {
  width: 100%;
  border-collapse: collapse;
  position: relative;
  z-index: 3;
}

.led-table th {
  color: #FACC15;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 4px rgba(250, 204, 21, 0.4);
}

.led-table td {
  padding: 11px 10px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

/* Colors de dígit LED ambre i verd */
.led-amber {
  color: #FFB000;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.7), 0 0 12px rgba(255, 176, 0, 0.35);
}

.led-amber-bright {
  color: #FFCC00;
  text-shadow: 0 0 7px rgba(255, 204, 0, 0.8);
}

.led-green {
  color: #00FF66;
  text-shadow: 0 0 7px rgba(0, 255, 102, 0.7);
}

.led-red {
  color: #FF3344;
  text-shadow: 0 0 7px rgba(255, 51, 68, 0.7);
}

.led-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.62rem;
  color: #64748B;
  position: relative;
  z-index: 3;
}

/* ---------- PANELL MATRICIAL DIGITAL LED (AIRPORT LED FIDS) ---------- */
.led-board-frame {
  width: 100%;
  max-width: 660px;
  background: #030407;
  border: 4px solid #111827;
  border-radius: 12px;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 176, 0, 0.08);
  padding: 18px 20px;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  overflow: hidden;
}

/* Efecte de trama de punts LED (Dot Matrix Screen Texture) */
.led-board-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 2;
}

.led-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255, 176, 0, 0.25);
  padding-bottom: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
}

.led-title-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #FFB000;
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.65), 0 0 16px rgba(255, 176, 0, 0.35);
  text-transform: uppercase;
}

.led-title-sub {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: #F59E08;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.led-clock-box {
  font-size: 0.85rem;
  font-weight: 800;
  color: #00FF66;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.65);
  background: #060D08;
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
}

.led-table {
  width: 100%;
  border-collapse: collapse;
  position: relative;
  z-index: 3;
}

.led-table th {
  color: #FACC15;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 4px rgba(250, 204, 21, 0.4);
}

.led-table td {
  padding: 11px 10px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

/* Colors de dígit LED ambre i verd */
.led-amber {
  color: #FFB000;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.7), 0 0 12px rgba(255, 176, 0, 0.35);
}

.led-amber-bright {
  color: #FFCC00;
  text-shadow: 0 0 7px rgba(255, 204, 0, 0.8);
}

.led-green {
  color: #00FF66;
  text-shadow: 0 0 7px rgba(0, 255, 102, 0.7);
}

.led-red {
  color: #FF3344;
  text-shadow: 0 0 7px rgba(255, 51, 68, 0.7);
}

.led-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.62rem;
  color: #64748B;
  position: relative;
  z-index: 3;
}

/* ---------- PANELL DE VOLS FIDS REAL (SENSE EXCÉS DE GROC) ---------- */
.led-board-frame {
  width: 100%;
  max-width: 660px;
  background: #090D16 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8) !important;
  padding: 16px 18px !important;
  font-family: 'JetBrains Mono', monospace !important;
  position: relative !important;
  overflow: hidden !important;
}

.led-board-frame::before {
  display: none !important; /* Retirem la trama groguenca */
}

.led-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 10px !important;
  margin-bottom: 12px !important;
}

.led-title-main {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
  color: #F8FAFC !important;
  text-shadow: none !important;
}

.led-title-sub {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.6rem !important;
  color: #38BDF8 !important; /* Cian aeronàutic sobri */
  letter-spacing: 0.08em !important;
  display: block !important;
  margin-top: 2px !important;
}

.led-clock-box {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #38BDF8 !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  text-shadow: none !important;
}

.led-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.led-table th {
  color: #64748B !important; /* Gris neutre */
  font-size: 0.58rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-shadow: none !important;
}

.led-table td {
  padding: 11px 10px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Colors de dades d'alta llegibilitat */
.fids-time {
  color: #F8FAFC !important;
  font-weight: 700 !important;
}

.fids-flight {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.fids-dest-text {
  color: #E2E8F0 !important;
}

.fids-dest-text span {
  color: #38BDF8 !important; /* Codi ICAO destacat en blau cel */
  font-weight: 700 !important;
  margin-right: 4px !important;
}

.fids-aircraft {
  color: #94A3B8 !important;
  text-align: center !important;
}

.fids-status-badge {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-align: right !important;
}

.status-ontime {
  color: #22C55E !important; /* Verd nítid */
}

.status-airborne {
  color: #38BDF8 !important; /* Blau vol actiu */
}

.status-boarding {
  color: #F59E08 !important; /* Ambre únicament per a embarcant */
}

.led-footer-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 0.6rem !important;
  color: #64748B !important;
}

/* ---------- PANELL FIDS AMB EFECTE PUNTEIG LED I AMBRE DISCRET ---------- */
.led-board-frame {
  width: 100%;
  max-width: 660px;
  background: #020408 !important;
  border: 2px solid #1E293B !important;
  border-radius: 14px !important;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.85) !important;
  padding: 18px 20px !important;
  font-family: 'JetBrains Mono', monospace !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Efecte de trama de punts LED subtil sobre la pantalla */
.led-board-frame::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255, 176, 0, 0.12) 1px, transparent 1px) !important;
  background-size: 4px 4px !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.led-topbar, .led-table, .led-footer-bar {
  position: relative !important;
  z-index: 2 !important;
}

.led-title-main {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  letter-spacing: 0.1em !important;
  color: #FFB000 !important;
  text-shadow: 0 0 10px rgba(255, 176, 0, 0.45) !important;
}

.led-title-sub {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.6rem !important;
  color: #94A3B8 !important;
  letter-spacing: 0.08em !important;
  display: block !important;
  margin-top: 2px !important;
}

.led-clock-box {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #00FF66 !important;
  background: #060D08 !important;
  border: 1px solid rgba(0, 255, 102, 0.3) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.5) !important;
}

.led-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.led-table th {
  color: #64748B !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.led-table td {
  padding: 12px 10px !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Tipografia de punts i ambres discrets */
.fids-time {
  color: #FFB000 !important;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.4) !important;
}

.fids-flight {
  color: #FFFFFF !important;
}

.fids-dest-text {
  color: #E2E8F0 !important;
}

.fids-dest-text span {
  color: #38BDF8 !important;
  font-weight: 700 !important;
  margin-right: 6px !important;
}

.fids-aircraft {
  color: #94A3B8 !important;
  text-align: center !important;
  font-family: 'JetBrains Mono', monospace !important;
}

.fids-status-badge {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-align: right !important;
}

.status-ontime {
  color: #F59E08 !important;
}

.status-airborne {
  color: #22C55E !important;
  text-shadow: 0 0 6px rgba(34, 197, 94, 0.4) !important;
}

.led-footer-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 14px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 0.6rem !important;
  color: #64748B !important;
}

/* ---------- PANELL FIDS AMB EFECTE PUNTEIG LED I AMBRE DISCRET ---------- */
.led-board-frame {
  width: 100%;
  max-width: 660px;
  background: #020408 !important;
  border: 2px solid #1E293B !important;
  border-radius: 14px !important;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.85) !important;
  padding: 18px 20px !important;
  font-family: 'JetBrains Mono', monospace !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Efecte de trama de punts LED subtil sobre la pantalla */
.led-board-frame::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255, 176, 0, 0.12) 1px, transparent 1px) !important;
  background-size: 4px 4px !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.led-topbar, .led-table, .led-footer-bar {
  position: relative !important;
  z-index: 2 !important;
}

.led-title-main {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  letter-spacing: 0.1em !important;
  color: #FFB000 !important;
  text-shadow: 0 0 10px rgba(255, 176, 0, 0.45) !important;
}

.led-title-sub {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.6rem !important;
  color: #94A3B8 !important;
  letter-spacing: 0.08em !important;
  display: block !important;
  margin-top: 2px !important;
}

.led-clock-box {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #00FF66 !important;
  background: #060D08 !important;
  border: 1px solid rgba(0, 255, 102, 0.3) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.5) !important;
}

.led-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.led-table th {
  color: #64748B !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.led-table td {
  padding: 12px 10px !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Tipografia de punts i ambres discrets */
.fids-time {
  color: #FFB000 !important;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.4) !important;
}

.fids-flight {
  color: #FFFFFF !important;
}

.fids-dest-text {
  color: #E2E8F0 !important;
}

.fids-dest-text span {
  color: #38BDF8 !important;
  font-weight: 700 !important;
  margin-right: 6px !important;
}

.fids-aircraft {
  color: #94A3B8 !important;
  text-align: center !important;
  font-family: 'JetBrains Mono', monospace !important;
}

.fids-status-badge {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-align: right !important;
}

.status-ontime {
  color: #F59E08 !important;
}

.status-airborne {
  color: #22C55E !important;
  text-shadow: 0 0 6px rgba(34, 197, 94, 0.4) !important;
}

.led-footer-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 14px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 0.6rem !important;
  color: #64748B !important;
}

/* ---------- PANELL FIDS LED AMB MATRIU DE PUNTS REAL I MÀXIMA NITIDESA ---------- */
.led-board-frame {
  width: 100% !important;
  max-width: 720px !important; /* L'ampliem lleugerament per fer-lo més gros i proporcional */
  background: #020408 !important;
  border: 2px solid #1E293B !important;
  border-radius: 16px !important;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.9) !important;
  padding: 22px 24px !important;
  font-family: 'JetBrains Mono', monospace !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Matriu de punts LED de fons integrada per a tota la pantalla */
.led-board-frame::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255, 176, 0, 0.15) 1.2px, transparent 1.2px) !important;
  background-size: 3.5px 3.5px !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.led-topbar, .led-table, .led-footer-bar {
  position: relative !important;
  z-index: 2 !important;
}

.led-title-main {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.12em !important;
  color: #FFB000 !important;
  text-shadow: 0 0 10px rgba(255, 176, 0, 0.5) !important;
}

.led-title-sub {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.65rem !important;
  color: #94A3B8 !important;
  letter-spacing: 0.1em !important;
  display: block !important;
  margin-top: 3px !important;
}

.led-clock-box {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #00FF66 !important;
  background: #060D08 !important;
  border: 1px solid rgba(0, 255, 102, 0.35) !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.6) !important;
}

.led-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.led-table th {
  color: #64748B !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.led-table td {
  padding: 14px 12px !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Efecte de punts LED brillants a les lletres de les dades */
.fids-time {
  color: #FFB000 !important;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.45) !important;
}

.fids-flight {
  color: #FFFFFF !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3) !important;
}

.fids-dest-text {
  color: #E2E8F0 !important;
}

.fids-dest-text span {
  color: #38BDF8 !important;
  font-weight: 700 !important;
  margin-right: 6px !important;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.4) !important;
}

.fids-aircraft {
  color: #94A3B8 !important;
  text-align: center !important;
  font-family: 'JetBrains Mono', monospace !important;
}

.fids-status-badge {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-align: right !important;
}

.status-ontime {
  color: #F59E08 !important;
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.4) !important;
}

.status-airborne {
  color: #22C55E !important;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.6) !important;
}

.led-footer-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 0.65rem !important;
  color: #64748B !important;
}

/* ---------- IMPORTAR TIPOGRAFIA MATRIU DE PUNTS REAL (LED DOTS) ---------- */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* Aplicació del panell amb font LED de punts real i nítida */
.led-board-frame {
  width: 100% !important;
  max-width: 720px !important;
  background: #020408 !important;
  border: 2px solid #1E293B !important;
  border-radius: 16px !important;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.9) !important;
  padding: 22px 24px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Forçar la tipografia de punts LED a totes les dades del panell */
.led-board-frame .fids-time,
.led-board-frame .fids-flight,
.led-board-frame .fids-dest-text span,
.led-board-frame .fids-aircraft,
.led-board-frame .fids-status-badge {
  font-family: 'VT323', monospace !important;
  font-size: 1.45rem !important; /* Mida gran i llegible en format punts */
  letter-spacing: 0.12em !important;
}

.fids-time {
  color: #FFB000 !important;
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.6) !important;
}

.fids-flight {
  color: #FFFFFF !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}

.fids-dest-text span {
  color: #38BDF8 !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6) !important;
}

.fids-aircraft {
  color: #94A3B8 !important;
  text-align: center !important;
}

.status-ontime {
  color: #F59E08 !important;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
}

.status-airborne {
  color: #22C55E !important;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.7) !important;
}
