/*
Theme Name: عمران پیشرو توسعه راسا
Theme URI: https://omranpishroo.ir
Author: عمران پیشرو توسعه راسا
Description: قالب اختصاصی دفتر فنی و پیمانکاری — طراحی نارنجی و سرمه‌ای
Version: 2.0
Text Domain: omranpishroo
*/

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  direction: rtl;
  background: #fff;
  color: #0D1B2E;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --navy:        #0D1B2E;
  --navy2:       #162035;
  --orange:      #E07820;
  --orange2:     #F28C35;
  --orange-lt:   #FFF3E8;
  --text1:       #0D1B2E;
  --text2:       #3a4a5a;
  --text3:       #7a8a9a;
  --bg:          #F5F7FA;
  --border:      #E2E8F0;
  --white:       #ffffff;
  --r:           8px;
  --r2:          12px;
  --shadow-sm:   0 2px 8px rgba(13,27,46,.08);
  --shadow-md:   0 6px 24px rgba(13,27,46,.12);
  --shadow-lg:   0 12px 40px rgba(13,27,46,.16);
  --trans:       0.25s ease;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.4; color: var(--navy); }
h1 { font-size: clamp(24px, 4vw, 40px); }
h2 { font-size: clamp(20px, 3vw, 28px); }
h3 { font-size: clamp(16px, 2vw, 20px); }
h4 { font-size: 15px; }
p  { color: var(--text2); font-size: 14.5px; line-height: 1.9; }

/* =============================================
   CONTAINER & SECTIONS
============================================= */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--bg); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--orange); background: var(--orange-lt);
  padding: 4px 16px; border-radius: 20px; margin-bottom: .6rem;
}
.section-header h2 { margin-bottom: .4rem; }
.section-header p  { color: var(--text3); font-size: 14px; }
.section-header .line {
  width: 50px; height: 3px; background: var(--orange);
  margin: .8rem auto 0; border-radius: 2px;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r);
  font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; border: none; transition: var(--trans);
  text-decoration: none;
}
.btn-primary  { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange2); transform: translateY(-1px); }
.btn-navy     { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy2); }
.btn-outline  { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-outline-white:hover { background: rgba(255,255,255,.2); }

/* =============================================
   HEADER / NAV — Glassmorphism
============================================= */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,27,46,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
#site-header.scrolled { background: rgba(13,27,46,.95); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 70px;
}
/* Logo */
.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 46px; height: 46px; background: var(--orange);
  border-radius: var(--r); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.logo-icon i { color: #fff; font-size: 22px; }
.logo-text h2 { color: #fff; font-size: 14px; font-weight: 700; margin: 0; line-height: 1.3; }
.logo-text p  { color: rgba(255,255,255,.55); font-size: 10px; margin: 0; }

/* Nav Menu */
.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,.82); font-size: 13px;
  padding: 7px 13px; border-radius: var(--r);
  transition: var(--trans); display: block;
}
.main-nav a:hover,
.main-nav .current-menu-item > a { color: #fff; background: rgba(255,255,255,.12); }
.main-nav .current-menu-item > a { color: var(--orange2); }

/* Dropdown */
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu {
  display: none; position: absolute; top: 100%; right: 0;
  background: var(--navy); min-width: 200px; border-radius: var(--r2);
  box-shadow: var(--shadow-lg); padding: .5rem 0;
  border: 1px solid rgba(255,255,255,.08); z-index: 200;
}
/* فقط زیرمنوی فرزند مستقیم باز شود */
.main-nav .menu-item-has-children:hover > .sub-menu { display: block; }

/* زیرمنوی سطح دوم */
.main-nav .sub-menu .sub-menu{
  display:none;
  top:0;
  right:100%;
}

.main-nav .sub-menu .menu-item-has-children:hover > .sub-menu{
  display:block;
}
.main-nav .sub-menu a { padding: 10px 18px; border-radius: 0; font-size: 13px; }
.main-nav .sub-menu a:hover { background: rgba(255,255,255,.08); color: var(--orange2); }

/* Header Left (شماره + دکمه) */
.header-left { display: flex; align-items: center; gap: 10px; }
.header-phone {
  color: rgba(255,255,255,.82); font-size: 13px;
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); padding: 8px 16px;
  border-radius: var(--r); border: 1px solid rgba(255,255,255,.12);
  direction: ltr; text-decoration: none;
}
.header-phone i { color: var(--orange2); }
.header-cta { background: var(--orange); color: #fff !important; font-size: 13px; padding: 10px 18px !important; }
.header-cta:hover { background: var(--orange2); }

/* Mobile Toggle — داخل header-left قرار داره */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 26px; padding: 4px; }

