/*
Theme Name: Pol Translation
Theme URI: https://poltranslation.ir/
Author: 1portal.app
Author URI: https://1portal.app/
Description: قالب اختصاصی دارالترجمه پل. تمام بخش‌ها، متن‌ها و تصاویر از طریق «سفارشی‌سازی» قابل ویرایش، افزودن و حذف هستند.
Version: 1.2.2
Requires at least: 5.9
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pol
Tags: rtl-language-support, custom-colors, custom-logo, one-column, translation-ready
*/

/* ==========================================================================
   ریشه و متغیرها (مقادیر واقعی از سفارشی‌سازی بازنویسی می‌شوند)
   ========================================================================== */
:root {
  --pol-primary:      #1B4F8A;
  --pol-primary-alt:  #1E5FA3;
  --pol-dark:         #1A3F6F;
  --pol-darker:       #153460;
  --pol-light:        #EBF2FA;
  --pol-border:       #c0d8ef;
  --pol-muted:        #4a6a8a;
  --pol-muted-2:      #5a7a9a;
  --pol-soft:         #7a9abf;
  --pol-on-dark:      #a8c8e8;
  --pol-on-dark-2:    #b8d4ee;
  --pol-on-dark-3:    #c8dff2;
  --pol-on-dark-4:    #d0e8fa;
  --pol-gold:         #c9a84c;
  --pol-gold-light:   #f0d080;
  --pol-gold-dark:    #a8742c;
  --pol-gold-soft:    #f5e9c8;
  --pol-body-bg:      #EBF2FA;
  --pol-body-text:    #1a1a1a;
  --pol-hero-image:   none;
  --pol-blog-hero-image: none;
  --pol-hero-overlay-1: rgba(26,63,111,0.80);
  --pol-hero-overlay-2: rgba(27,79,138,0.75);
  --pol-hero-overlay-3: rgba(30,95,163,0.80);
  --pol-radius-card:  16px;
}

/* ==========================================================================
   پایه
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  direction: rtl;
  background: var(--pol-body-bg);
  color: var(--pol-body-text);
  font-family: IRANSans, Tahoma, sans-serif !important;
  font-weight: 300;
  margin: 0;
}
h1, h2, h3, h4, h5, h6, input, textarea, button, select { font-family: IRANSans, Tahoma, sans-serif !important; }
img { max-width: 100%; }

.ltr { direction: ltr; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  background: #fff; color: var(--pol-primary); clip: auto; clip-path: none;
  display: block; height: auto; padding: 12px 22px; right: 8px; top: 8px;
  position: absolute; width: auto; z-index: 1000; border-radius: 8px;
}

/* ==========================================================================
   نوار بالا
   ========================================================================== */
