:root{
  --green:#102c2a;
  --emerald:#197363;
  --gold:#d6ad66;
  --ink:#15201f;
  --muted:#61706d;
  --line:#dfe8e5;
  --soft:#f3f7f6;
  --white:#ffffff;
  --shadow:0 18px 55px rgba(13,42,39,.10);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  direction:rtl;
  color:var(--ink);
  background:#fbfdfc;
  font-family:Vazirmatn,Tahoma,Arial,sans-serif;
  line-height:1.9;
}

a{color:inherit;text-decoration:none}

.site-header{
  min-height:78px;
  padding:14px max(5vw,24px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:10;
}

.public-brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.public-brand-mark{
  width:43px;
  height:43px;
  border-radius:13px;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--green);
  font-size:23px;
  font-weight:900;
}

.public-brand span:last-child{
  display:grid;
  line-height:1.4;
}

.public-brand small{
  color:var(--muted);
  font-size:11px;
}

.public-nav{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:14px;
}

.public-nav a:hover{color:var(--emerald)}

.public-nav .nav-action{
  padding:9px 15px;
  border-radius:10px;
  color:#fff;
  background:var(--green);
}

.page-wrap{
  width:min(1100px,calc(100% - 32px));
  margin:42px auto 80px;
}

.hero-panel{
  padding:52px;
  border-radius:28px;
  color:#fff;
  background:
    radial-gradient(circle at 15% 15%,rgba(214,173,102,.24),transparent 33%),
    linear-gradient(135deg,#102c2a,#174b45);
  box-shadow:var(--shadow);
}

.eyebrow{
  display:inline-block;
  margin-bottom:9px;
  color:#f0cc8d;
  font-size:13px;
  font-weight:800;
}

.hero-panel h1{
  margin:0 0 14px;
  font-size:clamp(34px,5vw,58px);
  line-height:1.35;
}

.hero-panel p{
  max-width:780px;
  margin:0;
  color:#d6e4e1;
  font-size:17px;
}

.breadcrumb{
  margin-bottom:18px;
  color:var(--muted);
  font-size:13px;
}

.breadcrumb a{color:var(--emerald)}

.content-grid{
  display:grid;
  grid-template-columns:1fr 310px;
  gap:22px;
  margin-top:25px;
  align-items:start;
}

.content-card,
.side-card,
.service-public-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 8px 28px rgba(13,42,39,.05);
}

.content-card{padding:34px}

.content-card h2{
  margin-top:36px;
  margin-bottom:8px;
  font-size:25px;
}

.content-card h2:first-child{margin-top:0}

.content-card h3{
  margin-top:25px;
  margin-bottom:6px;
}

.content-card p,
.content-card li{color:#44524f}

.content-card ul{
  padding-right:22px;
}

.side-card{
  padding:24px;
  position:sticky;
  top:100px;
}

.side-card h3{margin-top:0}

.side-card nav{
  display:grid;
  gap:8px;
}

.side-card nav a{
  padding:8px 11px;
  border-radius:9px;
  color:var(--muted);
}

.side-card nav a:hover{
  color:var(--emerald);
  background:var(--soft);
}

.notice-box{
  padding:17px 20px;
  margin:24px 0;
  border-right:4px solid var(--gold);
  border-radius:13px;
  background:#fff8e9;
  color:#654c21;
}

.info-box{
  padding:17px 20px;
  margin:24px 0;
  border-right:4px solid var(--emerald);
  border-radius:13px;
  background:#edf7f4;
}

.services-public-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:28px;
}

.service-public-card{
  padding:25px;
}

.service-public-card i{
  font-style:normal;
  font-size:29px;
}

.service-public-card h2{
  margin:10px 0 7px;
  font-size:20px;
}

.service-public-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.cta-panel{
  margin-top:30px;
  padding:35px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:#fff;
  background:var(--green);
}

.cta-panel h2{margin:0 0 6px}

.cta-panel p{
  margin:0;
  color:#c9dbd7;
}

