/* ===== FINAL HEADER + FOOTER MOBILE ALIGN FIX ===== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(246,248,247,.92);
  border-bottom: 1px solid rgba(221,232,228,.9);
  padding: 14px 0 8px;
}

.site-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.brand-logo{
  width:42px;
  height:42px;
  object-fit:contain;
  filter:drop-shadow(0 4px 10px rgba(39,161,122,.10));
}

.brand-wordmark{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:nowrap;
  white-space:nowrap;
}

.brand-main,
.brand-sub{
  font-size:17px;
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:1;
  color:#27a17a;
}

.brand-main{
  text-transform:lowercase;
}

.brand-sub{
  text-transform:uppercase;
}

.menu-toggle{
  width:44px;
  height:44px;
  border:none;
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  padding:0;
  cursor:pointer;
  flex:0 0 auto;
}

.menu-toggle span{
  width:22px;
  height:2px;
  background:#667a74;
  border-radius:2px;
  display:block;
}

.site-nav{
  display:none;
  margin-top:12px;
  padding:14px 16px;
  background:#fff;
  border:1px solid #dde8e4;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(18,43,36,.06);
  flex-direction:column;
  gap:14px;
}

.site-nav.open{
  display:flex;
}

.site-nav a{
  font-size:15px;
  font-weight:700;
  color:#587069;
}

.site-nav a:hover{
  color:#17684f;
}

.footer{
  padding:18px 0 34px;
}

.footer-card{
  padding:18px;
  border-radius:22px;
}

.footer-brand-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}

.footer-logo{
  width:40px;
  height:40px;
}

.footer-wordmark{
  gap:4px;
}

.footer-links{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  width:100%;
}

.footer-links a{
  font-size:15px;
  font-weight:700;
  color:#587069;
}

.hero{
  padding:20px 0 26px;
}

.hero-title{
  font-size:34px;
  line-height:1.03;
}

.hero-subtitle{
  font-size:22px;
  line-height:1.08;
}

.hero-text,
.content-page .page-text,
.bullets,
.section-head p{
  font-size:15px;
  line-height:1.78;
}

.hero-actions{
  gap:12px;
  margin-top:24px;
}

.hero-btn{
  min-height:58px;
  font-size:17px;
  padding:0 18px;
}

.section{
  padding:14px 0;
}

.section-card,
.market-panel,
.user-card,
.address-box,
.stat-card{
  padding:18px;
  border-radius:22px;
}

.section-head h2,
.content-page .page-title{
  font-size:22px;
  line-height:1.06;
}

.user-card h3{
  font-size:20px;
}

.address-text{
  font-size:15px;
}

@media (min-width: 981px){
  .menu-toggle{
    display:none;
  }

  .site-nav{
    display:flex !important;
    margin-top:0;
    padding:0;
    background:transparent;
    border:none;
    box-shadow:none;
    flex-direction:row;
    gap:18px;
  }

  .footer-links{
    flex-direction:row;
    flex-wrap:wrap;
    width:auto;
    gap:16px 20px;
  }

  .brand-logo{
    width:48px;
    height:48px;
  }

  .brand-main,
  .brand-sub{
    font-size:18px;
  }
}
