/* =========================================================
   POUYAB — SHARED HEADER / FOOTER
   ========================================================= */

.pouyab-site{
  --pouyab-green:#214c2b;
  --pouyab-green-2:#2f6539;
  --pouyab-green-3:#5f8d3d;
  --pouyab-gold:#d8a91e;
  --pouyab-gold-soft:#f3d36c;
  --pouyab-cream:#f7f4e8;
  --pouyab-paper:#fbfaf4;
  --pouyab-ink:#24332a;
  --pouyab-muted:#68736b;
  --pouyab-line:#dfe4d8;
  --pouyab-white:#fff;
}

.pouyab-site a{
  text-decoration:none;
  color:inherit;
}

.pouyab-header a,
.pouyab-footer a{
  text-decoration:none;
}

/* ---------- Header ---------- */
.pouyab-header{
  position:sticky;
  top:0;
  z-index:120;
  font-family:"IRANYekan",sans-serif;
  background:rgba(251,250,244,.92);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(33,76,43,.10);
  transition:box-shadow .25s ease;
}

.pouyab-header.is-scrolled{
  box-shadow:0 10px 30px rgba(30,58,37,.08);
}

.pouyab-header-inner{
  width:min(1120px,94%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:74px;
}

.pouyab-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.pouyab-brand img{
  height:48px;
  width:auto;
  display:block;
}

.pouyab-brand-text{
  display:none;
}

.pouyab-brand-text strong{
  font-size:20px;
  font-weight:900;
  color:var(--pouyab-green);
}

.pouyab-brand-text small{
  font-size:11px;
  font-weight:500;
  color:var(--pouyab-muted);
  letter-spacing:.2px;
}

.pouyab-nav{
  display:flex;
  align-items:center;
  gap:6px;
}

.pouyab-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  padding:9px 14px;
  border-radius:999px;
  color:var(--pouyab-ink);
  font-size:14px;
  font-weight:600;
  transition:color .2s ease,background .2s ease;
}

.pouyab-nav a:hover{
  color:var(--pouyab-green);
  background:rgba(33,76,43,.06);
}

.pouyab-nav a.is-current{
  color:var(--pouyab-green);
  background:rgba(216,169,30,.14);
}

.pouyab-nav a.pouyab-nav-cta{
  margin-right:6px;
  padding:10px 20px;
  color:#fff;
  background:var(--pouyab-green);
  box-shadow:0 8px 18px rgba(33,76,43,.22);
}

.pouyab-nav a.pouyab-nav-cta:hover{
  color:#fff;
  background:var(--pouyab-green-2);
}

.pouyab-burger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  width:40px;
  height:40px;
  padding:10px 8px;
  border:none;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
}

.pouyab-burger span{
  display:block;
  height:3px;
  width:100%;
  border-radius:999px;
  background:var(--pouyab-green);
  transition:transform .3s ease,opacity .3s ease;
}

.pouyab-header.open .pouyab-burger span:nth-child(1){
  transform:translateY(9px) rotate(45deg);
}

.pouyab-header.open .pouyab-burger span:nth-child(2){
  opacity:0;
}

.pouyab-header.open .pouyab-burger span:nth-child(3){
  transform:translateY(-9px) rotate(-45deg);
}

@media(max-width:900px){
  .pouyab-burger{
    display:flex;
  }

  .pouyab-nav{
    position:absolute;
    top:100%;
    right:0;
    left:0;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    padding:10px 5% 14px;
    background:rgba(251,250,244,.97);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(33,76,43,.08);
    transform:translateY(-8px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:transform .3s ease,opacity .3s ease,visibility .3s ease;
  }

  .pouyab-header.open .pouyab-nav{
    transform:translateY(0);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .pouyab-nav a{
    justify-content:center;
    padding:13px 14px;
    font-size:15px;
    border-radius:12px;
    transition:background .2s ease,color .2s ease;
  }

  .pouyab-nav a:hover{
    background:rgba(33,76,43,.06);
  }

  .pouyab-nav a.is-current{
    background:rgba(216,169,30,.14);
  }

  .pouyab-nav a.pouyab-nav-cta{
    margin-right:0;
  }
}

@media(max-width:520px){
  .pouyab-header-inner{
    min-height:64px;
  }

  .pouyab-brand img{
    height:42px;
  }

  .pouyab-brand-text strong{
    font-size:17px;
  }
}

/* ---------- Footer ---------- */
.pouyab-footer{
  background:#173a20;
  color:#fff;
  font-family:"IRANYekan",sans-serif;
}

.pouyab-footer-top{
  width:min(1120px,94%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:44px;
  padding:64px 0 48px;
}

.pouyab-footer-brand img{
  height:72px;
  width:auto;
  margin-bottom:18px;
}

.pouyab-footer-brand p{
  margin:0;
  max-width:360px;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:2;
  text-align:justify;
  text-justify:inter-word;
  text-align-last:right;
}

.pouyab-footer h4{
  margin:0 0 16px;
  color:var(--pouyab-gold-soft);
  font-size:15px;
  font-weight:800;
}

.pouyab-footer-links{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.pouyab-footer-links a{
  color:rgba(255,255,255,.75);
  font-size:13px;
  transition:color .2s ease,padding-right .2s ease;
}

.pouyab-footer-links a:hover{
  color:#fff;
  padding-right:4px;
}

.pouyab-footer-contact p{
  margin:0 0 10px;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.9;
}

.pouyab-footer-contact strong{
  display:block;
  color:#fff;
  font-weight:700;
}

@media(max-width:820px){
  .pouyab-footer-top{
    grid-template-columns:1fr 1fr;
    gap:34px;
  }
}

@media(max-width:560px){
  .pouyab-footer-top{
    grid-template-columns:1fr;
    padding:46px 0 34px;
  }
}