/* ==========================================================================
   OBSERVAUTO BRAND HUB & DESIGN SYSTEM "CLARITY" v2.5
   Master Stylesheet (Screen Interactive + Print-to-PDF Engine)
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens (Clarity v2.5) --- */
:root {
  /* Institutional Colors */
  --oa-deep-navy: #002657;
  --oa-tech-navy: #1B3C71;
  --oa-laser-red: #E43524;
  --oa-laser-red-dark: #DA0000;
  --oa-amber: #F9C833;
  --oa-teal: #1F6069;
  --oa-midnight: #001838;

  /* Surfaces & Canvas */
  --oa-canvas: #FAF8FF;
  --oa-canvas-pure: #FFFFFF;
  --oa-surface-low: #F2F4FC;
  --oa-surface-container: #EAEDFA;
  --oa-surface-high: #E2E7F5;
  --oa-cool-tint: #DCE3F0;
  --oa-charcoal: #1E2229;
  --oa-charcoal-muted: #535969;

  /* Typography */
  --oa-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --oa-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --oa-font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Glassmorphism */
  --oa-glass-bg: rgba(255, 255, 255, 0.75);
  --oa-glass-bg-dark: rgba(0, 38, 87, 0.85);
  --oa-glass-blur: blur(20px);
  --oa-glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --oa-glass-border-dark: 1px solid rgba(255, 255, 255, 0.15);
  --oa-shadow-sm: 0 2px 8px rgba(0, 38, 87, 0.04);
  --oa-shadow-md: 0 6px 24px rgba(0, 38, 87, 0.06);
  --oa-shadow-lg: 0 12px 48px rgba(0, 38, 87, 0.10);
  --oa-shadow-ambient: 0 20px 60px rgba(0, 24, 56, 0.12);

  /* Spacing */
  --oa-space-xs: 0.25rem;
  --oa-space-sm: 0.5rem;
  --oa-space-md: 1rem;
  --oa-space-lg: 1.5rem;
  --oa-space-xl: 2rem;
  --oa-space-2xl: 3rem;
  --oa-space-3xl: 4.5rem;

  /* Border Radius */
  --oa-radius-sm: 6px;
  --oa-radius-md: 10px;
  --oa-radius-lg: 16px;
  --oa-radius-xl: 24px;
  --oa-radius-full: 9999px;

  /* Transitions */
  --oa-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --oa-duration-fast: 150ms;
  --oa-duration-base: 250ms;
  --oa-duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--oa-canvas);
  color: var(--oa-charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--oa-font-body);
  line-height: 1.6;
  background-color: var(--oa-canvas);
  color: var(--oa-charcoal);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--oa-font-display);
  font-weight: 700;
  color: var(--oa-deep-navy);
  line-height: 1.25;
}

a {
  color: var(--oa-tech-navy);
  text-decoration: none;
  transition: color var(--oa-duration-fast) var(--oa-ease-out);
}

a:hover {
  color: var(--oa-laser-red);
}

/* --- Layout Architecture --- */
.brandhub-app {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Top Sticky Navigation Bar */
.brandhub-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(250, 248, 255, 0.88);
  backdrop-filter: var(--oa-glass-blur);
  -webkit-backdrop-filter: var(--oa-glass-blur);
  border-bottom: 1px solid var(--oa-cool-tint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--oa-space-xl);
  z-index: 1000;
}

.brandhub-header__brand {
  display: flex;
  align-items: center;
  gap: var(--oa-space-md);
}

.brandhub-header__logo {
  height: 28px;
  width: auto;
}

