/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
  --navy-dark: #071a35;
  --navy-main: #0c2447;
  --navy-light: #163869;
  --gold-main: #d4af37;
  --gold-gradient: linear-gradient(135deg, #c78d10, #e3b63d);
  --gold-soft: #fbf7ee;
  --text-dark: #212529;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-sm: 0 4px 12px rgba(7, 26, 53, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 26, 53, 0.08);
  --shadow-lg: 0 16px 36px rgba(7, 26, 53, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.75;
  direction: rtl;
  overflow-x: hidden;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(199, 141, 16, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(199, 141, 16, 0.35);
}

.btn-outline {
  border-color: var(--gold-main);
  color: var(--gold-main);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold-soft);
}

.btn-large {
  padding: 13px 24px;
  font-size: 14px;
}

.btn-light {
  background: #ffffff;
  color: var(--navy-dark);
}

.btn-block {
  width: 100%;
}

.section-head {
  max-width: 650px;
  margin: 0 auto 36px;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
  background: var(--gold-soft);
  color: #9d7008;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-title {
  font-size: 26px;
  color: var(--navy-dark);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.top-info {
  display: flex;
  gap: 18px;
}

.top-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-main);
  font-weight: 700;
}

.main-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-title {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--navy-dark);
  white-space: nowrap;
}

.brand-sub {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.brand-sub-alt {
  color: var(--gold-main);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-main);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  transition: 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 55px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(12, 36, 71, 0.08);
  color: var(--navy-main);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 32px;
  color: var(--navy-dark);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 16px;
}

.highlight {
  color: #bf850b;
}

.hero-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef7ed;
  color: #2e7d32;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.image-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: 16px;
  background: rgba(7, 26, 53, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--gold-main);
}

.image-badge strong {
  display: block;
  font-size: 14px;
}

.image-badge span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Alert Banner
   ========================================================================== */
.alert-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-main));
  color: #fff;
  padding: 24px 0;
}

.alert-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.alert-text h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fce197;
  margin-bottom: 4px;
}

.alert-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 65px 0;
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  padding: 24px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
  background: #fff;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   Article Section
   ========================================================================== */
.article-section {
  padding: 65px 0;
  background: var(--bg-light);
}

.article-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.article-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-main));
  padding: 32px 36px;
  color: #fff;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.article-meta span {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 99px;
}

.article-subtitle {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-main);
  line-height: 1.6;
}

.article-body {
  padding: 36px;
}

.article-intro {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.article-intro p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 12px;
}

.article-heading {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.heading-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.highlight-heading {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--gold-main);
}

.article-block {
  margin-bottom: 36px;
}

.article-block > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 12px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.step-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(212,175,55,0.4);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--navy-main);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
}

.step-card h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* Article Notice */
.article-notice {
  background: #fff8e1;
  border-right: 4px solid #f9a825;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.85;
  margin-top: 14px;
}

/* Article Tips */
.article-tips {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 14px;
}

.article-tips h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.article-tips ul {
  list-style: none;
  padding: 0;
}

.article-tips li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
  padding: 4px 0;
  padding-right: 18px;
  position: relative;
}

.article-tips li::before {
  content: "●";
  position: absolute;
  right: 0;
  color: var(--gold-main);
  font-size: 8px;
  top: 8px;
}

/* Concepts Grid */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.concept-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  transition: all 0.3s;
}

.concept-card:hover {
  border-color: rgba(212,175,55,0.4);
  box-shadow: var(--shadow-sm);
}

.concept-card h5 {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.concept-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Mistakes Grid */
.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.mistake-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.mistake-item:hover {
  border-color: rgba(212,175,55,0.4);
}

.mistake-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.mistake-item strong {
  display: block;
  font-size: 13px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.mistake-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  color: var(--text-dark);
}

.checklist-item:hover {
  border-color: rgba(212,175,55,0.4);
  background: #fff;
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-main);
  flex-shrink: 0;
  cursor: pointer;
}

/* Article FAQ */
.article-faq {
  margin-top: 14px;
}

/* Article Conclusion */
.article-conclusion {
  background: linear-gradient(135deg, rgba(7,26,53,0.03), rgba(7,26,53,0.01));
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

/* Author Box */
.article-author-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-main));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.author-info h5 {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.author-info strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.author-info > span {
  display: block;
  font-size: 12px;
  color: var(--gold-main);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin: 14px 0;
}

/* Article Disclaimer */
.article-disclaimer {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.article-disclaimer p {
  font-size: 12px;
  color: #92400e;
  line-height: 1.85;
  margin: 0;
}

/* ==========================================================================
   Profile Card (Lawyer Bio)
   ========================================================================== */
.about-section {
  padding: 55px 0;
  background: var(--bg-light);
}

.lawyer-profile-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.profile-photo-col {
  position: relative;
  background: var(--navy-dark);
}

.profile-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.experience-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: 12px;
  background: rgba(7, 26, 53, 0.88);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.experience-tag strong {
  display: block;
  font-size: 13px;
  color: var(--gold-main);
}

.experience-tag span {
  font-size: 10.5px;
}

.profile-details-col {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.badge-gold {
  background: var(--gold-soft);
  color: #9d7008;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.reg-number {
  font-size: 11px;
  color: var(--text-muted);
}

.profile-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy-dark);
}

.profile-role {
  font-size: 13px;
  color: var(--gold-main);
  font-weight: 700;
  margin-bottom: 14px;
}

.profile-bio {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.profile-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.highlight-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-light);
  padding: 10px 12px;
  border-radius: var(--radius-md);
}

.h-icon {
  font-size: 18px;
}

.highlight-item strong {
  display: block;
  font-size: 12.5px;
  color: var(--navy-dark);
}

