/* ==========================================================================
   GLOBAL SITE HEADER (BRAND NAVIGATION)
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 150;
  width: 100%;
}

.site-header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (min-width: 1440px) {
  .site-header-container {
    max-width: 1440px;
    padding: 0 24px;
  }
}
@media (min-width: 1536px) {
  .site-header-container {
    max-width: 1536px;
    padding: 0 32px;
  }
}

.site-brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-brand-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.site-brand-badge:hover {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.site-nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav-link {
  color: var(--text-muted);
  font-size: 0.90rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav-link:hover {
  color: #0f172a;
  background: var(--bg-subtle);
}

.site-nav-link.active {
  color: #2563eb;
  background: #eff6ff;
  font-weight: 700;
}

.site-cta-btn {
  background: #fa5a29;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(250, 90, 41, 0.25);
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-cta-btn:hover {
  background: #e04818;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(250, 90, 41, 0.35);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  line-height: 0;
}

.mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
  padding: 16px 20px 24px;
  z-index: 140;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

.mobile-menu-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list .site-nav-link {
  display: block;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 8px;
}

.mobile-cta-wrapper {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.mobile-cta-wrapper .site-cta-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 12px;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .site-nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .site-brand-logo {
    height: 38px;
  }
}

/* ==========================================================================
   GLOBAL SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding: 56px 0 32px;
  margin-top: 40px;
  width: 100%;
}

.site-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1440px) {
  .site-footer-container {
    max-width: 1440px;
  }
}
@media (min-width: 1536px) {
  .site-footer-container {
    max-width: 1536px;
    padding: 0 32px;
  }
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

.footer-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 20px 0;
  max-width: 440px;
}

.footer-linkedin-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: auto;
  max-width: 380px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-linkedin-card:hover {
  background: rgba(10, 102, 194, 0.08);
  border-color: rgba(10, 102, 194, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(10, 102, 194, 0.2);
}

.footer-linkedin-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0a66c2;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.footer-linkedin-card:hover .footer-linkedin-icon {
  transform: scale(1.05);
}

.footer-linkedin-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-linkedin-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-linkedin-arrow {
  color: #60a5fa;
  transition: transform 0.2s ease;
}

.footer-linkedin-card:hover .footer-linkedin-arrow {
  transform: translateX(3px);
  color: #93c5fd;
}

.footer-linkedin-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 1px;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px 0;
  padding: 0;
}

.footer-links-list a {
  font-size: 0.90rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-cta-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 9px;
  text-decoration: none;
  margin-top: auto;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px -2px rgba(16, 185, 129, 0.2);
}

.footer-cta-emerald:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

.footer-cta-emerald .footer-btn-arrow {
  transition: transform 0.2s ease;
}

.footer-cta-emerald:hover .footer-btn-arrow {
  transform: translateX(3px);
}

.footer-cta-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1e293b;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 9px;
  text-decoration: none;
  margin-top: auto;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-cta-contact:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #334155;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-cta-contact .footer-btn-arrow {
  transition: transform 0.2s ease;
  color: #94a3b8;
}

.footer-cta-contact:hover .footer-btn-arrow {
  transform: translateX(3px);
  color: #ffffff;
}

.site-footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: #94a3b8;
}

@media (max-width: 960px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 40px 0 24px;
  }
  .site-footer-grid {
    gap: 24px;
  }
  .site-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