.brandhub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--oa-surface-high);
  color: var(--oa-deep-navy);
  border-radius: var(--oa-radius-full);
  font-family: var(--oa-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brandhub-badge--red {
  background: rgba(228, 53, 36, 0.12);
  color: var(--oa-laser-red);
}

.brandhub-badge--dark {
  background: var(--oa-deep-navy);
  color: #FFFFFF;
}

.brandhub-header__actions {
  display: flex;
  align-items: center;
  gap: var(--oa-space-md);
}

.btn-text-full {
  display: inline;
}

.btn-text-short {
  display: none;
}

/* Sticky Sidebar Navigation */
.brandhub-sidebar {
  position: fixed;
  top: 72px;
  left: 0;
  width: 290px;
  height: calc(100vh - 72px);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--oa-glass-blur);
  -webkit-backdrop-filter: var(--oa-glass-blur);
  border-right: 1px solid var(--oa-cool-tint);
  overflow-y: auto;
  padding: var(--oa-space-lg) var(--oa-space-md);
  z-index: 900;
}

.brandhub-nav-group {
  margin-bottom: var(--oa-space-lg);
}

.brandhub-nav-title {
  font-family: var(--oa-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oa-charcoal-muted);
  padding: 0 var(--oa-space-sm) var(--oa-space-xs);
}

.brandhub-nav-list {
  list-style: none;
}

.brandhub-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--oa-radius-md);
  font-family: var(--oa-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--oa-charcoal);
  transition: all var(--oa-duration-fast) var(--oa-ease-out);
}

.brandhub-nav-item a:hover {
  background: var(--oa-surface-container);
  color: var(--oa-deep-navy);
}

.brandhub-nav-item.active a {
  background: var(--oa-deep-navy);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 38, 87, 0.2);
}

.brandhub-nav-item.active a svg {
  stroke: #FFFFFF;
}

/* Main Content Area */
.brandhub-main {
  margin-left: 290px;
  margin-top: 72px;
  flex: 1;
  padding: var(--oa-space-2xl) var(--oa-space-3xl);
  max-width: 1200px;
}

/* Section Containers */
.brandhub-section {
  margin-bottom: var(--oa-space-3xl);
  scroll-margin-top: 96px;
}

.brandhub-section-header {
  margin-bottom: var(--oa-space-xl);
  padding-bottom: var(--oa-space-md);
  border-bottom: 2px solid var(--oa-cool-tint);
}

.brandhub-section-tag {
  font-family: var(--oa-font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--oa-laser-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.brandhub-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--oa-deep-navy);
}

.brandhub-section-desc {
  font-size: 1.1rem;
  color: var(--oa-charcoal-muted);
  margin-top: 6px;
  max-width: 840px;
}

/* UI Cards */
.oa-card {
  background: var(--oa-canvas-pure);
  border-radius: var(--oa-radius-lg);
  border: 1px solid var(--oa-cool-tint);
  padding: var(--oa-space-xl);
  box-shadow: var(--oa-shadow-sm);
  transition: all var(--oa-duration-base) var(--oa-ease-out);
  margin-bottom: var(--oa-space-xl);
}

.oa-card:hover {
  box-shadow: var(--oa-shadow-md);
  border-color: rgba(0, 38, 87, 0.15);
}

.oa-card--glass {
  background: var(--oa-glass-bg);
  backdrop-filter: var(--oa-glass-blur);
  -webkit-backdrop-filter: var(--oa-glass-blur);
  border: var(--oa-glass-border);
}

.oa-card--dark {
  background: var(--oa-deep-navy);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.1);
}

.oa-card--dark h2, .oa-card--dark h3, .oa-card--dark h4 {
  color: #FFFFFF;
}

.oa-callout-warning {
  border-left: 4px solid var(--oa-laser-red);
  background: #FFF5F5;
  padding: 14px 18px;
  border-radius: var(--oa-radius-sm);
  margin: 16px 0;
  font-size: 0.92rem;
  color: #93000A;
}

.oa-callout-info {
  border-left: 4px solid var(--oa-tech-navy);
  background: #F2F4FC;
  padding: 14px 18px;
  border-radius: var(--oa-radius-sm);
  margin: 16px 0;
  font-size: 0.92rem;
  color: var(--oa-deep-navy);
}