@media (max-width: 992px){

    .main-nav .sub-menu{
        position: static !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,.04);
    }


    .main-nav .sub-menu .sub-menu{
        position: static !important;
        right: auto !important;
        left: auto !important;
        padding-right: 20px;
        margin-top: 5px;
    }

}/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  overflow: hidden; display: flex; flex-direction: column;
  /* حداقل ارتفاع بدون تصویر */
  background: linear-gradient(160deg,#0D1B2E 0%,#162035 40%,#1a3060 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(13,27,46,.97) 0%, rgba(13,27,46,.82) 50%, rgba(13,27,46,.5) 100%);
}
/* وقتی تصویر هست overlay فعاله، وقتی نیست hero-bg نشون داده میشه */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg,#0D1B2E 0%,#162035 40%,#1a3060 65%,#243a6a 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg,rgba(255,255,255,.02) 0,rgba(255,255,255,.02) 1px,transparent 0,transparent 60px),
    repeating-linear-gradient(90deg,rgba(255,255,255,.02) 0,rgba(255,255,255,.02) 1px,transparent 0,transparent 60px);
  background-size: 60px 60px;
}
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* محتوای هیرو — پدینگ بالا و پایین متعادل */
.hero-content {
  position: relative; z-index: 2;
  padding: 5rem 1.5rem 4rem;
  max-width: 1160px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(224,120,32,.18); border: 1px solid rgba(224,120,32,.4);
  color: #F5A35A; padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700; margin-bottom: 1.25rem;
}
.hero-content h1 {
  color: #fff; font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 900; line-height: 1.42; margin-bottom: .85rem; max-width: 680px;
}
.hero-content h1 em { color: var(--orange2); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,.72); font-size: 15px;
  margin-bottom: 2.25rem; line-height: 1.8; max-width: 520px;
}
.hero-btns { display: flex; gap: .85rem; flex-wrap: wrap; }