.highlight-item small {
  font-size: 10.5px;
  color: var(--text-muted);
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.process-section {
  padding: 65px 0;
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.process-card {
  padding: 24px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  position: relative;
  text-align: right;
}

.process-step {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy-main);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 14px;
}

.process-card h3 {
  font-size: 14.5px;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  background: var(--navy-dark);
  padding: 45px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--gold-main);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 65px 0;
  background: var(--bg-light);
}

.faq-container {
  max-width: 760px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 26px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "＋";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-main);
  font-size: 16px;
  font-weight: 900;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

/* ==========================================================================
   Contact & QR
   ========================================================================== */
.contact-section {
  padding: 65px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.contact-info h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-row strong {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.info-row span, .info-row a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
}

.qr-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.qr-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 14px;
  display: block;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 6px;
  border: 1px solid var(--border-color);
}

.qr-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0;
  font-size: 11.5px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.designer-text {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Floating Button
   ========================================================================== */
.floating-call-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: grid;
  place-items: center;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Mobile Optimization (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* تنظیم تمیز نوار بالای سایت */
  .top-info {
    display: none;
  }
  .top-bar-content {
    justify-content: center;
  }
  .top-phone {
    font-size: 12px;
  }

  /* حل مشکل هدر: سه خط راست، لوگو چپ و حذف دکمه */
  .nav-container {
    height: 56px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }
  .header-action {
    grid-column: 1;
    grid-row: 1;
    width: 40px;
    justify-content: flex-start;
  }
  .brand {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
    overflow: hidden;
  }
  .brand-logo {
    height: 28px !important;
  }
  .brand-title {
    font-size: 12px !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-sub {
    display: none !important;
  }
  .header-action .btn {
    display: none !important;
  }
  .hamburger {
    display: flex;
    padding: 0;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
  }
  .nav-menu {
    position: fixed;
    top: 56px;
    right: -100%;
    width: min(260px, 84vw);
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: -8px 0 25px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }
  .nav-menu.open {
    right: 0;
  }

  /* کوچک کردن المان‌های صفحه اصلی برای جلوگیری از درشت بودن بیش از حد */
  .hero-section {
    padding: 22px 0 28px;
    text-align: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .badge {
    font-size: 11px !important;
    padding: 4px 10px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: 18px !important;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .hero-desc {
    font-size: 13px !important;
    line-height: 1.8;
    margin-bottom: 16px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  .hero-buttons .btn {
    width: 100%;
    padding: 9px 14px !important;
    font-size: 13px !important;
  }
  .hero-features {
    align-items: center;
    gap: 6px;
  }
  .feature-item {
    font-size: 11.5px !important;
  }
  .hero-img {
    height: 210px;
  }
  .image-badge {
    padding: 8px 12px;
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
  .image-badge strong {
    font-size: 12.5px;
  }

  /* بنر هشدار */
  .alert-banner {
    padding: 16px 0;
    text-align: center;
  }
  .alert-content {
    justify-content: center;
    gap: 12px;
  }
  .alert-text h3 {
    font-size: 13.5px;
  }
  .alert-text p {
    font-size: 11.5px;
  }
  .alert-content .btn {
    width: 100%;
    font-size: 12.5px;
    padding: 8px;
  }

  /* کوچک کردن کارت‌ها و سکشن‌های بعدی */
  .section-head {
    margin-bottom: 22px;
  }
  .section-title {
    font-size: 18px !important;
  }
  .section-sub {
    font-size: 12px;
  }
  .services-section, 
  .article-section,
  .about-section, 
  .process-section, 
  .faq-section, 
  .contact-section {
    padding: 28px 0;
  }
  .service-card {
    padding: 16px 14px;
  }
  .service-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .service-card h3 {
    font-size: 14.5px;
    margin-bottom: 6px;
  }
  .service-card p {
    font-size: 12px;
  }

  /* مقاله در موبایل */
  .article-section {
    padding: 28px 0;
  }
  .article-header {
    padding: 20px 16px;
  }
  .article-meta {
    gap: 8px;
  }
  .article-meta span {
    font-size: 10.5px;
  }
  .article-subtitle {
    font-size: 15px;
  }
  .article-body {
    padding: 18px 14px;
  }
  .article-heading {
    font-size: 15px;
  }
  .heading-icon {
    font-size: 18px;
  }
  .highlight-heading {
    padding: 10px 14px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .concepts-grid {
    grid-template-columns: 1fr;
  }
  .mistakes-grid {
    grid-template-columns: 1fr;
  }
  .article-conclusion {
    padding: 16px;
  }
  .article-author-box {
    padding: 18px 16px;
  }
  .author-info strong {
    font-size: 16px;
  }

  /* کارت مشخصات وکیل در موبایل */
  .lawyer-profile-card {
    grid-template-columns: 1fr;
  }
  .profile-photo-col {
    height: 200px;
    min-height: auto;
  }
  .profile-details-col {
    padding: 16px 14px;
  }
  .profile-name {
    font-size: 18px;
  }
  .profile-bio {
    font-size: 12px;
    line-height: 1.8;
  }
  .profile-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .profile-actions .btn {
    width: 100%;
    font-size: 12.5px;
    padding: 10px;
  }

  /* مراحل پیگیری در موبایل */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .process-card {
    padding: 14px 12px;
  }
  .process-step {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  /* آمار در موبایل */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-num {
    font-size: 20px;
  }
  .stat-title {
    font-size: 11px;
  }

  /* بخش تماس در موبایل */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-info h2 {
    font-size: 18px;
  }
  .info-row span, .info-row a {
    font-size: 13px;
  }
  .qr-card {
    padding: 16px;
  }
  .qr-img {
    width: 120px;
    height: 120px;
  }
  .floating-call-btn {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
  }
  .floating-call-btn svg {
    width: 20px;
    height: 20px;
  }
}