/* Buttons */
.oa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--oa-radius-full);
  font-family: var(--oa-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--oa-duration-fast) var(--oa-ease-out);
  text-decoration: none;
}

.oa-btn--primary {
  background: linear-gradient(135deg, var(--oa-deep-navy) 0%, var(--oa-tech-navy) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 38, 87, 0.25);
}

.oa-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 38, 87, 0.35);
  color: #FFFFFF;
}

.oa-btn--laser {
  background: var(--oa-laser-red);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(228, 53, 36, 0.25);
}

.oa-btn--laser:hover {
  background: var(--oa-laser-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(228, 53, 36, 0.35);
  color: #FFFFFF;
}

.oa-btn--outline {
  background: transparent;
  color: var(--oa-deep-navy);
  border: 1px solid var(--oa-deep-navy);
}

.oa-btn--outline:hover {
  background: var(--oa-deep-navy);
  color: #FFFFFF;
}

.oa-btn--sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

/* ==========================================================================
   CLEAN EDITORIAL HERO & COMPACT SLOGAN (FONDO LIMPIO BLANCO, SIN LOGO REDUNDANTE)
   ========================================================================== */
.oa-hero-clean {
  background: var(--oa-canvas-pure);
  border: 1px solid var(--oa-cool-tint);
  border-radius: var(--oa-radius-xl);
  padding: var(--oa-space-2xl) var(--oa-space-xl);
  margin-bottom: var(--oa-space-2xl);
  box-shadow: 0 4px 20px rgba(0, 38, 87, 0.04);
}

.oa-slogan-headline {
  font-family: var(--oa-font-display);
  font-size: clamp(1.4rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--oa-deep-navy);
  letter-spacing: -0.02em;
  margin-bottom: var(--oa-space-md);
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0 10px;
}

.oa-slogan-static {
  display: inline-block;
  color: var(--oa-deep-navy);
  white-space: nowrap;
}

.oa-slogan-slider-container {
  display: inline-block;
  position: relative;
  height: 1.25em;
  overflow: hidden;
  vertical-align: baseline;
  min-width: 85px;
}

.oa-slogan-sliding-word {
  display: block;
  color: var(--oa-laser-red);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.oa-hero-lead-text {
  font-size: 1.05rem;
  color: var(--oa-charcoal);
  max-width: 820px;
  line-height: 1.65;
  margin-bottom: var(--oa-space-xl);
}

.oa-hero-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.oa-hero-card-item {
  background: var(--oa-surface-low);
  border: 1px solid var(--oa-cool-tint);
  border-radius: var(--oa-radius-md);
  padding: 18px 20px;
  transition: transform var(--oa-duration-base) var(--oa-ease-out), border-color var(--oa-duration-base);
}

.oa-hero-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 60, 113, 0.2);
  box-shadow: var(--oa-shadow-sm);
}

.oa-hero-card-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.oa-hero-card-item p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--oa-charcoal-muted);
}

/* Swatches Grid & Categories */
.oa-palette-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: var(--oa-space-lg);
  flex-wrap: wrap;
  border-bottom: 2px solid var(--oa-cool-tint);
  padding-bottom: 4px;
}

.oa-palette-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--oa-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--oa-charcoal-muted);
  padding: 8px 16px;
  cursor: pointer;
  border-radius: var(--oa-radius-md);
  transition: all var(--oa-duration-fast);
}

.oa-palette-tab-btn:hover {
  background: var(--oa-surface-container);
  color: var(--oa-deep-navy);
}

.oa-palette-tab-btn.active {
  background: var(--oa-deep-navy);
  color: #FFFFFF;
}

.oa-swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--oa-space-lg);
  margin-bottom: var(--oa-space-xl);
}

.oa-swatch-card {
  background: var(--oa-canvas-pure);
  border-radius: var(--oa-radius-md);
  border: 1px solid var(--oa-cool-tint);
  overflow: hidden;
  box-shadow: var(--oa-shadow-sm);
  transition: transform var(--oa-duration-fast) var(--oa-ease-out);
}