/* Stats Bar — چسبیده به پایین hero */
.hero-stats {
  position: relative; z-index: 2;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: center; flex-wrap: wrap;
}
.h-stat {
  flex: 1; min-width: 160px; max-width: 260px;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 13px;
  border-left: 1px solid rgba(255,255,255,.07);
}
.h-stat:last-child { border-left: none; }
.h-stat-ic {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(224,120,32,.2); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange2); font-size: 22px;
}
.h-stat .n { color: #fff; font-size: 22px; font-weight: 700; line-height: 1; }
.h-stat .l { color: rgba(255,255,255,.5); font-size: 11px; margin-top: 3px; }

@media(max-width:992px){

.hero-actions{
    justify-content:flex-start;
    direction:rtl;
}

}
/* =============================================
   SERVICE CARDS
============================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.service-card {
  background: #fff; border-radius: var(--r2); padding: 1.6rem 1rem 1.25rem;
  border: 1px solid var(--border); text-align: center;
  cursor: pointer; transition: var(--trans); display: block; text-decoration: none;
}
.service-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(224,120,32,.12); }
.service-icon {
  width: 66px; height: 66px; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; transition: var(--trans);
}
.service-icon i { font-size: 28px; transition: var(--trans); }
/* رنگ‌های آیکون هر سرویس */
.service-card:nth-child(1)  .service-icon { background:#FFF3E8; } .service-card:nth-child(1)  .service-icon i { color:#E07820; }
.service-card:nth-child(2)  .service-icon { background:#EBF5FF; } .service-card:nth-child(2)  .service-icon i { color:#2563EB; }
.service-card:nth-child(3)  .service-icon { background:#ECFDF5; } .service-card:nth-child(3)  .service-icon i { color:#059669; }
.service-card:nth-child(4)  .service-icon { background:#FFF1F2; } .service-card:nth-child(4)  .service-icon i { color:#E11D48; }
.service-card:nth-child(5)  .service-icon { background:#FFFBEB; } .service-card:nth-child(5)  .service-icon i { color:#D97706; }
.service-card:nth-child(6)  .service-icon { background:#F5F3FF; } .service-card:nth-child(6)  .service-icon i { color:#7C3AED; }
.service-card:nth-child(7)  .service-icon { background:#F0FDFA; } .service-card:nth-child(7)  .service-icon i { color:#0D9488; }
.service-card:nth-child(8)  .service-icon { background:#FFF3E8; } .service-card:nth-child(8)  .service-icon i { color:#E07820; }
.service-card:hover .service-icon { background: var(--orange) !important; }
.service-card:hover .service-icon i { color: #fff !important; }
.service-card h3 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.service-card p  { font-size: 11px; color: var(--text3); line-height: 1.6; margin-bottom: .65rem; }
.service-more { color: var(--orange); font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 3px; justify-content: center; }

/* =============================================
   PROJECT CARDS — before/after split
============================================= */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.project-card { border-radius: var(--r2); overflow: hidden; background: #fff; border: 1px solid var(--border); transition: var(--trans); cursor: pointer; }
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.project-thumb { position: relative; height: 200px; overflow: hidden; }
.project-ba { display: flex; height: 100%; }
.project-ba-before { flex: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1e2a3a,#2a3a50); }
.project-ba-after  { flex: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a3a6a,#2a5a8a); border-right: 2px solid #fff; }
.project-ba-after.villa  { background: linear-gradient(135deg,#1a3a6a,#2a6090); }
.project-ba-after.green  { background: linear-gradient(135deg,#2a3a2a,#3a5a3a); }
.project-ba-icon { font-size: 54px; opacity: .25; color: #fff; }
.project-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 1; }
.project-divider::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 24px; height: 24px; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.project-labels { position: absolute; top: 10px; right: 10px; left: 10px; display: flex; justify-content: space-between; z-index: 2; }
.badge-after  { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--orange); color: #fff; }
.badge-before { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.project-body { padding: 1.1rem; }
.project-tag  { font-size: 10px; color: var(--orange); font-weight: 700; display: block; margin-bottom: 4px; }
.project-body h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: .65rem; }
.project-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .65rem; }
.project-meta span { font-size: 11px; color: var(--text3); display: flex; align-items: center; gap: 4px; }
.project-meta i  { color: var(--orange); font-size: 13px; }
.project-more { color: var(--orange); font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 4px; }

/* =============================================
   WHY US
============================================= */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.why-item { background: #fff; border-radius: var(--r2); padding: 1.35rem; border: 1px solid var(--border); display: flex; gap: 13px; align-items: flex-start; transition: var(--trans); }
.why-item:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(224,120,32,.08); }
.why-icon { width: 48px; height: 48px; min-width: 48px; background: var(--orange-lt); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 20px; }
.why-item h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.why-item p  { font-size: 12px; color: var(--text3); line-height: 1.6; }

/* =============================================
   PROCESS STEPS
============================================= */
.steps-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; position: relative; padding: .5rem 0; }
.steps-row::before { content: ''; position: absolute; top: 40px; right: 6%; left: 6%; height: 2px; background: var(--border); z-index: 0; }
.step { flex: 1; min-width: 86px; max-width: 110px; text-align: center; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; margin: 0 auto .7rem; border: 3px solid #fff; position: relative; z-index: 1; }
.step.done .step-num { background: var(--orange); color: #fff; box-shadow: 0 0 0 3px rgba(224,120,32,.25); }
.step:not(.done) .step-num { background: #fff; color: var(--orange); border: 2.5px solid var(--orange); }
.step h4 { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.step p  { font-size: 10.5px; color: var(--text3); }

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.testimonial-card { background: #fff; border-radius: var(--r2); padding: 1.6rem; border: 1px solid var(--border); position: relative; overflow: hidden; }
.testimonial-card::before { content: '\201C'; position: absolute; top: 6px; left: 14px; font-size: 56px; color: var(--orange-lt); font-family: Georgia,serif; line-height: 1; pointer-events: none; }
.stars { color: var(--orange); font-size: 14px; margin-bottom: .7rem; }
.testimonial-text { font-size: 13.5px; color: var(--text2); line-height: 1.85; margin-bottom: .9rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: .85rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--orange)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.testimonial-author h5 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 1px; }
.testimonial-author span { font-size: 11px; color: var(--text3); }

/* =============================================
   BLOG CARDS
============================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.blog-card { background: #fff; border-radius: var(--r2); border: 1px solid var(--border); overflow: hidden; transition: var(--trans); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-stripe { height: 7px; background: var(--orange); }
.blog-stripe.alt { background: var(--navy); }
.blog-card-body { padding: 1.1rem; }
.blog-cat { display: inline-block; font-size: 10px; font-weight: 700; color: var(--orange); background: var(--orange-lt); padding: 3px 10px; border-radius: 20px; margin-bottom: .6rem; }
.blog-card h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: .5rem; }
.blog-meta { font-size: 11px; color: var(--text3); display: flex; align-items: center; gap: .5rem; }
.blog-more { color: var(--orange); font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 4px; margin-top: .65rem; }

/* =============================================
   CALCULATOR
============================================= */
.calc-box { background: #fff; border-radius: var(--r2); border: 1px solid var(--border); overflow: hidden; max-width: 860px; margin: 0 auto; }
.calc-header { background: var(--navy); padding: 1.25rem 1.75rem; display: flex; align-items: center; gap: 13px; }
.calc-header i { color: var(--orange2); font-size: 26px; }
.calc-header h3 { color: #fff; font-size: 15px; font-weight: 700; margin: 0; }
.calc-header p { color: rgba(255,255,255,.55); font-size: 12px; margin: 0; }
.calc-body { padding: 1.75rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 700; color: var(--text2); display: flex; align-items: center; gap: 5px; }
.field label i { color: var(--orange); font-size: 14px; }
.field input, .field select {
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 10px 13px; font-size: 13px; font-family: inherit;
  direction: rtl; color: var(--text1); background: var(--bg); transition: .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; }
.calc-submit { width: 100%; background: var(--orange); color: #fff; border: none; padding: 14px; border-radius: var(--r); font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--trans); }
.calc-submit:hover { background: var(--orange2); }
.calc-result { display: none; margin-top: 1.25rem; background: var(--navy); border-radius: var(--r2); padding: 1.75rem; text-align: center; }
.calc-result.show { display: block; }
.result-label { color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: .4rem; }
.result-amount { color: var(--orange2); font-size: 30px; font-weight: 900; margin-bottom: .3rem; }
.result-note { color: rgba(255,255,255,.45); font-size: 11px; margin-bottom: 1.25rem; }
.result-cta { background: var(--orange); color: #fff; border: none; padding: 12px 26px; border-radius: var(--r); font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; transition: var(--trans); display: inline-flex; align-items: center; gap: 7px; }
.result-cta:hover { background: var(--orange2); }

/* =============================================
   CONTACT
============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; max-width: 920px; margin: 0 auto; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-box { background: var(--navy); border-radius: var(--r2); padding: 2rem; position: relative; overflow: hidden; }
.contact-info-box::before { content: ''; position: absolute; top: -60px; left: -60px; width: 200px; height: 200px; background: rgba(224,120,32,.07); border-radius: 50%; }
.contact-info-box h3 { color: #fff; font-size: 17px; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.c-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 1.1rem; position: relative; z-index: 1; }
.c-icon { width: 42px; height: 42px; min-width: 42px; background: rgba(224,120,32,.15); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: var(--orange2); font-size: 18px; }
.c-row strong { color: #fff; font-size: 13px; display: block; margin-bottom: 2px; }
.c-row span { color: rgba(255,255,255,.6); font-size: 13px; direction: ltr; display: block; text-align: right; }
.social-row { display: flex; gap: 8px; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.social-btn { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 16px; cursor: pointer; transition: var(--trans); }
.social-btn:hover { background: var(--orange); color: #fff; }
.contact-form-box { background: #fff; border-radius: var(--r2); padding: 2rem; border: 1px solid var(--border); }
.contact-form-box h3 { color: var(--navy); font-size: 17px; margin-bottom: 1.4rem; padding-bottom: .85rem; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: .9rem; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text2); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--r);
  padding: 10px 14px; font-size: 13px; font-family: inherit;
  direction: rtl; color: var(--text1); background: var(--bg); transition: .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.form-group textarea { height: 90px; resize: vertical; }
.form-submit { width: 100%; background: var(--orange); color: #fff; border: none; padding: 13px; border-radius: var(--r); font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: var(--trans); display: flex; align-items: center; justify-content: center; gap: 7px; }
.form-submit:hover { background: var(--orange2); }

/* =============================================
   CTA BANNER
============================================= */
.cta-banner { background: var(--navy); border-radius: var(--r2); padding: 2.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; margin-bottom: .35rem; }
.cta-banner p  { color: rgba(255,255,255,.6); font-size: 14px; }

/* =============================================
   FEATURE CARDS (service detail pages)
============================================= */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.feat-card { background: var(--bg); border-radius: var(--r2); padding: 1.25rem; border-right: 4px solid var(--orange); }
.feat-card h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.feat-card h4 i { color: var(--orange); }
.feat-card p  { font-size: 12.5px; color: var(--text3); line-height: 1.65; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: right; padding: 1.1rem 0; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 1.1rem; font-size: 13.5px; color: var(--text2); }
.faq-item.open .faq-a { max-height: 260px; }
.faq-arrow { transition: transform .3s; flex-shrink: 0; color: var(--orange); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* =============================================
   VILLA FEATURES LIST
============================================= */
.villa-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 940px; margin: 0 auto; }
@media (max-width: 640px) { .villa-cols { grid-template-columns: 1fr; } }
.villa-col-title { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 15px; font-weight: 700; padding-bottom: .75rem; border-bottom: 2.5px solid var(--orange); margin-bottom: 1rem; }
.villa-col-title i { color: var(--orange); font-size: 18px; }
.villa-feature-row { display: flex; align-items: center; gap: 10px; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.villa-feature-row:last-child { border-bottom: none; }
.villa-feature-row i { color: var(--orange); font-size: 16px; width: 22px; flex-shrink: 0; }
.villa-feature-row span { font-size: 13.5px; color: var(--text2); }

/* =============================================
   FOOTER
============================================= */
#site-footer { background: var(--navy); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 1rem; line-height: 1.85; }
.footer-col h4 { color: var(--orange2); font-size: 13px; font-weight: 700; margin-bottom: 1rem; }
.footer-col a { color: rgba(255,255,255,.55); font-size: 13px; display: flex; align-items: center; gap: 6px; line-height: 2.4; transition: var(--trans); cursor: pointer; }
.footer-col a:hover { color: var(--orange2); }
.footer-col a i { font-size: 12px; color: var(--orange); opacity: .7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; color: rgba(255,255,255,.3); font-size: 12px; flex-wrap: wrap; gap: .5rem; }
.footer-socials { display: flex; gap: 8px; }
.footer-soc { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); font-size: 16px; cursor: pointer; transition: var(--trans); }
.footer-soc:hover { background: var(--orange); color: #fff; }

/* Trust Badges */
.trust-badge { width: 56px; height: 56px; background: rgba(255,255,255,.06); border-radius: var(--r); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-size: 10px; text-align: center; line-height: 1.4; cursor: pointer; transition: var(--trans); }
.trust-badge:hover { border-color: var(--orange); color: var(--orange2); }

/* =============================================
   SERVICE PAGE HERO
============================================= */
.service-page-hero { background: linear-gradient(100deg,var(--navy) 0%,#1a3a6a 100%); padding: 4rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.service-page-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: rgba(224,120,32,.07); border-radius: 50%; }
.service-page-hero .eyebrow { background: rgba(224,120,32,.18); border: 1px solid rgba(224,120,32,.4); color: #F5A35A; }
.service-page-hero h1 { color: #fff; margin: .75rem 0 .6rem; }
.service-page-hero p  { color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto; font-size: 14.5px; }

/* =============================================
   MISC UTILITIES
============================================= */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.map-placeholder { height: 200px; background: var(--bg); border: 1px dashed var(--border); border-radius: var(--r2); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text3); font-size: 13px; gap: 8px; margin-top: 1.5rem; }
.map-placeholder i { font-size: 32px; color: var(--orange); }

/* =============================================
   MOBILE NAV BOTTOM BAR
============================================= */
.mobile-bottom-bar { display: none; }
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex; position: fixed; bottom: 0; right: 0; left: 0; z-index: 999;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,.1);
    padding: .6rem 0; justify-content: space-around; align-items: center;
  }
  .mobile-bar-item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: rgba(255,255,255,.55); font-size: 10px; cursor: pointer; padding: 4px 12px; transition: var(--trans); text-decoration: none; }
  .mobile-bar-item i { font-size: 20px; }
  .mobile-bar-item.cta { background: var(--orange); color: #fff; border-radius: var(--r); padding: 6px 14px; }
  body { padding-bottom: 72px; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero-content { padding: 3rem 1.25rem 1.5rem; }
  .hero-stats { flex-wrap: wrap; }
  .h-stat { max-width: none; flex: 0 0 50%; border-left: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   CONTENT STYLES — استایل محتوای داخل برگه‌ها
   برای زیبایی متن‌هایی که در ویرایشگر وردپرس
   وارد می‌کنید
============================================= */

/* محتوای اصلی صفحه */
.entry-content,
.page-content-body,
.wp-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--text2);
}

/* تیترها */
.entry-content h1 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--orange);
  line-height: 1.4;
}
.entry-content h1:first-child { margin-top: 0; }

.entry-content h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 .85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.entry-content h2::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--orange);
  border-radius: 3px;
  flex-shrink: 0;
}

.entry-content h3 {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 .65rem;
}

.entry-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text1);
  margin: 1.25rem 0 .5rem;
}

/* پاراگراف */
.entry-content p {
  font-size: 15.5px;
  line-height: 2;
  color: var(--text2);
  margin-bottom: 1.35rem;
}

/* لیست‌های نقطه‌ای */
.entry-content ul {
  margin: 1rem 0 1.5rem;
  padding-right: 0;
  list-style: none;
}
.entry-content ul li {
  position: relative;
  padding: .55rem 1.75rem .55rem 0;
  font-size: 15px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  line-height: 1.75;
}
.entry-content ul li:last-child { border-bottom: none; }
.entry-content ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* لیست شماره‌دار */
.entry-content ol {
  margin: 1rem 0 1.5rem;
  padding-right: 0;
  list-style: none;
  counter-reset: ol-counter;
}
.entry-content ol li {
  position: relative;
  padding: .65rem 2.5rem .65rem 0;
  font-size: 15px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  line-height: 1.75;
  counter-increment: ol-counter;
}
.entry-content ol li:last-child { border-bottom: none; }
.entry-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* متن Bold */
.entry-content strong, .entry-content b {
  color: var(--navy);
  font-weight: 700;
}

/* نقل‌قول / Blockquote */
.entry-content blockquote {
  background: var(--orange-lt);
  border-right: 5px solid var(--orange);
  border-radius: 0 var(--r2) var(--r2) 0;
  padding: 1.25rem 1.5rem 1.25rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 15.5px;
  color: var(--text2);
  font-style: italic;
}

/* جدول */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 14px;
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.entry-content table thead {
  background: var(--navy);
  color: #fff;
}
.entry-content table thead th {
  padding: .85rem 1rem;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
}
.entry-content table tbody tr { border-bottom: 1px solid var(--border); }
.entry-content table tbody tr:last-child { border-bottom: none; }
.entry-content table tbody tr:nth-child(even) { background: var(--bg); }
.entry-content table td {
  padding: .75rem 1rem;
  color: var(--text2);
  line-height: 1.7;
}

/* تصویر */
.entry-content img {
  border-radius: var(--r2);
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

/* کد */
.entry-content code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 13.5px;
  color: var(--orange);
  font-family: monospace;
}

/* خط افقی */
.entry-content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2.5rem 0;
}

/* جعبه اطلاعات سبز / آبی / نارنجی — با Gutenberg blocks */
.wp-block-info,
.notice-box {
  border-radius: var(--r2);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.8;
}
.notice-box.orange { background: var(--orange-lt); border-right: 4px solid var(--orange); }
.notice-box.blue   { background: #EBF5FF;          border-right: 4px solid #2563EB; }
.notice-box.green  { background: #ECFDF5;          border-right: 4px solid #059669; }

/* =============================================
   PAGE DEFAULT TEMPLATE — برگه‌های ساده
============================================= */
.page-template-default main {
  padding: 2rem 0 4rem;
}
.page-template-default .page-title-bar {
  background: linear-gradient(100deg, var(--navy) 0%, #1a3a6a 100%);
  padding: 3rem 0 2.5rem;
  text-align: center;
  margin-bottom: 0;
}
.page-template-default .page-title-bar h1 {
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  margin: 0;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 680px) {
  .entry-content,
  .page-content-body,
  .wp-content {
    padding: 2rem 1.25rem;
    font-size: 14.5px;
  }
  .entry-content h1 { font-size: 22px; }
  .entry-content h2 { font-size: 18px; }
}

/* =============================================
   DROPDOWN — زیرمنوی دو سطحه
============================================= */

/* سطح دوم: زیر آیتم‌های اول */
.main-nav .sub-menu { min-width: 210px; }

/* سطح سوم: زیر زیرمنو (دفتر فنی → متره و ...) */
.main-nav .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  left: 100%;   /* در LTR راست میشه، در RTL چپ */
  right: auto;
  display: none;
  background: var(--navy);
  min-width: 200px;
  border-radius: var(--r2);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  border: 1px solid rgba(255,255,255,.08);
  z-index: 300;
}

/* در RTL زیرمنوی سوم باید سمت راست باز بشه */
[dir="rtl"] .main-nav .sub-menu .sub-menu,
.main-nav .sub-menu .sub-menu {
  left: auto;
  right: 100%;
}

/* نمایش با hover */
.main-nav .sub-menu .menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* فلش برای آیتم‌هایی که زیرمنو دارن */
.main-nav .sub-menu .menu-item-has-children > a::after {
  content: '\e5cb'; /* فلش چپ Material Icons — یا از Tabler */
  font-family: 'tabler-icons';
  content: '\eac9'; /* ti-chevron-left */
  margin-right: auto;
  margin-left: 0;
  float: left;
  opacity: .6;
  font-size: 14px;
  line-height: 1.4;
}

/* رنگ فعال برای آیتم دارای زیرمنو وقتی hover */
.main-nav .sub-menu .menu-item-has-children:hover > a {
  color: var(--orange2);
  background: rgba(255,255,255,.08);
}

/* =============================================
   SERVICES HUB PAGE — صفحه خدمات
============================================= */

/* فیلتر تب‌ها */
.svc-ftab {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text2);
  font-family: inherit;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.svc-ftab:hover { border-color: var(--orange); color: var(--orange); }
.svc-ftab.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* گرید اصلی */
.svc-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

/* کارت معمولی */
.svc-hub-card {
  background: #fff;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
}
.svc-hub-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(224,120,32,.1);
}
.shc-body { padding: 1.35rem 1.35rem 1rem; flex: 1; }
.shc-icon {
  width: 54px; height: 54px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: .9rem; transition: var(--trans);
}
.svc-hub-card:hover .shc-icon { background: var(--orange) !important; }
.svc-hub-card:hover .shc-icon i { color: #fff !important; }
.svc-hub-card h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.svc-hub-card p  { font-size: 12.5px; color: var(--text3); line-height: 1.75; margin-bottom: .85rem; }
.shc-foot {
  border-top: 1px solid var(--border);
  padding: .75rem 1.35rem;
  display: flex; align-items: center; justify-content: space-between;
}
.shc-foot span { font-size: 11.5px; color: var(--text3); }
.shc-more {
  font-size: 12px; color: var(--orange); font-weight: 700;
  display: flex; align-items: center; gap: 3px;
  text-decoration: none; transition: var(--trans);
}
.shc-more:hover { color: var(--orange2); }

/* تگ‌ها */
.svc-hub-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .5rem; }
.svc-hub-tags span {
  font-size: 11px; padding: 2px 9px;
  border-radius: 20px; background: var(--bg);
  color: var(--text3); border: 1px solid var(--border);
}

/* کارت wide (دو ستونی) */
.svc-hub-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 200px;
  background: #fff;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--trans);
}
.svc-hub-wide:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(224,120,32,.1); }
.shw-body { padding: 1.75rem; }
.shw-icon {
  width: 54px; height: 54px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: .9rem;
}
.shw-body h2 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: .45rem; }
.shw-body p  { font-size: 13px; color: var(--text2); line-height: 1.8; margin-bottom: 1rem; }
.shw-side {
  background: linear-gradient(135deg, var(--navy), #1a3060);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; gap: .55rem;
}
.shw-steps { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.shw-step  { display: flex; align-items: center; gap: .55rem; }
.shw-dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 9px; font-weight: 700; flex-shrink: 0;
}
.shw-step span { font-size: 12px; color: rgba(255,255,255,.75); }

@media (max-width: 600px) {
  .svc-hub-wide { grid-template-columns: 1fr; }
  .shw-side { display: none; }
}

/* =============================================
   SERVICES HUB PAGE
============================================= */

/* Filter Bar */
.svc-filter-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
  position: sticky;
  top: 70px;
  z-index: 50;
}
.svc-filter-tabs {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: .6rem 0;
}
.svc-ftab {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text2);
  font-family: inherit;
  transition: var(--trans);
}
.svc-ftab:hover { border-color: var(--orange); color: var(--orange); }
.svc-ftab.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Hub Grid */
.svc-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.1rem;
}

/* Wide Card — دو ستون پهن */
.svc-hub-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  background: #fff;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--trans);
}
.svc-hub-wide:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.svc-hub-wide-body { padding: 1.75rem; }
.svc-hub-wide-body h2 { color: var(--navy); }
.svc-hub-wide-body p  { color: var(--text2); }
.svc-hub-wide-side {
  background: linear-gradient(135deg, var(--navy), #1a3060);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

/* Wide Accent — ویلا (پس‌زمینه تیره) */
.svc-hub-wide-accent {
  background: linear-gradient(120deg, var(--navy2), #1a3060);
  border-color: rgba(224,120,32,.35);
}
.svc-hub-wide-accent .svc-hub-wide-side {
  background: rgba(0,0,0,.2);
}

/* Steps در wide */
.svc-hub-steps { display: flex; flex-direction: column; gap: .5rem; width: 100%; }
.svc-hub-step { display: flex; align-items: center; gap: .55rem; }
.svc-hub-step .step-n {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.svc-hub-step span:last-child { font-size: 12px; color: rgba(255,255,255,.75); }

/* Tags */
.svc-hub-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-top: .85rem;
}
.svc-hub-tags span {
  font-size: 11.5px; padding: 3px 11px; border-radius: 20px;
  background: var(--bg); color: var(--text3);
  border: 1px solid var(--border);
}
.svc-hub-tags-light span {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.15);
}

/* کارت معمولی */
.svc-hub-card {
  background: #fff;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--trans);
}
.svc-hub-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(224,120,32,.1);
}
.svc-hub-card:hover .service-icon { background: var(--orange) !important; }
.svc-hub-card:hover .service-icon i { color: #fff !important; }

.svc-hub-card-body {
  padding: 1.35rem 1.35rem 1rem;
  flex: 1;
}
.svc-hub-card-body .service-icon {
  width: 56px; height: 56px; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .9rem; transition: var(--trans);
}
.svc-hub-card-body h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.svc-hub-card-body p  { font-size: 12.5px; color: var(--text3); line-height: 1.75; margin-bottom: .85rem; }

.svc-hub-card-foot {
  border-top: 1px solid var(--border);
  padding: .75rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.svc-hub-card-foot span { font-size: 11.5px; color: var(--text3); }
.svc-hub-more {
  font-size: 12.5px; color: var(--orange); font-weight: 700;
  display: flex; align-items: center; gap: 3px;
  text-decoration: none; transition: var(--trans);
}
.svc-hub-more:hover { color: var(--orange2); }

/* موبایل */
@media (max-width: 640px) {
  .svc-hub-wide {
    grid-template-columns: 1fr;
  }
  .svc-hub-wide-side {
    min-width: auto;
    padding: 1.25rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-start;
  }
  .svc-hub-wide-side > i { display: none; }
  .svc-hub-steps { flex-direction: row; flex-wrap: wrap; }
  .svc-hub-step { flex: 0 0 auto; }
  .svc-filter-bar { top: 0; }
}

/* =============================================
   PROJECTS HUB PAGE
============================================= */

/* View toggle button */
.proj-view-btn {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid var(--border); background: #fff;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: var(--text3);
  font-size: 16px; transition: var(--trans);
}
.proj-view-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Grid */
.proj-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

/* کارت ویژه پهن */
.proj-hub-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid rgba(224,120,32,.3);
  background: #fff;
  transition: var(--trans);
}
.proj-hub-featured:hover { box-shadow: 0 12px 32px rgba(224,120,32,.12); }
.proj-feat-img {
  position: relative; min-height: 280px;
  background: linear-gradient(135deg,#1a3a6a,#2a5a9a);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.proj-feat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(13,27,46,.3) 100%);
}
.proj-feat-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.proj-feat-body h2 { font-size: clamp(17px,2vw,22px); margin-bottom: .5rem; }
.proj-feat-stat { background: var(--bg); border-radius: var(--r); padding: .65rem; text-align: center; }

/* کارت معمولی */
.proj-hub-card {
  background: #fff; border-radius: var(--r2);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column; transition: var(--trans);
}
.proj-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,27,46,.13);
  border-color: var(--orange);
}

/* تصویر قبل/بعد */
.proj-hub-thumb {
  position: relative; height: 210px; overflow: hidden; user-select: none;
}
.proj-thumb-after, .proj-thumb-before {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.proj-thumb-before { background: linear-gradient(135deg,#1e2a3a,#2a3a50); }
.proj-thumb-after  {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}
.proj-ba-divider-line {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 3px; background: #fff; z-index: 3;
  cursor: ew-resize;
}
.proj-ba-divider-line::after {
  content: '◀ ▶';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 28px; height: 28px; background: #fff;
  border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: #333; white-space: nowrap;
}

/* بدنه کارت */
.proj-hub-body { padding: 1.1rem; flex: 1; }
.proj-hub-body h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin: .4rem 0 .35rem; }
.proj-hub-body p  { font-size: 12px; color: var(--text3); line-height: 1.7; margin-bottom: .75rem; }
.proj-hub-meta {
  display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: .65rem;
}
.proj-hub-meta span {
  font-size: 11.5px; color: var(--text3);
  display: flex; align-items: center; gap: 3px;
}
.proj-hub-meta i { color: var(--orange); font-size: 13px; }
.proj-hub-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.proj-hub-tags span {
  font-size: 10.5px; padding: 2px 9px; border-radius: 20px;
  background: var(--bg); color: var(--text3); border: 1px solid var(--border);
}
.proj-hub-foot {
  border-top: 1px solid var(--border); padding: .7rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between;
}

/* نمایش لیستی */
.proj-list-view { grid-template-columns: 1fr !important; }
.proj-list-view .proj-hub-card {
  flex-direction: row;
  max-height: 140px;
}
.proj-list-view .proj-hub-thumb {
  width: 180px; min-width: 180px; height: auto;
}
.proj-list-view .proj-hub-body { padding: .85rem; }
.proj-list-view .proj-hub-body p { display: none; }
.proj-list-view .proj-hub-foot { display: none; }

/* موبایل */
@media (max-width: 640px) {
  .proj-hub-featured { grid-template-columns: 1fr; }
  .proj-feat-img { min-height: 200px; }
  .proj-list-view .proj-hub-card { flex-direction: column; max-height: none; }
  .proj-list-view .proj-hub-thumb { width: 100%; height: 160px; }
}
