:root {
  --brand-primary: #234c86;
  --brand-primary-hover: #173b6f;
  --brand-secondary: #4f7dbb;
  --brand-accent: #ff8a00;
  --brand-accent-hover: #e67a00;
  --brand-bg: #f5f7fa;
  --brand-surface: #ffffff;
  --brand-text: #1f2937;
  --brand-text-muted: #6b7280;
  --brand-border: #e5e7eb;
  --brand-primary-rgb: 35, 76, 134;
  --brand-primary-hover-rgb: 23, 59, 111;
  --brand-secondary-rgb: 79, 125, 187;
  --brand-text-rgb: 31, 41, 55;
}

:is(.hexfy-d2-header, .hexfly-d2-header) {
  --hexfy-d2-primary: var(--brand-primary);
  --hexfy-d2-primary-hover: var(--brand-primary-hover);
  --hexfy-d2-primary-rgb: var(--brand-primary-rgb);
  --hexfly-d2-primary: var(--hexfy-d2-primary);
  --hexfly-d2-primary-hover: var(--hexfy-d2-primary-hover);
  --hexfly-d2-primary-rgb: var(--hexfy-d2-primary-rgb);
  background: rgba(var(--brand-primary-rgb), 0.96);
}

body.consolidos-has-smart-header:not(.elementor-editor-active) {
  padding-top: var(--consolidos-smart-header-height, 5rem);
}

:is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s ease, background 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.admin-bar :is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header {
  top: 32px;
}

:is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header--unpinned {
  transform: translate3d(0, calc(-100% - 40px), 0);
}

:is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header--pinned,
:is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header.is-open,
:is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header:focus-within {
  transform: translate3d(0, 0, 0);
}

:is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header--pinned:not(.consolidos-smart-header--at-top) {
  box-shadow: 0 12px 30px rgba(var(--brand-text-rgb), 0.14);
}

@media (max-width: 782px) {
  .admin-bar :is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.hexfy-d2-header, .hexfly-d2-header).consolidos-smart-header {
    transition: none;
  }
}

.elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-header, .hexfly-d2-header) {
  background: rgba(var(--brand-primary-rgb), 0.96);
  height: 5rem;
}

.elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-header__brand, .hexfly-d2-header__brand) img {
  height: 40px;
}

.elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) {
  font-size: 0.95rem;
}

:is(.hexfy-d2-nav, .hexfly-d2-nav) a.consolidos-active-page {
  color: #f8fafc;
}

:is(.hexfy-d2-header__account-toggle, .hexfly-d2-header__account-toggle) :is(.hexfy-d2-header__account-avatar, .hexfly-d2-header__account-avatar) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

:is(.hexfy-d2-header__account-menu, .hexfly-d2-header__account-menu) {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  box-shadow: 0 12px 32px rgba(var(--brand-text-rgb), 0.15);
}

:is(.hexfy-d2-header__account-link, .hexfly-d2-header__account-link):hover {
  background: var(--brand-bg);
  color: var(--brand-primary);
}

:is(.hexfy-d2-header__account-item--logout, .hexfly-d2-header__account-item--logout) {
  border-top-color: var(--brand-border);
}

:is(.hexfy-d2-header__account-link--logout, .hexfly-d2-header__account-link--logout) {
  color: var(--brand-text-muted);
}

:is(.hexfy-d2-header__account-link--logout, .hexfly-d2-header__account-link--logout):hover {
  color: #dc2626;
  background: #fef2f2;
}

:is(.hexfy-d2-header, .hexfly-d2-header) a:is(.hexfy-d2-btn--cta, .hexfly-d2-btn--cta),
:is(.hexfy-d2-header__account--guest, .hexfly-d2-header__account--guest) :is(.hexfy-d2-header__login, .hexfly-d2-header__login) {
  box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.35);
}

:is(.hexfy-d2-header, .hexfly-d2-header) a:is(.hexfy-d2-btn--cta, .hexfly-d2-btn--cta):hover,
:is(.hexfy-d2-header__account--guest, .hexfly-d2-header__account--guest) :is(.hexfy-d2-header__login, .hexfly-d2-header__login):hover {
  box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.45);
}

@media (max-width: 899px) {
  :is(.hexfy-d2-header, .hexfly-d2-header).is-open :is(.hexfy-d2-nav, .hexfly-d2-nav) {
    background: rgba(var(--brand-primary-rgb), 0.98);
  }
}

.consolidos-nav-item {
  position: relative;
}

.consolidos-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(var(--brand-text-rgb), 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s;
  z-index: 60;
  list-style: none;
  margin: 0;
}

.consolidos-nav-item:hover > .consolidos-submenu,
.consolidos-nav-item:focus-within > .consolidos-submenu,
.consolidos-submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) .consolidos-nav-item .consolidos-submenu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--brand-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) .consolidos-nav-item .consolidos-submenu a:hover {
  background: var(--brand-bg);
  color: var(--brand-primary);
}

.elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) .consolidos-nav-item .consolidos-submenu a.consolidos-active-page {
  background: var(--brand-bg);
  color: var(--brand-primary);
  font-weight: 500;
}

.consolidos-nav-toggle::after {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease-out;
  opacity: 0.65;
  vertical-align: middle;
}

@media (max-width: 899px) {
  .consolidos-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    background: transparent;
    display: none;
  }

  .consolidos-nav-item.is-open > .consolidos-submenu {
    display: block;
  }

  .consolidos-nav-item:hover > .consolidos-submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) .consolidos-nav-item .consolidos-submenu a {
    color: rgba(248, 250, 252, 0.85);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) .consolidos-nav-item .consolidos-submenu a:last-child {
    border-bottom: none;
  }

  .elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) .consolidos-nav-item .consolidos-submenu a:hover {
    color: #f8fafc;
    background: transparent;
  }

  .elementor-554 .elementor-element.elementor-element-5fc63c4 :is(.hexfy-d2-nav, .hexfly-d2-nav) .consolidos-nav-item .consolidos-submenu a.consolidos-active-page {
    color: #f8fafc;
    background: transparent;
  }
}

.consolidos-content-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.consolidos-content-category {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  color: var(--brand-primary);
  background: var(--brand-surface);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.consolidos-content-category:hover {
  color: #f8fafc;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.consolidos-material-category-list {
  display: grid;
  gap: 1.5rem;
}

.consolidos-material-category {
  padding: 1.25rem;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-surface);
}

.consolidos-material-category h2 {
  margin: 0 0 0.75rem;
  color: var(--brand-text);
}

.consolidos-material-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.25rem;
}

.consolidos-empty-state {
  margin: 0;
  color: var(--brand-text-muted);
}