.oa-swatch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--oa-shadow-md);
}

.oa-swatch-preview {
  height: 100px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--oa-space-sm);
}

.oa-swatch-details {
  padding: var(--oa-space-md);
}

.oa-swatch-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--oa-deep-navy);
  margin-bottom: 2px;
}

.oa-swatch-role {
  font-size: 0.75rem;
  color: var(--oa-charcoal-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--oa-space-sm);
}

.oa-swatch-codes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oa-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 4px 8px;
  background: var(--oa-surface-low);
  border-radius: var(--oa-radius-sm);
  cursor: pointer;
  transition: background var(--oa-duration-fast) var(--oa-ease-out);
}

.oa-code-row:hover {
  background: var(--oa-surface-high);
}

.oa-code-label {
  font-weight: 600;
  color: var(--oa-charcoal-muted);
}

.oa-code-val {
  font-family: var(--oa-font-mono);
  font-weight: 500;
  color: var(--oa-deep-navy);
}

/* Logo Showcase Tabs & Stage */
.oa-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--oa-cool-tint);
  margin-bottom: var(--oa-space-lg);
}

.oa-tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  font-family: var(--oa-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--oa-charcoal-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--oa-duration-fast) var(--oa-ease-out);
}

.oa-tab-btn:hover {
  color: var(--oa-deep-navy);
}

.oa-tab-btn.active {
  color: var(--oa-deep-navy);
  border-bottom-color: var(--oa-laser-red);
}

.oa-logo-stage {
  border-radius: var(--oa-radius-lg);
  padding: var(--oa-space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  transition: background-color var(--oa-duration-base) var(--oa-ease-out);
  margin-bottom: var(--oa-space-md);
  border: 1px solid var(--oa-cool-tint);
}

.oa-logo-stage--light {
  background-color: #FFFFFF;
}

.oa-logo-stage--canvas {
  background-color: var(--oa-canvas);
}

.oa-logo-stage--dark {
  background-color: var(--oa-deep-navy);
}

.oa-logo-stage--black {
  background-color: #0A0D14;
}

.oa-logo-stage img {
  max-width: 85%;
  max-height: 200px;
  object-fit: contain;
}

.oa-stage-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--oa-space-lg);
  flex-wrap: wrap;
  gap: 12px;
}

.oa-bg-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oa-bg-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--oa-duration-fast) var(--oa-ease-out);
}

.oa-bg-dot:hover {
  transform: scale(1.15);
}

.oa-bg-dot.active {
  border-color: var(--oa-laser-red);
}

/* ==========================================================================
   TECHNICAL BRAND DIAGRAMS (CLEAR SPACE, MINIMUM SIZE & PRE-PRESS BLEED)
   ========================================================================== */
