/* =========================================================
   باربری تهران — Stylesheet
   رنگ‌ها مستقیماً از روی طرح اصلی نمونه‌برداری شده‌اند:
   سرمه‌ای تیره #0a1442 و نارنجی #ff5722
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

:root{
  --navy: #0a1442;
  --navy-deep: #050b28;
  --navy-soft: #121d54;
  --orange: #ff5722;
  --orange-dark: #e64a19;
  --red-call: #fe2323;
  --bg-light: #eef2f7;
  --white: #ffffff;
  --text-dark: #12142b;
  --text-muted: #545b72;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-card: 0 10px 30px rgba(10, 20, 66, .12);
  --footer-h: 78px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  padding-bottom: var(--footer-h);
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }

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

button{ font-family:inherit; cursor:pointer; border:none; }

.container{
  max-width: 720px;
  margin:0 auto;
  padding: 0 18px;
}

/* ---------- Top bar ---------- */
.topbar{
  background: var(--navy-deep);
  color: var(--white);
  position: sticky;
  top:0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.topbar-inner{
  max-width: 720px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 18px;
  gap: 10px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size: 1.15rem;
  letter-spacing: .2px;
}
.brand-badge{
  width:38px;height:38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;
}
.topbar-call{
  display:flex;
  align-items:center;
  gap:6px;
  background: var(--orange);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight:700;
  font-size:.85rem;
  white-space:nowrap;
}
.topbar-call svg{ width:16px; height:16px; }

/* ---------- Branch quick nav ---------- */
.branch-nav{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
  padding: 14px 18px 4px;
  max-width:720px;
  margin:0 auto;
}
.branch-btn{
  display:block;
  text-align:center;
  padding: 14px 8px;
  border-radius: 999px;
  font-weight:700;
  font-size: .95rem;
}
.branch-btn.navy{ background: var(--navy); color:var(--white); }
.branch-btn.orange{ background: var(--orange); color:var(--white); }

/* ---------- Hero / service cards ---------- */
.hero-section{
  max-width:720px;
  margin: 18px auto 0;
  padding: 0 18px;
}
.media-card{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  position:relative;
  background: var(--navy);
}
.media-card img{ width:100%; height:auto; display:block; }
.media-ribbon{
  position:absolute;
  bottom: 16px;
  right: 16px;
  left:16px;
  background: var(--red-call);
  color:#fff;
  font-weight:800;
  text-align:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.service-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 22px 24px;
  margin: -18px 14px 26px;
  position:relative;
  z-index: 2;
  text-align:center;
}
.service-card h2{
  font-size: 1.6rem;
  font-weight:800;
  color: var(--navy);
  margin: 4px 0 14px;
}
.service-feature{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:600;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size:1.02rem;
}
.check-dot{
  width:26px;height:26px;
  border-radius:50%;
  background: var(--orange);
  display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.check-dot svg{ width:14px;height:14px; }

.cta-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background: var(--navy);
  color:#fff;
  font-weight:700;
  font-size:1.05rem;
  padding: 16px 20px;
  border-radius: 999px;
  width:100%;
}
.cta-btn svg{ width:18px;height:18px; }
.cta-btn:active{ opacity:.85; }

/* section heading used before media */
.section-label{
  max-width:720px;
  margin: 30px auto 12px;
  padding: 0 24px;
}
.section-label span{
  display:inline-block;
  background: var(--orange);
  color:#fff;
  font-weight:700;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 1.02rem;
}

/* ---------- generic dark section ---------- */
.dark-block{
  background: var(--navy-deep);
  padding: 30px 0 40px;
  margin-top: 8px;
}
.dark-block .container{ max-width:720px; }
.dark-block h2{
  color:#fff;
  font-size:1.5rem;
  font-weight:800;
  text-align:center;
  margin: 6px 0 18px;
}
.dark-block p{
  color: #cfd6ee;
  text-align:center;
  line-height:2;
  font-size: 1rem;
}

/* ---------- Testimonials / gallery ---------- */
.gallery-heading{
  text-align:center;
  padding: 34px 20px 6px;
}
.gallery-heading h2{
  font-size:1.55rem;
  font-weight:800;
  color: var(--navy);
  margin:0 0 12px;
}
.gallery-heading .rule{
  width:120px;height:5px;
  background: var(--orange);
  border-radius:4px;
  margin: 0 auto;
}
.gallery{
  max-width:720px;
  margin: 20px auto 0;
  padding: 0 18px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.gallery figure{
  margin:0;
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-card);
}
.gallery figure img{ width:100%; }

/* ---------- Stats ---------- */
.stats-section{
  background: var(--bg-light);
  padding: 34px 0 8px;
  text-align:center;
}
.stats-section h2{
  font-size:1.55rem;
  font-weight:800;
  color: var(--navy);
  margin:0 0 12px;
}
.stats-grid{
  max-width:720px;
  margin:24px auto 0;
  padding: 0 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 14px;
}
.stat-item .num{
  font-size: 2.3rem;
  font-weight: 900;
  line-height:1;
}
.stat-item:nth-child(odd) .num{ color: var(--navy); }
.stat-item:nth-child(even) .num{ color: var(--orange); }
.stat-item .label{
  margin-top:8px;
  font-weight:600;
  color: var(--text-muted);
  font-size: .95rem;
}

/* ---------- Blog / article section ---------- */
.article-section{
  max-width:720px;
  margin: 10px auto 0;
  padding: 26px 20px 10px;
}
.article-section h2.article-title{
  text-align:center;
  font-size:1.6rem;
  font-weight:800;
  color: var(--navy);
  margin: 0 0 10px;
}
.article-section .rule{
  width:120px;height:5px;
  background: var(--orange);
  border-radius:4px;
  margin: 0 auto 24px;
}
.article-block{ margin-bottom: 30px; }
.article-block h3{
  font-size: 1.25rem;
  font-weight:800;
  color: var(--navy-soft);
  border-right: 5px solid var(--orange);
  padding-right: 12px;
  margin: 0 0 14px;
  line-height:1.8;
}
.article-block p{
  line-height:2.05;
  color: var(--text-dark);
  font-size: 1rem;
  margin: 0 0 12px;
}
.article-block ul{
  margin:0 0 12px;
  padding-right: 20px;
  line-height:1.9;
}
.article-block ul li{
  margin-bottom: 12px;
  font-size: 1rem;
}
.article-block ul li b{ color: var(--navy); }

.closing-media{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  margin: 10px 0 6px;
}
.closing-note{
  text-align:center;
  font-weight:700;
  color: var(--navy);
  line-height:2;
  margin: 18px 0 6px;
  font-size: 1.05rem;
}

/* ---------- Contact / footer info ---------- */
.contact-block{
  background: var(--navy-deep);
  color:#fff;
  padding: 40px 0 34px;
  margin-top: 10px;
}
.contact-block .container{ max-width:720px; text-align:center; }
.contact-block h2{
  font-size:1.55rem;
  font-weight:800;
  margin:0 0 22px;
}
.contact-row{
  font-size: 1.05rem;
  font-weight:600;
  margin-bottom: 14px;
  color:#d9deef;
}
.contact-row b{ color:#fff; }
.contact-row a{ color:#ffb499; }

.blog-links{
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.blog-links h3{
  font-size:1.3rem;
  font-weight:800;
  margin: 0 0 18px;
}
.blog-links a{
  display:block;
  padding: 10px 0;
  font-weight:600;
  color:#c7cee9;
}
.blog-links a:hover{ color:#fff; }

/* ---------- Site footer credit ---------- */
.site-credit{
  text-align:center;
  padding: 18px 18px calc(18px + var(--footer-h));
  background: var(--navy-deep);
  color:#6d76a0;
  font-size:.85rem;
}

/* ---------- Sticky call footer ---------- */
.call-footer{
  position:fixed;
  bottom:0; left:0; right:0;
  z-index: 60;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--red-call);
  box-shadow: 0 -4px 18px rgba(0,0,0,.25);
}
.call-footer a{
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding: 10px 4px 12px;
  font-size: .78rem;
  font-weight:700;
  border-right: 1px solid rgba(255,255,255,.25);
  text-align:center;
}
.call-footer a:first-child{ border-right:none; }
.call-footer svg{ width:19px; height:19px; }

/* ---------- utility ---------- */
.mt-0{ margin-top:0 !important; }

@media (min-width: 560px){
  .stats-grid{ grid-template-columns: repeat(4,1fr); }
  .branch-nav{ grid-template-columns: repeat(4,1fr); }
}

@media (min-width: 780px){
  .container, .hero-section, .article-section, .gallery, .stats-grid, .branch-nav{
    max-width: 760px;
  }
}