.nav {
  background: var(--pol-primary);
  border-bottom: 0.5px solid var(--pol-dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-box { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-placeholder {
  padding-left: 10px;
  width: 38px; height: 38px; border-radius: 8px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--pol-primary); font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
}
/* لوگو مثل نسخه اصلی از کادر بیرون می‌زند، پس محدودیت عرض عمومی روی آن اعمال نمی‌شود */
.logo-placeholder img { border-radius: 100px; max-width: none; }
.logo-text { font-size: 15px; font-weight: 600; color: #fff; }
.logo-sub { font-size: 11px; color: var(--pol-on-dark); margin-top: 1px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 13.5px; color: var(--pol-on-dark-3); font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

/* منو کنار لوگو در سمت راست می‌نشیند و دکمه تماس به انتهای سمت چپ می‌رود */
.nav-links {
  margin-inline-start: 2.6rem; /* فاصله از لوگو */
  margin-inline-end: auto;
}

/* آیتم منو و زیرمنوی کشویی */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { display: inline-flex; }
.nav-caret svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.nav-item.has-sub:hover .nav-caret svg,
.nav-item.is-open .nav-caret svg { transform: rotate(180deg); }

.nav-sub {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  min-width: 230px;
  background: #fff;
  border: 0.5px solid var(--pol-border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(27,79,138,0.22);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 120;
}
.nav-item.has-sub:hover .nav-sub,
.nav-item.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }

.nav-links .nav-sub-link {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--pol-dark);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links .nav-sub-link:hover { background: var(--pol-light); color: var(--pol-primary); }
.nav-cta {
  background: #fff;
  border: none;
  padding: 12px 28px; border-radius: 7px; font-size: 13px;
  cursor: pointer; font-family: inherit; font-weight: 600;
  transition: all 0.3s ease;
  color: var(--pol-primary) !important;
  text-decoration: none;
}
.nav-cta:hover { background: var(--pol-light); }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.25);
  border-radius: 9px;
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; right: 0; width: 18px; height: 2px; background: #fff; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* ==========================================================================
   هدر اصلی
   ========================================================================== */
.hero {
  padding: 90px 2rem 80px;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--pol-hero-overlay-1) 0%, var(--pol-hero-overlay-2) 48%, var(--pol-hero-overlay-3) 100%);
  background-image:
    linear-gradient(135deg, var(--pol-hero-overlay-1) 0%, var(--pol-hero-overlay-2) 48%, var(--pol-hero-overlay-3) 100%),
    var(--pol-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); color: var(--pol-on-dark-4);
  padding: 6px 15px; border-radius: 22px; font-size: 12px;
  margin-bottom: 24px; letter-spacing: 0.3px;
  position: relative; z-index: 1; border: 0.5px solid rgba(255,255,255,0.2);
}
.hero h1 {
  font-size: 38px; font-weight: 600; line-height: 1.35;
  color: #fff; margin-bottom: 18px; letter-spacing: -0.5px;
  position: relative; z-index: 1;
}
.hero p {
  font-size: 16px; color: var(--pol-on-dark-2); line-height: 1.8;
  max-width: 600px; margin: 0 auto 36px;
  position: relative; z-index: 1;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-images { display: flex; gap: 20px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.hero-images img { border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.btn-primary {
  background: #fff; color: var(--pol-primary); padding: 12px 28px;
  border-radius: 9px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; font-family: inherit;
  transition: all 0.3s ease; text-decoration: none;
}
.btn-primary:hover { background: var(--pol-light); }
.btn-outline {
  background: rgba(255,255,255,0.12); color: #fff; padding: 12px 28px;
  border-radius: 9px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: 0.5px solid rgba(255,255,255,0.3); font-family: inherit;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.18); }

/* ==========================================================================
   نوار زبان‌ها
   ========================================================================== */
.langs-bar {
  background: var(--pol-dark); border-top: 0.5px solid var(--pol-darker);
  border-bottom: 0.5px solid var(--pol-darker);
  padding: 16px 2rem;
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.lang-pill {
  background: rgba(255,255,255,0.1); border: 0.5px solid rgba(255,255,255,0.2);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; color: var(--pol-on-dark-4);
  display: inline-flex; align-items: center; gap: 7px;
}
.lang-flag { font-size: 14px; line-height: 1; display: inline-flex; align-items: center; }
.lang-name { line-height: 1.5; }
a.lang-pill {
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
a.lang-pill:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* ==========================================================================
   آمار
   ========================================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border-top: 0.5px solid var(--pol-darker);
  border-bottom: 0.5px solid var(--pol-darker);
  background: var(--pol-primary);
}
.stat-item { padding: 28px 24px; text-align: center; border-left: 0.5px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-left: none; }
.stat-num { font-size: 28px; font-weight: 600; color: #fff; }
.stat-label { font-size: 12px; margin-top: 4px; background: rgba(255,255,255,0.15); color: var(--pol-on-dark-4); display: initial; padding: 5px 8px; border-radius: 6px; }

/* ==========================================================================
   بخش عمومی
   ========================================================================== */
.section { text-align: center; padding: 64px 2rem; max-width: 1000px; margin: 0 auto; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; background: var(--pol-primary); color: #fff; display: inline; border-radius: 3px; padding: 3px 6px; }
.section-title { margin-top: 10px; font-size: 26px; font-weight: 600; color: var(--pol-dark); margin-bottom: 8px; }
.section-sub { font-size: 15px; color: var(--pol-muted); line-height: 1.7; margin-bottom: 40px; }

/* ==========================================================================
   خدمات
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff; border: 0.5px solid var(--pol-border);
  border-radius: var(--pol-radius-card); padding: 24px 22px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(27,79,138,0.07);
}
.service-card:hover { border-color: var(--pol-primary); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(27,79,138,0.15); }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--pol-light); border: 0.5px solid var(--pol-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--pol-primary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 15px; font-weight: 600; color: var(--pol-dark); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--pol-muted-2); line-height: 1.7; }

/* ==========================================================================
   فرایند کار
   ========================================================================== */
.process-section {
  text-align: center;
  background: var(--pol-primary); border-top: 0.5px solid var(--pol-darker);
  border-bottom: 0.5px solid var(--pol-darker);
  padding: 64px 2rem;
}
.process-section .section-label { background: rgba(255,255,255,0.2); color: #fff; }
.process-section .section-title { color: #fff; }
.process-inner { max-width: 1000px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.step {
  padding: 32px 26px;
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 35px rgba(0,0,0,0.15); }
.step:not(:last-child)::after { content: "\2190"; position: absolute; left: -10px; top: 44px; font-size: 20px; color: rgba(255,255,255,0.25); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--pol-primary);
  font-size: 18px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px;
}
.step h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step p { font-size: 13px; color: var(--pol-on-dark); line-height: 1.75; }

/* ==========================================================================
   کارت مترجم‌ها
   ========================================================================== */
.translators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.translator-card {
  background: #fff;
  border-radius: 20px;
  border: 0.5px solid var(--pol-border);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(27,79,138,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.translator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,79,138,0.18);
}
.tc-header {
  background: var(--pol-dark);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tc-ribbon {
  background: rgba(255,255,255,0.1);
  color: var(--pol-gold-soft);
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 20px;
  border: 0.5px solid rgba(255,255,255,0.15);
  font-family: inherit;
}
.tc-star {
  width: 24px; height: 24px;
  background: var(--pol-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tc-star svg { width: 12px; height: 12px; fill: #fff; }
.tc-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d0e4f5;
  position: relative;
}
.tc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.tc-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: var(--pol-primary);
  background: #d0e4f5;
  font-family: inherit;
}
.tc-gold-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--pol-gold), var(--pol-gold-light), var(--pol-gold-dark));
}
.tc-body {
  padding: 16px 14px 14px;
  text-align: center;
  flex: 1;
}
.tc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--pol-body-text);
  margin-bottom: 3px;
}
.tc-role {
  font-size: 11px;
  color: #999;
  margin-bottom: 10px;
  line-height: 1.5;
}
.tc-divider {
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--pol-gold), var(--pol-gold-light));
  border-radius: 2px;
  margin: 0 auto 10px;
}
.tc-badges {
  display: flex; gap: 5px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 8px;
}
.tc-badge {
  font-size: 10px; padding: 3px 9px;
  border-radius: 20px; font-weight: 500; font-family: inherit;
}
.tc-badge-gold { background: #fdf6e3; color: #8a6200; border: 0.5px solid #e8c84a; }
a.tc-badge-gold { text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease; }
a.tc-badge-gold:hover { background: #f8ecc9; border-color: #d4b02f; }
.tc-badge-dark { background: #f3f2ef; color: #3a3028; border: 0.5px solid #d0cec5; }
.tc-footer {
  background: var(--pol-light);
  border-top: 0.5px solid var(--pol-border);
  padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.tc-code { font-size: 10px; color: var(--pol-soft); letter-spacing: 0.5px; font-family: inherit; }
.tc-verified {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: var(--pol-dark);
  background: var(--pol-border); padding: 3px 8px; border-radius: 12px; font-family: inherit;
}
.tc-verified svg { width: 11px; height: 11px; fill: var(--pol-dark); flex-shrink: 0; }

/* ==========================================================================
   چرا ما
   ========================================================================== */
.why-section {
  background: var(--pol-primary);
  padding: 64px 2rem;
  border-top: 0.5px solid var(--pol-darker);
  border-bottom: 0.5px solid var(--pol-darker);
}
.why-inner { max-width: 1000px; margin: 0 auto; }
.why-head { text-align: center; margin-bottom: 40px; }
.why-label { font-size: 11px; letter-spacing: 1px; background: rgba(255,255,255,0.2); color: #fff; border-radius: 3px; padding: 3px 8px; }
.why-title { margin-top: 12px; font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.why-sub { font-size: 14px; color: var(--pol-on-dark); line-height: 1.7; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.why-card {
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: var(--pol-radius-card);
  padding: 24px 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.why-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-icon svg { width: 20px; height: 20px; stroke: var(--pol-gold-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card-title { font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.5; }
.why-card-desc { font-size: 12.5px; color: var(--pol-on-dark); line-height: 1.75; }

/* ==========================================================================
   شرکت‌های همکار
   ========================================================================== */
.partners-section {
  background: #fff;
  padding: 64px 2rem;
  border-top: 0.5px solid var(--pol-border);
  border-bottom: 0.5px solid var(--pol-border);
}
.partners-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  background: var(--pol-light);
  border: 0.5px solid var(--pol-border);
  border-radius: var(--pol-radius-card);
  padding: 15px 16px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
a.partner-card:hover {
  background: #fff;
  border-color: var(--pol-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27,79,138,0.13);
}
.partner-logo {
  width: 46px; height: 46px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pol-primary) 0%, var(--pol-dark) 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}
.partner-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.partner-body { flex: 1; min-width: 0; }
.partner-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--pol-dark); line-height: 1.7;
}
/* نشان کوچک «لینک دارد»؛ خودِ کارت لینک است و روی نام کلیک می‌شود */
.partner-ext {
  display: inline-flex;
  color: var(--pol-soft);
  opacity: 0.55;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.partner-ext svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
a.partner-card:hover .partner-ext { color: var(--pol-primary); opacity: 1; transform: translateY(-1px); }

/* ==========================================================================
   سوالات متداول
   ========================================================================== */
.faq-section { text-align: center; background: var(--pol-light); border-top: 0.5px solid var(--pol-border); padding: 64px 2rem; }
.faq-wrap { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 0.5px solid var(--pol-border); padding: 20px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; }
.faq-q h4 { font-size: 14.5px; font-weight: 500; color: var(--pol-dark); }
.faq-toggle { width: 22px; height: 22px; border-radius: 50%; background: var(--pol-border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--pol-primary); flex-shrink: 0; }
.faq-a { text-align: right; font-size: 13.5px; color: var(--pol-muted); line-height: 1.75; margin-top: 12px; max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out; }
.faq-item.open .faq-toggle { background: var(--pol-primary); color: #fff; }

/* ==========================================================================
   اطلاعات تماس
   ========================================================================== */
.contact-section-light {
  background: var(--pol-primary); color: #fff;
  padding: 40px 1.5rem;
  text-align: center;
  border-top: 0.5px solid var(--pol-darker);
  border-bottom: 0.5px solid var(--pol-darker);
}
.contact-section-light h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; color: #fff; }
.contact-grid-light { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; width: 100%; max-width: none; margin: 0 auto; }
.contact-section-light .contact-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 22px; padding: 24px 20px; box-shadow: none; transition: none; text-align: center; min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.contact-section-light .contact-card:hover { transform: none; box-shadow: none; border-color: rgba(255,255,255,0.3); }
.contact-section-light .contact-card-label { color: var(--pol-on-dark); font-size: 11px; letter-spacing: 0.5px; }
.contact-section-light .contact-card-val { text-align: center; color: #fff; overflow-wrap: anywhere; word-break: break-word; font-weight: 500; }
.contact-section-light .contact-card-val a { color: #fff; text-decoration: none; }
.contact-section-light .contact-card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255,255,255,0.15);
  border: 0.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.contact-section-light .contact-card-icon svg {
  width: 22px; height: 22px;
  stroke: #fff; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.contact-section { background: var(--pol-dark); color: #fff; padding: 64px 2rem; text-align: center; }
.contact-section h2 { font-size: 26px; font-weight: 600; margin-bottom: 10px; color: #fff; }
.contact-section > p { color: var(--pol-on-dark); font-size: 15px; margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; width: 100%; max-width: 1000px; margin: 0 auto 40px; }
.contact-section .contact-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 18px; padding: 26px 22px; text-align: center; transition: none; box-shadow: none; }
.contact-section .contact-card-label { font-size: 11px; color: var(--pol-on-dark); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.contact-section .contact-card-val { font-size: 16px; color: #fff; font-weight: 500; direction: ltr; text-align: center; overflow-wrap: anywhere; word-break: break-word; }
.contact-section .contact-card-val.rtl { direction: rtl; text-align: center; }
.btn-outline-light { text-decoration: none; background: transparent; color: #fff; padding: 12px 28px; border-radius: 9px; font-size: 14px; font-weight: 500; cursor: pointer; border: 0.5px solid rgba(255,255,255,0.3); font-family: inherit; transition: border-color 0.2s; }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); }

/* ==========================================================================
   نقشه
   ========================================================================== */
.map-section { background: var(--pol-light); padding: 56px 2rem; border-top: 0.5px solid var(--pol-border); }
.map-inner { max-width: 1000px; margin: 0 auto; }
.map-head { text-align: center; margin-bottom: 32px; }
.map-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; background: var(--pol-primary); color: #fff; border-radius: 3px; padding: 3px 6px; }
.map-title { margin-top: 10px; font-size: 24px; font-weight: 600; color: var(--pol-dark); margin-bottom: 8px; }
.map-sub { font-size: 14px; color: var(--pol-muted); line-height: 1.7; }
.map-grid { display: grid; gap: 20px; align-items: stretch; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.map-frame { border-radius: var(--pol-radius-card); overflow: hidden; border: 0.5px solid var(--pol-border); min-height: 360px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-card { background: #fff; border: 0.5px solid var(--pol-border); border-radius: var(--pol-radius-card); padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; }
.map-row { display: flex; align-items: flex-start; gap: 12px; }
.map-row.is-center { align-items: center; }
.map-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--pol-light); border: 0.5px solid var(--pol-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.map-ico svg { width: 18px; height: 18px; stroke: var(--pol-primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.map-row-label { font-size: 11px; color: var(--pol-soft); margin-bottom: 3px; }
.map-row-label.has-ls { letter-spacing: 0.3px; }
.map-row-val { font-size: 13px; color: var(--pol-dark); line-height: 1.7; font-weight: 500; }
.map-row-link { font-size: 13px; color: var(--pol-dark); font-weight: 600; text-decoration: none; direction: ltr; display: block; }
.map-sep { height: 0.5px; background: #e8f0f8; }
.map-btn-primary {
  display: block; text-align: center; background: var(--pol-primary); color: #fff;
  padding: 11px 16px; border-radius: 9px; font-size: 13px; font-weight: 600;
  text-decoration: none; margin-top: auto; transition: background .2s;
}
.map-btn-primary:hover { background: var(--pol-dark); }
.map-btn-ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: #fff; color: var(--pol-dark); padding: 11px 16px; border-radius: 9px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  border: 0.5px solid var(--pol-border); transition: background .2s;
}
.map-btn-ghost:hover { background: var(--pol-light); }

/* ==========================================================================
   نظرات گوگل
   ========================================================================== */
.review-section { background: #fff; padding: 64px 2rem; border-top: 0.5px solid var(--pol-border); border-bottom: 0.5px solid var(--pol-border); }
.review-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.review-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #f8f9fa; border: 0.5px solid #e2e6ea; border-radius: 50px;
  padding: 8px 18px; margin-bottom: 22px;
}
.review-chip span { font-size: 12px; color: #5f6368; font-weight: 500; }
.review-title { font-size: 26px; font-weight: 600; color: var(--pol-dark); margin-bottom: 14px; line-height: 1.5; }
.review-desc { font-size: 14.5px; color: var(--pol-muted-2); line-height: 1.85; margin-bottom: 28px; }
.review-stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 28px; }
.review-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--pol-primary); color: #fff; padding: 14px 32px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all .25s ease; box-shadow: 0 4px 14px rgba(27,79,138,0.25);
}
.review-btn:hover { background: var(--pol-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,79,138,0.35); }
.review-note { font-size: 12px; color: var(--pol-soft); margin-top: 18px; line-height: 1.7; }
.review-note strong { font-weight: 600; color: var(--pol-dark); }

/* ==========================================================================
   پابرگ
   ========================================================================== */
.footer { background: var(--pol-darker); color: var(--pol-soft); }
.footer-main { max-width: 1160px; margin: 0 auto; padding: 52px 2rem 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
  gap: 34px 30px;
  align-items: start;
}
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo img { width: 54px; height: auto; max-width: none; flex-shrink: 0; }
.footer-logo-text { display: block; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.6; }
.footer-logo-sub { display: block; font-size: 11.5px; color: var(--pol-soft); margin-top: 1px; }
.footer-about { font-size: 12.5px; line-height: 2.1; color: var(--pol-soft); margin-top: 16px; max-width: 380px; }
.footer-title {
  position: relative;
  font-size: 13.5px; font-weight: 700; color: #fff;
  padding-bottom: 11px; margin-bottom: 16px;
}
.footer-title::after {
  content: "";
  position: absolute; bottom: 0; right: 0;
  width: 26px; height: 2px;
  background: var(--pol-gold);
  border-radius: 2px;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-list a, .footer-lang-plain {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--pol-soft); text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-list a:hover { color: #fff; transform: translateX(-3px); }
.footer-lang-flag { font-size: 13px; line-height: 1; }
.footer-contacts { display: flex; flex-direction: column; gap: 13px; }
.footer-contact { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-contact-ico {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
a.footer-contact:hover .footer-contact-ico { background: var(--pol-primary); border-color: transparent; }
.footer-contact-ico svg {
  width: 15px; height: 15px;
  stroke: #fff; fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.footer-contact-body { min-width: 0; }
.footer-contact-label { display: block; font-size: 10.5px; color: var(--pol-soft); line-height: 1.6; }
.footer-contact-value { display: block; font-size: 12.5px; font-weight: 600; color: #fff; line-height: 1.7; letter-spacing: 0.2px; }
a.footer-contact:hover .footer-contact-value { color: var(--pol-gold-light, #fff); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 18px 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer p { font-size: 12px; color: var(--pol-soft); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--pol-soft); text-decoration: none; }
.footer-links a:hover { color: var(--pol-on-dark-4); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-about { max-width: none; }
}
@media (max-width: 560px) {
  .footer-main { padding: 40px 1.25rem 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom-inner { padding: 16px 1.25rem; justify-content: center; text-align: center; }
}

/* ==========================================================================
   دکمه شناور تماس
   ========================================================================== */
.pol-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  /* در RTL شروع محور عرضی سمت راست است، پس flex-start یعنی چسبیده به راست */
  align-items: flex-start;
  gap: 12px;
}
.pol-fab-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.pol-fab.is-open .pol-fab-items { opacity: 1; visibility: visible; pointer-events: auto; }

.pol-fab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transform: translateY(10px) scale(0.94);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(.2,.9,.3,1.2), opacity 0.22s ease;
}
.pol-fab.is-open .pol-fab-item {
  transform: none;
  opacity: 1;
  /* ورود پلکانی از پایین به بالا */
  transition-delay: calc(0.05s * (1 - var(--i, 0)) + 0.05s);
}
.pol-fab-label {
  background: #fff;
  border: 0.5px solid var(--pol-border);
  padding: 7px 15px;
  border-radius: 16px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(27,79,138,0.16);
  line-height: 1.5;
}
.pol-fab-title {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--pol-soft);
}
.pol-fab-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pol-dark);
  letter-spacing: 0.2px;
}
.pol-fab-label:only-child .pol-fab-title,
.pol-fab-title:only-child {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pol-dark);
}
.pol-fab-ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--pol-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(27,79,138,0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.pol-fab-item:hover .pol-fab-ico { background: var(--pol-dark); transform: scale(1.06); }
.pol-fab-ico svg {
  width: 20px; height: 20px;
  stroke: #fff; fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.pol-fab-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* حباب راهنما که همیشه بالای دکمه دیده می‌شود */
.pol-fab-note {
  position: relative;
  align-self: flex-start;
  margin-bottom: -2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(70vw, 220px);
  background: #fff;
  color: var(--pol-fab-dark, #0d7a34);
  border: 1px solid var(--pol-fab, #16a34a);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--pol-fab-shadow, rgba(13,122,52,0.38));
  animation: pol-fab-note-in 0.45s cubic-bezier(.2,.9,.3,1.2) both, pol-fab-note-float 2.8s ease-in-out 0.6s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* نوک حباب که به دکمه اشاره می‌کند */
.pol-fab-note::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 22px;
  width: 9px; height: 9px;
  background: #fff;
  border-right: 1px solid var(--pol-fab, #16a34a);
  border-bottom: 1px solid var(--pol-fab, #16a34a);
  transform: rotate(45deg);
}
.pol-fab-note:hover { transform: translateY(-2px); box-shadow: 0 10px 24px var(--pol-fab-shadow-hover, rgba(13,122,52,0.52)); }
.pol-fab-note:focus-visible { outline: 3px solid var(--pol-fab, #16a34a); outline-offset: 3px; }
.pol-fab.is-open .pol-fab-note { display: none; }

@keyframes pol-fab-note-in {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes pol-fab-note-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.pol-fab-toggle {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: linear-gradient(135deg, var(--pol-fab, #16a34a) 0%, var(--pol-fab-dark, #0d7a34) 100%);
  box-shadow: 0 8px 24px var(--pol-fab-shadow, rgba(13,122,52,0.38));
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* حلقه‌ای که آرام باز می‌شود تا چشم کاربر به دکمه بیفتد */
.pol-fab-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--pol-fab-ring, rgba(22,163,74,0.45));
  animation: pol-fab-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.pol-fab.is-open .pol-fab-toggle::before { animation: none; }
@keyframes pol-fab-pulse {
  0%   { box-shadow: 0 0 0 0 var(--pol-fab-ring, rgba(22,163,74,0.45)); }
  70%  { box-shadow: 0 0 0 14px var(--pol-fab-ring-0, rgba(22,163,74,0)); }
  100% { box-shadow: 0 0 0 0 var(--pol-fab-ring-0, rgba(22,163,74,0)); }
}
.pol-fab-toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--pol-fab-shadow-hover, rgba(13,122,52,0.52)); }
.pol-fab-toggle:focus-visible { outline: 3px solid var(--pol-fab, #16a34a); outline-offset: 3px; }
.pol-fab-toggle svg {
  width: 24px; height: 24px;
  stroke: #fff; fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.pol-fab-ico-open, .pol-fab-ico-close { display: flex; }
.pol-fab .pol-fab-ico-close { display: none; }
.pol-fab.is-open .pol-fab-ico-open { display: none; }
.pol-fab.is-open .pol-fab-ico-close { display: flex; }

@media (max-width: 600px) {
  .pol-fab { right: 14px; bottom: 14px; gap: 10px; }
  .pol-fab-toggle { width: 52px; height: 52px; }
  .pol-fab-ico { width: 42px; height: 42px; }
  .pol-fab-label { font-size: 12px; padding: 7px 13px; }
  .pol-fab-note { font-size: 11.5px; padding: 7px 12px; }
  .pol-fab-note::after { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .pol-fab-item { transition: opacity 0.15s ease; transform: none; }
  .pol-fab.is-open .pol-fab-item { transition-delay: 0s; }
  .pol-fab-note { animation: none; }
  .pol-fab-toggle::before { animation: none; }
}

/* ==========================================================================
   برگه‌ها و نوشته‌های داخلی
   ========================================================================== */
.pol-page { max-width: 860px; margin: 0 auto; padding: 56px 2rem 64px; }
.pol-page .entry-title { font-size: 26px; font-weight: 600; color: var(--pol-dark); margin-bottom: 18px; }
.pol-page .entry-content { font-size: 14.5px; color: var(--pol-muted); line-height: 2; }
.pol-page .entry-content a { color: var(--pol-primary); }
.pol-page .entry-content h2 { font-size: 20px; color: var(--pol-dark); margin: 26px 0 12px; }
.pol-page .entry-content h3 { font-size: 17px; color: var(--pol-dark); margin: 22px 0 10px; }
.pol-page .entry-content ul, .pol-page .entry-content ol { padding-right: 22px; margin-bottom: 16px; }
.pol-page .entry-content img { border-radius: 12px; }
.pol-card-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pol-post-card { background: #fff; border: 0.5px solid var(--pol-border); border-radius: var(--pol-radius-card); padding: 22px; }
.pol-post-card h2 { font-size: 16px; margin-bottom: 8px; }
.pol-post-card h2 a { color: var(--pol-dark); text-decoration: none; }
.pol-post-card p { font-size: 13px; color: var(--pol-muted-2); line-height: 1.8; }
.pol-pagination { margin-top: 28px; text-align: center; }
.pol-pagination .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 3px; border-radius: 8px; background: #fff; border: 0.5px solid var(--pol-border); color: var(--pol-dark); text-decoration: none; font-size: 13px; }
.pol-pagination .page-numbers.current { background: var(--pol-primary); color: #fff; border-color: var(--pol-primary); }

/* ==========================================================================
   واکنش‌گرا
   ========================================================================== */
@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .nav-links { display: none; }
  .step:not(:last-child)::after { display: none; }

  /* منوی کشویی موبایل (رفتار نسخه دسکتاپ دست‌نخورده می‌ماند) */
  .nav { padding: 0 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 64px; right: 0; left: 0;
    background: var(--pol-dark); padding: 10px 1.1rem 18px;
    border-bottom: 0.5px solid var(--pol-darker);
  }
  .nav-links.is-open a { padding: 12px 0; width: 100%; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
  .nav-links.is-open .nav-item { display: block; width: 100%; }
  .nav-links.is-open .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; margin: 0 0 6px; padding: 0 0 0 12px;
    background: transparent; border: none; box-shadow: none; min-width: 0;
  }
  .nav-links.is-open .nav-item.is-open .nav-sub { display: flex; }
  .nav-links.is-open .nav-sub-link { color: var(--pol-on-dark-4); padding: 10px 0; }
  .nav-links.is-open .nav-sub-link:hover { background: transparent; color: #fff; }
}