.oa-diagram-frame {
  background: var(--oa-canvas-pure);
  border: 1px solid var(--oa-cool-tint);
  border-radius: var(--oa-radius-md);
  padding: var(--oa-space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.oa-clearspace-box {
  border: 2px dashed #405E95;
  background: rgba(64, 94, 149, 0.04);
  padding: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oa-clearspace-label {
  position: absolute;
  font-family: var(--oa-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--oa-laser-red);
  background: #FFFFFF;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--oa-laser-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(228, 53, 36, 0.15);
}

.oa-clearspace-label--top { top: 8px; }
.oa-clearspace-label--bottom { bottom: 8px; }
.oa-clearspace-label--left { left: 8px; }
.oa-clearspace-label--right { right: 8px; }

/* Pre-Press Technical Diagram */
.oa-bleed-diagram {
  width: 100%;
  max-width: 600px;
  height: 240px;
  background: #FFFFFF;
  position: relative;
  border: 2px dashed #E43524; /* Bleed Line */
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oa-trim-box {
  position: absolute;
  top: 15px; bottom: 15px; left: 15px; right: 15px;
  border: 2px solid #1E2229; /* Trim Line */
  display: flex;
  align-items: center;
  justify-content: center;
}

.oa-safe-margin-box {
  position: absolute;
  top: 25px; bottom: 25px; left: 25px; right: 25px;
  border: 1px dashed #247331; /* Safe Inner Line */
  background: rgba(36, 115, 49, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #247331;
}

/* Incorrect Uses (Do's & Don'ts Visual Grid) */
.oa-incorrect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--oa-space-lg);
  margin-top: var(--oa-space-lg);
}

.oa-incorrect-card {
  background: #FFFFFF;
  border: 1px solid #FFDAD6;
  border-radius: var(--oa-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--oa-shadow-sm);
}

.oa-incorrect-stage {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF8FF;
  position: relative;
  padding: 12px;
}

.oa-incorrect-stage--dark {
  background: #002657;
}

.oa-incorrect-card img {
  max-width: 75%;
  max-height: 80px;
  object-fit: contain;
}

.oa-bad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--oa-laser-red);
  color: #FFFFFF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(228, 53, 36, 0.4);
}

.oa-incorrect-desc {
  padding: var(--oa-space-md);
  font-size: 0.82rem;
  color: var(--oa-charcoal);
  border-top: 1px solid #FFDAD6;
  background: #FFF5F5;
  font-weight: 500;
}

/* ==========================================================================
   TYPOGRAPHY INTERACTIVE TESTER (MÓDULO 04)
   ========================================================================== */
.oa-type-tester {
  background: var(--oa-surface-low);
  border: 1px solid var(--oa-cool-tint);
  border-radius: var(--oa-radius-lg);
  padding: var(--oa-space-xl);
  margin-bottom: var(--oa-space-xl);
  box-shadow: var(--oa-shadow-sm);
}

.oa-type-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: var(--oa-space-lg);
  padding-bottom: var(--oa-space-md);
  border-bottom: 1px solid var(--oa-cool-tint);
}

.oa-font-toggle-btn {
  cursor: pointer;
  transition: all var(--oa-duration-fast) var(--oa-ease-out);
}

.oa-font-toggle-btn.active {
  background: var(--oa-deep-navy) !important;
  color: #FFFFFF !important;
  border-color: var(--oa-deep-navy) !important;
  box-shadow: 0 2px 8px rgba(0, 38, 87, 0.25);
}

.oa-type-input {
  width: 100%;
  border: 2px dashed transparent;
  border-radius: var(--oa-radius-md);
  background: #FFFFFF;
  padding: var(--oa-space-lg);
  font-family: var(--oa-font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--oa-deep-navy);
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 38, 87, 0.04);
  transition: border-color var(--oa-duration-fast) var(--oa-ease-out), box-shadow var(--oa-duration-fast);
  line-height: 1.25;
}

.oa-type-input:focus {
  border-color: var(--oa-laser-red);
  box-shadow: inset 0 2px 6px rgba(0, 38, 87, 0.04), 0 0 0 3px rgba(228, 53, 36, 0.12);
}

.oa-type-input::placeholder {
  color: var(--oa-charcoal-muted);
  opacity: 0.4;
}

.oa-type-meta {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--oa-charcoal-muted);
  font-family: var(--oa-font-mono);
}

/* ==========================================================================
   LOWER THIRDS & BUMPER ANIMATION PLAYER (MÓDULO 06)
   ========================================================================== */
.oa-video-mockup-frame {
  width: 100%;
  min-height: 420px;
  border-radius: var(--oa-radius-lg);
  position: relative;
  overflow: hidden;
  background: #020b18;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  box-shadow: var(--oa-shadow-ambient);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.oa-video-mockup-car {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 35%, rgba(27, 60, 113, 0.4) 0%, transparent 65%),
              linear-gradient(to top, rgba(0, 12, 28, 0.95) 0%, rgba(0, 15, 35, 0.65) 50%, rgba(0, 24, 56, 0.4) 100%),
              url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  opacity: 0.85;
}

