/* ============================= */
/* HEADER — GLOBAL */
/* ============================= */

.site-header{
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  padding: 0;
}

.site-header::after{
  content: "";
  display: block;
  width: calc(100% - 128px);
  height: 1px;
  margin: 18px auto 0;
  background: rgba(255,255,255,0.22);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
}

.brand{
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand--light{
  color: #ffffff;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav a{
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255,255,255,0.92);
  transition: color 0.22s ease, opacity 0.22s ease;
}

.nav a:hover,
.nav .current-menu-item > a{
  color: #ffffff;
}

.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}

.btn-primary:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(47,84,241,0.35);
}

/* ============================= */
/* HEADER — HOVERS */
/* ============================= */

.nav a:hover:not(.btn-primary){
  color: #2F54F1;
}

.nav .current-menu-item > a:not(.btn-primary):hover,
.nav .current-menu-item > a:not(.btn-primary):focus{
  color: #2F54F1;
}

.nav a.btn-primary:hover,
.nav a.btn-primary:focus{
  color: #ffffff;
}

.brand,
.header-logo{
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.brand:hover .header-logo{
  transform: scale(1.04);
}

/* ============================= */
/* FOOTER — GLOBAL */
/* ============================= */

.site-footer{
  color: #ffffff;
}

.site-footer.site-footer--integrated{
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  margin-left: 0;
  background: transparent;
  color: #ffffff;
}

.site-footer--integrated .footer-inner{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-footer--integrated .footer-divider{
  order: 2;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.site-footer--integrated .footer-top{
  order: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.site-footer--integrated .footer-bottom{
  order: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
}

.site-footer--integrated .footer-brand{
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-align: left;
  justify-self: start;
}

.site-footer--integrated .footer-text{
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  text-align: left;
  justify-self: start;
}

.site-footer--integrated .footer-text strong{
  color: #ffffff;
  font-weight: 500;
}

.site-footer--integrated .footer-social{
  display: flex;
  gap: 12px;
  justify-self: end;
  justify-content: flex-end;
}

.site-footer--integrated .footer-social a{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.site-footer--integrated .footer-social a:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.6);
  opacity: 1;
}

.site-footer--integrated .footer-social a img{
  display: block;
  width: 16px;
  height: 16px;
}

.site-footer--integrated .footer-email{
  justify-self: end;
  margin: 0;
  text-align: right;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

.footer-subtext{
  color: #ffffff;
  opacity: 0.9;
  font-weight: 500;
}

/* ============================= */
/* GLOBAL UI FIXES */
/* ============================= */

.btn-primary:hover,
.manifiesto-cta__button:hover{
  color: #ffffff;
}

.site-header .nav .menu-item:last-child > a,
.site-header .nav .menu-item:last-child > a:hover,
.site-header .nav .menu-item:last-child > a:focus{
  color: #ffffff;
}

.site-footer .footer-inner{
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-footer .container{
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

