
/* پایه */
:root{
  --bg: #f7f8fa;
  --card: #ffffff;
  --primary: #2b6cb0; /* آبی ملایم */
  --muted: #6b7280;
  --accent: #f6ad55; /* نارنجی ملایم برای تأکید */
  --radius: 10px;
  --max-width: 1100px;
  --shadow: 0 6px 18px rgba(16,24,40,0.08);
  --font-stack: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  font-family:var(--font-stack);
  background:var(--bg);
  color:#111827;
  direction:rtl;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ظرف اصلی */
.container{
  max-width:var(--max-width);
  margin:28px auto;
  padding:20px;
}

/* هدر / ناوبری */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.logo{
  width:52px;
  height:52px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--primary),#85c1ff);
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-weight:700;
  box-shadow:var(--shadow);
}
.site-title{
  font-size:18px;
  font-weight:700;
}
.site-sub{
  font-size:13px;
  color:var(--muted);
}

/* ناوبری لینک‌ها */
.nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.nav a{
  text-decoration:none;
  padding:8px 12px;
  border-radius:8px;
  color:var(--muted);
  font-weight:600;
}
.nav a:hover{
  background:rgba(43,108,176,0.08);
  color:var(--primary);
}
.nav .active{
  background:var(--primary);
  color:white;
  box-shadow:var(--shadow);
}

/* هero / کارت معرفی */
.hero{
  display:flex;
  gap:24px;
  align-items:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));
  padding:22px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  margin-bottom:20px;
}
.hero .text{
  flex:1;
}
.h1{
  font-size:22px;
  margin:0 0 8px 0;
}
.lead{
  color:var(--muted);
  margin:0;
}

/* شبکه کارت‌ها */
.grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3,1fr);
}
.card{
  background:var(--card);
  padding:16px;
  border-radius:12px;
  box-shadow:var(--shadow);
}
.card h3{margin:0 0 8px 0;}
.card p{margin:0;color:var(--muted);font-size:14px;}

/* گالری ساده */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.gallery .item{
  background:linear-gradient(0deg, #eef2ff, #ffffff);
  aspect-ratio:4/3;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:var(--muted);
  box-shadow:var(--shadow);
}

/* فرم تماس */
.form-row{display:flex;gap:10px;flex-wrap:wrap}
input[type="text"], input[type="email"], textarea{
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #e6e9ef;
  font-size:14px;
}
textarea{min-height:120px;resize:vertical}
.btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:8px;
  background:var(--primary);
  color:white;
  text-decoration:none;
  font-weight:700;
  border:none;
  cursor:pointer;
}

/* فوتر */
.footer{
  margin-top:28px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  padding:18px;
}

/* ریسپانسیو */
@media (max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .hero{flex-direction:column; align-items:flex-start}
}
@media (max-width:600px){
  .grid{grid-template-columns:1fr}
  .nav{gap:8px}
  .gallery{grid-template-columns:1fr}
  .header{flex-direction:column; align-items:flex-start}
}