.oa-video-hud-overlay {
  position: absolute;
  top: 24px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.oa-video-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--oa-radius-full);
  color: #FFFFFF;
  font-family: var(--oa-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.oa-video-hud-rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oa-laser-red);
  box-shadow: 0 0 8px var(--oa-laser-red);
  animation: pulseRec 1.8s infinite;
}

@keyframes pulseRec {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.oa-lower-third-demo {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 38, 87, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 12px;
  padding: 16px 28px 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  max-width: 620px;
  animation: slideInLt 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInLt {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

.oa-lt-accent-bar {
  width: 4px;
  height: 44px;
  background: var(--oa-laser-red);
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(228, 53, 36, 0.6);
}

.oa-lt-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.oa-lt-name {
  font-family: var(--oa-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.oa-lt-role {
  font-family: var(--oa-font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: #DCE3F0;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* Vehicle Telemetry HUD Component */
.oa-telemetry-hud-card {
  margin-top: 20px;
  background: rgba(0, 24, 56, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
}

.oa-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}

.oa-hud-title {
  font-family: var(--oa-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oa-hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}

.oa-hud-metric-label {
  font-family: var(--oa-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: #8899BB;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.oa-hud-metric-val {
  font-family: var(--oa-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.oa-hud-metric-val--red {
  color: var(--oa-laser-red);
  text-shadow: 0 0 16px rgba(228, 53, 36, 0.4);
}

/* Bumper Animation Viewport & Interactive Player */
.oa-bumper-viewport {
  width: 100%;
  height: 280px;
  border-radius: var(--oa-radius-lg);
  background: radial-gradient(circle at center, #002d66 0%, #001838 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--oa-shadow-ambient);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.oa-laser-beam {
  position: absolute;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--oa-laser-red) 50%, transparent 100%);
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  opacity: 0;
  z-index: 5;
}

.oa-bumper-logo {
  opacity: 0.95;
  transform: scale(1);
  transition: all 0.4s var(--oa-ease-out);
  max-width: 320px;
  filter: drop-shadow(0 0 20px rgba(0, 38, 87, 0.6));
  position: relative;
  z-index: 4;
}

.oa-bumper-viewport.playing .oa-bumper-logo {
  opacity: 0;
  transform: scale(0.85);
  animation: logoReveal 1.5s var(--oa-ease-out) 0.6s forwards;
}

.oa-bumper-viewport.playing .oa-laser-beam {
  animation: laserSweep 0.7s var(--oa-ease-out) forwards;
}

@keyframes laserSweep {
  0% { transform: translateY(-50%) scaleX(0); opacity: 0; }
  50% { transform: translateY(-50%) scaleX(1); opacity: 1; }
  100% { transform: translateY(-50%) scaleX(1); opacity: 0; }
}

@keyframes logoReveal {
  0% { opacity: 0; transform: scale(0.7) blur(20px); }
  60% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   B2B vs B2C BRAND ARCHITECTURE & RED PLEXUS (MÓDULO 08)
   ========================================================================== */
.oa-b2b-plexus-card {
  background: linear-gradient(135deg, #001430 0%, #002657 100%);
  border-radius: var(--oa-radius-lg);
  padding: var(--oa-space-xl);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--oa-shadow-lg);
  margin-top: var(--oa-space-lg);
}

.oa-b2b-plexus-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(228, 53, 36, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(27, 60, 113, 0.35) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
}

.oa-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .oa-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.oa-capsule-preview-card {
  background: #FFFFFF;
  border: 1px solid var(--oa-cool-tint);
  border-radius: var(--oa-radius-lg);
  padding: var(--oa-space-lg);
  box-shadow: var(--oa-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.oa-capsule-slide-mock {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 280px;
  margin: 0 auto;
  background: linear-gradient(145deg, #001838 0%, #002657 100%);
  border-radius: var(--oa-radius-md);
  padding: 18px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 38, 87, 0.25);
  position: relative;
  overflow: hidden;
}

.oa-capsule-slide-mock::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--oa-laser-red);
}

/* Toast Notification */
.oa-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--oa-deep-navy);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--oa-radius-full);
  font-family: var(--oa-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--oa-shadow-ambient);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--oa-duration-base) var(--oa-ease-out);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.oa-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Tables */
.oa-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--oa-space-md);
  font-size: 0.9rem;
}

.oa-table th {
  background: var(--oa-surface-high);
  color: var(--oa-deep-navy);
  font-family: var(--oa-font-display);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--oa-cool-tint);
}

.oa-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--oa-cool-tint);
  vertical-align: middle;
}

.oa-table tr:hover td {
  background-color: var(--oa-surface-low);
}

/* Code Blocks */
.oa-code-block {
  background: var(--oa-midnight);
  color: #DCE3F0;
  border-radius: var(--oa-radius-md);
  padding: var(--oa-space-lg);
  font-family: var(--oa-font-mono);
  font-size: 0.85rem;
  position: relative;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--oa-space-md);
}

.oa-code-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  padding: 4px 10px;
  border-radius: var(--oa-radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background var(--oa-duration-fast);
}

.oa-code-copy-btn:hover {
  background: var(--oa-laser-red);
}

/* ==========================================================================
   OFFICIAL EDGE-TO-EDGE FOOTER (MEDIAKIT STANDARD v1.4.12 - DE LADO A LADO)
   ========================================================================== */
.oa-footer {
  width: 100%;
  background: #00132b;
  padding: 48px 0 0;
  font-family: var(--oa-font-body);
  color: #DCE3F0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.oa-footer a {
  color: inherit;
  transition: color var(--oa-duration-fast);
}

.oa-footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--oa-space-xl);
}