.action-group{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.action-button{
  display:inline-block;
  padding:11px 17px;
  border-radius:11px;
  color:var(--green);
  background:#fff;
  font-weight:800;
  white-space:nowrap;
}

.action-button.secondary{
  color:#fff;
  background:#ffffff17;
  border:1px solid #ffffff38;
}

.update-date{
  display:inline-block;
  margin-top:16px;
  color:#d9e7e4;
  font-size:12px;
}

.public-footer{
  padding:30px max(5vw,24px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  color:#c7d6d3;
  background:#0e2826;
  font-size:12px;
}

.public-footer nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.public-footer a{color:#edca8e}

.error-page{
  min-height:72vh;
  display:grid;
  place-items:center;
  text-align:center;
}

.error-code{
  margin:0;
  color:var(--emerald);
  font-size:100px;
  line-height:1;
}

.error-page h1{
  margin:15px 0 5px;
}

.error-page p{
  color:var(--muted);
}

@media(max-width:850px){
  .public-nav{display:none}
  .content-grid{grid-template-columns:1fr}
  .side-card{position:static}
  .services-public-grid{grid-template-columns:1fr 1fr}
  .hero-panel{padding:35px 25px}
}

@media(max-width:580px){
  .services-public-grid{grid-template-columns:1fr}
  .content-card{padding:23px}
  .cta-panel{align-items:flex-start;flex-direction:column}
  .public-footer{align-items:flex-start;flex-direction:column}
}

/* SERVICE-DETAIL-PAGES START */

.service-public-card{
  display:block;
  color:inherit;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.service-public-card:hover{
  transform:translateY(-5px);
  border-color:#a9c9c2;
  box-shadow:0 18px 40px rgba(13,42,39,.10);
}

.service-card-link{
  display:inline-block;
  margin-top:15px;
  color:var(--emerald);
  font-size:13px;
  font-weight:800;
}

.service-detail-hero{
  position:relative;
  overflow:hidden;
}

.service-detail-icon{
  position:absolute;
  left:35px;
  top:25px;
  font-size:70px;
  opacity:.17;
}

.check-list{
  list-style:none;
  padding:0!important;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 18px;
}

.check-list li{
  position:relative;
  padding:12px 40px 12px 14px;
  border-radius:12px;
  background:var(--soft);
}

.check-list li::before{
  content:"✓";
  position:absolute;
  right:14px;
  color:var(--emerald);
  font-weight:900;
}

.process-list{
  display:grid;
  gap:12px;
  margin:20px 0 30px;
}

.process-list>div{
  display:flex;
  align-items:center;
  gap:15px;
  padding:15px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

.process-list b{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:var(--green);
}

.process-list span{
  display:grid;
}

.process-list small{
  color:var(--muted);
}

.faq-list{
  display:grid;
  gap:10px;
}

.faq-item{
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  overflow:hidden;
}

.faq-item summary{
  padding:15px 17px;
  cursor:pointer;
  font-weight:800;
}

.faq-item p{
  margin:0;
  padding:0 17px 17px;
}

.service-cta{
  margin-bottom:0;
}

.side-info{
  margin-bottom:0;
  font-size:13px;
}

.side-info p{
  margin:5px 0 0;
}

.stat-strip b{
  font-size:19px;
}

@media(max-width:700px){
  .check-list{
    grid-template-columns:1fr;
  }

  .service-detail-icon{
    left:15px;
    top:15px;
    font-size:52px;
  }

  .stat-strip b{
    font-size:15px;
  }
}

/* SERVICE-DETAIL-PAGES END */

/* LEGAL-GUIDES START */

.guides-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:28px;
}

.guide-card{
  display:block;
  padding:28px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 28px rgba(13,42,39,.05);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.guide-card:hover{
  transform:translateY(-5px);
  border-color:#a9c9c2;
  box-shadow:0 18px 40px rgba(13,42,39,.10);
}

.guide-card-label{
  display:inline-block;
  padding:4px 10px;
  border-radius:20px;
  color:var(--emerald);
  background:#eaf5f2;
  font-size:12px;
  font-weight:800;
}

.guide-card h2{
  margin:13px 0 8px;
  font-size:22px;
  line-height:1.55;
}

.guide-card p{
  margin:0;
  color:var(--muted);
}

.guide-article{
  width:min(850px,100%);
  margin:0 auto;
}

.guide-header{
  padding:45px;
  border-radius:25px;
  color:#fff;
  background:
    radial-gradient(circle at 10% 10%,rgba(214,173,102,.22),transparent 32%),
    linear-gradient(135deg,#102c2a,#174b45);
  box-shadow:var(--shadow);
}

.guide-header h1{
  margin:0 0 13px;
  font-size:clamp(32px,5vw,50px);
  line-height:1.45;
}

.guide-header>p{
  margin:0;
  color:#d8e6e3;
  font-size:17px;
}

.article-meta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
  color:#c7d9d5;
  font-size:13px;
}

.article-meta a{
  color:#f0cc8d;
  font-weight:800;
}

.guide-section,
.guide-checklist,
.source-policy-box{
  margin-top:22px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}

.guide-section h2,
.guide-checklist h2,
.source-policy-box h2{
  margin-top:0;
}

.guide-section li{
  margin-bottom:7px;
  color:#44524f;
}

.source-policy-box{
  border-right:4px solid var(--emerald);
  background:#f5faf8;
}

.source-policy-box p{
  color:var(--muted);
}

.source-policy-box a{
  color:var(--emerald);
  font-weight:800;
}

.author-card{
  width:min(850px,100%);
  margin:25px auto 0;
}

.dark-action{
  color:#fff;
  background:var(--green);
}

@media(max-width:720px){
  .guides-grid{
    grid-template-columns:1fr;
  }

  .guide-header{
    padding:32px 23px;
  }

  .guide-section,
  .guide-checklist,
  .source-policy-box{
    padding:22px;
  }
}

/* LEGAL-GUIDES END */

/* STANDARD-BREADCRUMBS START */

.breadcrumb{
  margin:0 0 18px;
  color:var(--muted);
  font-size:13px;
}

.breadcrumb ol{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  list-style:none;
}

.breadcrumb li{
  display:flex;
  align-items:center;
}

.breadcrumb li+li::before{
  content:"/";
  display:inline-block;
  margin:0 9px;
  color:#9aaaa6;
}

.breadcrumb a{
  color:var(--emerald);
  text-decoration:none;
}

.breadcrumb a:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

.breadcrumb [aria-current="page"]{
  color:var(--muted);
  font-weight:700;
}

@media(max-width:580px){
  .breadcrumb{
    font-size:12px;
  }

  .breadcrumb li+li::before{
    margin:0 6px;
  }
}

/* STANDARD-BREADCRUMBS END */