.oa-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 28px;
}

.oa-footer__logo {
  height: 28px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.oa-footer__brief {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(238, 240, 255, 0.65);
  margin: 10px 0 16px;
  max-width: 320px;
}

.oa-footer__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.oa-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oa-footer__list li {
  margin-bottom: 10px;
}

.oa-footer__list a {
  color: rgba(238, 240, 255, 0.7);
  font-size: 14px;
}

.oa-footer__list a:hover {
  color: var(--oa-laser-red);
}

.oa-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.oa-footer__social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 240, 255, 0.7);
  transition: all 0.3s ease;
}

.oa-footer__social-list a:hover {
  background: var(--oa-laser-red);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.observauto-slogan-wrapper {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 14px;
  color: rgba(238, 240, 255, 0.65);
}

.slogan-dynamic-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
  vertical-align: baseline;
}

.slogan-word {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
  font-weight: 700;
  color: var(--oa-laser-red);
}

.slogan-word.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.slogan-word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.oa-footer__newsletter-text {
  font-size: 13px;
  color: rgba(238, 240, 255, 0.65);
  margin-bottom: 12px;
  line-height: 1.5;
}

.oa-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oa-footer__newsletter-input {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  transition: border-color 0.2s;
}

.oa-footer__newsletter-input:focus {
  outline: none;
  border-color: var(--oa-laser-red);
}

.oa-footer__newsletter-button {
  padding: 12px 24px;
  background: var(--oa-laser-red);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.oa-footer__newsletter-button:hover {
  background: #B91007;
  transform: translateY(-1px);
}

.oa-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.oa-footer__tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(238, 240, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.oa-footer__tag:hover {
  background: var(--oa-laser-red);
  color: #FFFFFF;
  border-color: var(--oa-laser-red);
}

.oa-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.oa-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(238, 240, 255, 0.45);
}

.oa-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.oa-footer__legal span {
  font-weight: 600;
  color: #FFFFFF;
}

.oa-footer__legal a {
  color: rgba(238, 240, 255, 0.55);
}

.oa-footer__legal a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   100% RESPONSIVE ARCHITECTURE & MOBILE DRAWER NAVIGATION
   ========================================================================== */
.oa-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--oa-cool-tint);
  border-radius: var(--oa-radius-sm);
  padding: 6px;
  cursor: pointer;
  color: var(--oa-deep-navy);
  align-items: center;
  justify-content: center;
  transition: background var(--oa-duration-fast);
}

.oa-menu-toggle:hover {
  background: var(--oa-surface-high);
}

.oa-sidebar-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 24, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--oa-duration-base) var(--oa-ease-out);
}

.oa-sidebar-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.oa-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 14px;
}

@media (max-width: 1024px) {
  .oa-menu-toggle {
    display: inline-flex;
  }

  .brandhub-sidebar {
    transform: translateX(-100%);
    transition: transform var(--oa-duration-base) var(--oa-ease-out);
    z-index: 1200;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
    width: 290px;
    background: #FFFFFF;
  }

  .brandhub-sidebar.is-open {
    transform: translateX(0);
  }

  .brandhub-main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: var(--oa-space-xl) var(--oa-space-lg) !important;
  }

  .oa-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .brandhub-header {
    padding: 0 var(--oa-space-md);
  }

  .brandhub-header__logo {
    height: 24px;
    max-width: 140px;
  }

  .brandhub-header__actions .oa-btn:not(.oa-btn--laser) {
    display: none;
  }

  .btn-text-full {
    display: none;
  }

  .btn-text-short {
    display: inline;
  }

  .oa-hero-clean {
    padding: var(--oa-space-lg) var(--oa-space-md);
  }

  .oa-slogan-headline {
    font-size: clamp(1.1rem, 3.8vw, 1.45rem);
    flex-wrap: nowrap;
    gap: 0 6px;
  }

  .oa-slogan-slider-container {
    min-width: 65px;
  }

  .oa-comparison-grid {
    grid-template-columns: 1fr;
  }

  .oa-diagram-frame {
    padding: 16px 12px;
  }

  .oa-type-grid {
    grid-template-columns: 1fr;
  }

  .oa-incorrect-grid {
    grid-template-columns: 1fr;
  }

  .oa-footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .oa-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .brandhub-header {
    padding: 0 12px;
  }

  .brandhub-header__brand {
    gap: 8px;
  }

  .brandhub-header__logo {
    height: 22px;
    max-width: 120px;
  }

  .brandhub-main {
    padding: 16px 10px !important;
  }

  .oa-card {
    padding: 16px 12px;
  }

  .brandhub-section {
    margin-bottom: var(--oa-space-2xl);
  }

  .oa-hero-clean {
    padding: 16px 10px;
  }

  .oa-slogan-headline {
    font-size: clamp(0.95rem, 3.4vw, 1.15rem);
    flex-wrap: nowrap;
    gap: 0 4px;
  }

  .oa-slogan-slider-container {
    min-width: 52px;
  }
}

/* ==========================================================================
   PRINT STYLESHEET (@media print)
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 18mm 15mm 20mm 15mm;
  }

  html, body {
    background: #FFFFFF !important;
    color: #1E2229 !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
  }

  .brandhub-header,
  .brandhub-sidebar,
  .oa-stage-controls,
  .oa-palette-tabs,
  .oa-toast,
  .oa-btn,
  .no-print {
    display: none !important;
  }

  .brandhub-main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .brandhub-section {
    page-break-before: always;
    margin-bottom: 24pt !important;
  }

  .brandhub-section:first-of-type {
    page-break-before: avoid;
  }

  .oa-card {
    border: 1px solid #DCE3F0 !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
    padding: 14pt !important;
    page-break-inside: avoid;
  }

  .oa-card--dark {
    background: #002657 !important;
    color: #FFFFFF !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .oa-table th {
    background: #E2E7F5 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }
}
