/* ==========================================================================
   دفتر وکالت — استایل صفحه اصلی
   ========================================================================== */

/* ---------- فونت‌ها ---------- */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/vazirmatn-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/noto-naskh-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/noto-naskh-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+FEFF, U+FFFD;
}

/* ---------- متغیرها ---------- */
:root {
  --accent: #A88B4A;
  --accent-text: #8C7135;
  --link: #7A6230;
  --link-hover: #4F3E1A;
  --gold-light: #E2C27D;
  --beige: #EFE7D3;

  --navy: #121B2E;
  --navy-2: #24304A;
  --navy-3: #1B2740;
  --navy-line: #2A3854;
  --navy-border: #34425E;

  --text: #1E2433;
  --text-2: #4A5060;
  --muted: #6A6F7C;
  --muted-warm: #6B6455;
  --on-dark: #B9C1CF;
  --on-dark-2: #D5DBE6;
  --on-dark-3: #CFC6B4;

  --bg: #F7F4EC;
  --white: #FFFFFF;
  --line: #ECE5D6;
  --line-2: #D8CCB2;
  --line-3: #E3DACB;
  --line-4: #F0EADC;

  --ph-1: #DCD3C1;
  --ph-1-fig: #C6BBA4;
  --ph-2: #D2C9B6;
  --ph-2-fig: #BDB29A;
  --ph-3: #E9E2D4;
  --ph-4: #F2ECDF;

  --font: 'Vazirmatn', system-ui, sans-serif;
  --font-serif: 'Noto Naskh Arabic', serif;
  --container: 1240px;
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--link-hover); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
input, select, textarea, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; }
.section { padding: 96px 24px; }
.section--white { background: var(--white); border-top: 1px solid var(--line); }
.section--bordered { border-bottom: 1px solid var(--line); }

/* ---------- عناوین بخش ---------- */
.section-head { display: flex; flex-direction: column; gap: 6px; }
.section-head--center { align-items: center; text-align: center; }
.section-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head__group { display: flex; flex-direction: column; gap: 6px; }
.eyebrow { color: var(--link); font-size: 14px; font-weight: 700; }
.section-title { font-weight: 900; font-size: 38px; color: var(--navy); line-height: 1.5; }
.section-title em, .hl { font-style: normal; color: var(--accent-text); }
.section-note { font-size: 13px; color: var(--muted); }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  font-weight: 700; font-size: 16px; line-height: 1.4;
  border-radius: 12px 12px 12px 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--lg { min-height: 52px; padding: 14px 30px; border-radius: 14px 14px 14px 3px; }
.btn--sm { min-height: 46px; padding: 10px 22px; font-size: 15px; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-text); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); color: var(--white); }
.btn--gold { background: var(--gold-light); color: var(--navy); font-weight: 800; }
.btn--gold:hover { background: #EBD08F; color: var(--navy); }
.btn--outline-dark { border-color: var(--navy); color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }
.btn--outline { border-color: var(--line-2); color: var(--navy); }
.btn--outline:hover { border-color: var(--accent); color: var(--navy); }

.badge {
  align-self: flex-start;
  background: var(--beige); color: var(--link);
  font-size: 14px; font-weight: 700;
  padding: 6px 16px; border-radius: 10px 10px 10px 2px;
}
.badge--sm { font-size: 13px; padding: 5px 14px; }

.icon-box {
  width: 52px; height: 52px; flex: none;
  border-radius: 14px;
  background: var(--beige); color: var(--link);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- نوار بالا ---------- */
.topbar { background: var(--navy); color: var(--on-dark-3); font-size: 13px; }
.topbar__inner { padding: 8px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.topbar b { color: var(--gold-light); font-weight: 700; }

/* ---------- هدر و منو ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__mark {
  width: 50px; height: 50px; flex: none;
  background: var(--accent); color: var(--white);
  border-radius: 16px 16px 16px 4px;
  display: flex; align-items: center; justify-content: center;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.45; }
.brand__name { font-weight: 800; font-size: 19px; }
.brand__tagline { font-size: 12px; color: var(--muted); }

.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: contents; }
.main-nav a { color: var(--text); }
.main-nav a:hover { color: var(--link); }
.main-nav a.is-active, .main-nav .current-menu-item > a { color: var(--link); font-weight: 700; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px 12px 12px 3px;
  background: var(--white); color: var(--navy);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- هیرو ---------- */
.hero { padding: 72px 24px 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__content { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-weight: 900; font-size: 54px; line-height: 1.45; color: var(--navy); }
.hero__lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 18px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.stat { display: flex; flex-direction: column; }
.stat__value { font-weight: 900; font-size: 26px; color: var(--navy); }
.stat__label { font-size: 14px; color: var(--muted); }

.hero__media { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; }
.hero-collage { position: relative; width: 480px; max-width: 100%; height: 540px; }
.hero-collage__back-1 { position: absolute; top: 0; left: 40px; width: 300px; height: 380px; background: var(--accent); border-radius: 48px 48px 48px 8px; }
.hero-collage__photo-1 {
  position: absolute; top: 28px; left: 66px; width: 300px; height: 380px;
  border-radius: 48px 48px 48px 8px;
}
.hero-collage__back-2 { position: absolute; bottom: 0; right: 0; width: 200px; height: 250px; background: var(--navy); border-radius: 40px 8px 40px 40px; }
.hero-collage__photo-2 {
  position: absolute; bottom: 18px; right: 18px; width: 200px; height: 250px;
  border-radius: 40px 8px 40px 40px; border: 4px solid var(--bg);
}
.hero-collage__card {
  position: absolute; bottom: 70px; left: 0;
  background: var(--white); border-radius: 16px 16px 16px 4px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 30px rgba(18, 27, 46, .12);
}
.hero-collage__card .icon-box { width: 42px; height: 42px; border-radius: 12px; }
.hero-collage__card-text { display: flex; flex-direction: column; line-height: 1.5; }
.hero-collage__card-text b { font-size: 15px; color: var(--navy); }
.hero-collage__card-text span { font-size: 12px; color: var(--muted); }

/* جای عکس (تا عکس واقعی گذاشته شود) */
.photo { overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: var(--ph-1); }
.photo--alt { background: var(--ph-2); }
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo__label { position: absolute; top: 16px; right: 20px; font-size: 13px; color: var(--muted-warm); }
.photo--alt .photo__label { font-size: 12px; top: 14px; right: 16px; }

/* ---------- خدمات ---------- */
.services { padding: 0 24px 96px; display: flex; flex-direction: column; gap: 8px; }
.services__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.services__icon { width: 190px; height: auto; }
.services__title { margin-top: 4px; font-weight: 900; font-size: 34px; color: var(--navy); }
.services__sub { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

.service-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 24px 24px 24px 6px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 27, 46, .07); }
.service-card__title { font-size: 18px; font-weight: 700; color: var(--navy); }
.service-card__text { font-size: 14px; color: var(--muted); }
.service-card--dark { background: var(--navy); border-color: var(--navy); }
.service-card--dark .icon-box { background: var(--navy-2); color: var(--gold-light); }
.service-card--dark .service-card__title { color: var(--white); }
.service-card--dark .service-card__text { color: var(--on-dark); }

/* ---------- انواع دعاوی (تب) ---------- */
.areas__inner { display: flex; flex-direction: column; gap: 44px; }
.areas__body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.areas__tabs { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 12px; }
.tablist { display: flex; flex-direction: column; gap: 12px; }

.tab-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 56px; padding: 12px 20px;
  font-size: 16px; font-weight: 700; text-align: right;
  border-radius: 16px 16px 16px 4px; cursor: pointer;
  background: var(--white); color: var(--navy); border: 1px solid var(--line-3);
  transition: background-color .15s, color .15s, border-color .15s;
}
.tab-btn:hover { border-color: var(--accent); }
.tab-btn[aria-selected="true"] { background: var(--accent); color: var(--white); border-color: var(--accent); }

.areas__help {
  margin-top: 12px; background: var(--bg);
  border-radius: 18px 18px 18px 4px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.areas__help b { font-size: 15px; color: var(--navy); }
.areas__help span { font-size: 13px; color: var(--muted); }
.areas__help a { font-weight: 700; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }

.areas__content { flex: 999 1 460px; min-width: 0; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.areas__panels { flex: 999 1 380px; min-width: 0; }
.tab-panel { display: flex; flex-direction: column; gap: 18px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: fadeUp .3s ease both; }
.tab-panel__title { font-weight: 800; font-size: 26px; color: var(--navy); }
.tab-panel__text { color: var(--text-2); }
.case-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.case-list li {
  background: var(--bg); border-radius: 14px 14px 14px 3px;
  padding: 14px 18px; display: flex; align-items: center; gap: 10px; font-weight: 500;
}
.case-list li::before { content: ''; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }

.areas__figure { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.justice-figure { position: relative; width: 320px; max-width: 100%; height: 420px; display: flex; align-items: flex-end; justify-content: center; }
.justice-figure::before { content: ''; position: absolute; bottom: 0; left: 30px; right: 30px; height: 330px; background: var(--beige); border-radius: 140px 140px 24px 24px; }
.justice-figure img { position: relative; width: 320px; height: 420px; object-fit: contain; object-position: bottom; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- وکلا ---------- */
.lawyers { padding: 104px 24px; }
.lawyers__inner { display: flex; flex-direction: column; gap: 96px; }

.lawyer { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.lawyer--reverse { flex-wrap: wrap-reverse; }
.lawyer__media { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.lawyer__info { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lawyer__name { font-weight: 900; font-size: 32px; color: var(--navy); }
.lawyer__bio { color: var(--text-2); }
.lawyer__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 24px; font-size: 15px; }
.lawyer__facts li { display: flex; gap: 10px; align-items: center; }
.lawyer__facts svg { flex: none; color: var(--accent); }
.lawyer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.lawyer-collage { position: relative; width: 420px; max-width: 100%; height: 470px; }
.lawyer-collage__back { position: absolute; top: 0; right: 0; width: 82%; height: 88%; background: var(--beige); border-radius: 48px 8px 48px 48px; }
.lawyer-collage__photo { position: absolute; bottom: 0; left: 0; width: 82%; height: 88%; border-radius: 48px 48px 8px 48px; }
.lawyer-collage__photo .photo__label { top: 18px; right: 22px; font-size: 13px; }
.lawyer-collage__card {
  position: absolute; bottom: 36px; right: 0;
  background: var(--navy); color: var(--white);
  border-radius: 20px 20px 20px 4px; padding: 18px 22px;
  display: flex; flex-direction: column; gap: 10px; min-width: 190px;
}
.lawyer-collage__card b { font-size: 17px; }
.lawyer-collage__card span { font-size: 13px; color: var(--on-dark); }

.lawyer--reverse .lawyer-collage__back { right: auto; left: 0; background: var(--accent); border-radius: 8px 48px 48px 48px; }
.lawyer--reverse .lawyer-collage__photo { left: auto; right: 0; border-radius: 48px 48px 48px 8px; }
.lawyer--reverse .lawyer-collage__card { right: auto; left: 0; border-radius: 20px 20px 4px 20px; }

.socials { display: flex; gap: 8px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy-2); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.socials a:hover { background: var(--gold-light); color: var(--navy); }

/* ---------- مراحل ---------- */
.process__inner { display: flex; flex-direction: column; gap: 52px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; counter-reset: step; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px; }
.step__icon {
  position: relative; width: 84px; height: 84px;
  border-radius: 26px 26px 26px 6px;
  background: var(--bg); border: 1px solid var(--line); color: var(--link);
  display: flex; align-items: center; justify-content: center;
}
.step--final .step__icon { background: var(--accent); border-color: var(--accent); color: var(--white); }
.step__num {
  position: absolute; top: -10px; left: -10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step__title { font-size: 18px; font-weight: 700; color: var(--navy); }
.step__text { font-size: 14px; color: var(--muted); }

/* ---------- چرا ما ---------- */
.why { background: var(--navy); color: var(--white); padding: 96px 24px; overflow: hidden; }
.why__inner { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 64px; }
.why__content { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.why .eyebrow { color: var(--gold-light); }
.why__title { font-weight: 900; font-size: 38px; line-height: 1.5; }
.why__title em { font-style: normal; color: var(--gold-light); }
.why__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--on-dark-2); }
.why__list li { display: flex; gap: 12px; align-items: flex-start; }
.why__check {
  width: 26px; height: 26px; border-radius: 8px; margin-top: 2px; flex: none;
  background: var(--navy-2); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.why .btn { align-self: flex-start; margin-top: 8px; }
.why__media { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.why-figure { position: relative; width: 380px; max-width: 100%; height: 420px; }
.why-figure::before { content: ''; position: absolute; top: 0; left: 0; width: 86%; height: 86%; border: 2px solid var(--gold-light); border-radius: 48px 48px 48px 8px; }
.why-figure__card {
  position: absolute; bottom: 0; right: 0; width: 86%; height: 86%;
  background: var(--ph-4); color: var(--navy);
  border-radius: 48px 48px 48px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 16px;
}
.why-figure__card img { width: 210px; height: auto; }
.why-figure__quote { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }

/* ---------- نظرات ---------- */
.testimonials__inner { display: flex; flex-direction: column; gap: 44px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.testimonial {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 24px 24px 24px 6px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial__mark { font-family: var(--font-serif); font-size: 54px; line-height: .6; color: var(--accent); }
.testimonial blockquote { color: var(--text-2); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-4); }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--beige); flex: none; overflow: hidden; }
.testimonial__who { display: flex; flex-direction: column; line-height: 1.5; }
.testimonial__who b { font-size: 15px; }
.testimonial__who span { font-size: 12px; color: var(--muted); }

/* ---------- مقالات ---------- */
.blog__inner { display: flex; flex-direction: column; gap: 44px; }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card__thumb {
  aspect-ratio: 16 / 10; background: var(--ph-3);
  border-radius: 22px 22px 22px 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted-warm);
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__meta { font-size: 12px; color: var(--link); font-weight: 700; }
.post-card__title { font-size: 18px; font-weight: 800; line-height: 1.6; }
.post-card__title a { color: var(--navy); }
.post-card__title a:hover { color: var(--link); }

/* ---------- سؤالات + فرم ---------- */
.contact__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.faq { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 16px 22px; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--accent-text); font-size: 24px; line-height: 1; transition: transform .2s; flex: none; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__item p { margin: 8px 0 4px; color: var(--text-2); }

.contact-form {
  flex: 1 1 380px; background: var(--navy); color: var(--white);
  border-radius: 28px 28px 28px 6px; padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form__title { font-size: 22px; font-weight: 800; }
.contact-form__title em { font-style: normal; color: var(--gold-light); }
.contact-form__lead { font-size: 14px; color: var(--on-dark); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field input, .field select, .field textarea {
  border: 1px solid var(--navy-border); background: var(--navy-3); color: var(--white);
  font-size: 15px; border-radius: 12px; width: 100%;
  transition: border-color .15s;
}
.field input, .field select { height: 48px; padding: 0 14px; }
.field select { appearance: none; -webkit-appearance: none; padding-left: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E2C27D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.field input[type="tel"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-light); }
.contact-form .btn { height: 52px; border: none; width: 100%; }
.contact-form__status { font-size: 14px; color: var(--gold-light); min-height: 0; }
.contact-form__status:empty { display: none; }
.contact-form__info { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--navy-line); font-size: 14px; color: var(--on-dark-2); }

/* ---------- بنر پایانی ---------- */
.cta { padding: 0 24px 96px; }
.cta__box {
  background: var(--accent); color: var(--white);
  border-radius: 36px 36px 36px 8px; padding: 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta__text { display: flex; flex-direction: column; gap: 6px; flex: 999 1 420px; }
.cta__title { font-weight: 900; font-size: 32px; line-height: 1.5; }
.cta__sub { font-size: 16px; opacity: .92; }
.cta .btn { font-weight: 800; padding: 14px 32px; }

/* ---------- فوتر ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 56px 24px 28px; }
.site-footer__inner { display: flex; flex-direction: column; gap: 36px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col--about { gap: 12px; }
.footer-col__title { color: var(--white); font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--on-dark); }
.footer-col a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 18px; }
.site-footer__bottom { border-top: 1px solid var(--navy-line); padding-top: 18px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ==========================================================================
   واکنش‌گرا
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__title { font-size: 46px; }
  .section-title, .why__title { font-size: 34px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: nowrap; }
  .site-header__cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(18, 27, 46, .08);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line-4); min-height: 44px; display: flex; align-items: center; }
  .main-nav .btn { margin-top: 14px; border-bottom: 0; justify-content: center; color: var(--white); }
  .main-nav .main-nav__cta { display: inline-flex; }
}
@media (min-width: 901px) {
  .main-nav .main-nav__cta { display: none; }
}

@media (max-width: 640px) {
  .section, .why { padding: 72px 16px; }
  .lawyers { padding: 80px 16px; }
  .services, .cta { padding-left: 16px; padding-right: 16px; padding-bottom: 72px; }
  .hero { padding: 40px 16px 64px; gap: 40px; }
  .topbar__inner, .site-header__inner, .site-footer { padding-left: 16px; padding-right: 16px; }
  .main-nav { padding-left: 16px; padding-right: 16px; }

  .hero__title { font-size: 36px; }
  .hero__lead { font-size: 16px; }
  .section-title, .why__title { font-size: 28px; }
  .services__title { font-size: 28px; }
  .lawyer__name { font-size: 26px; }
  .cta__title { font-size: 24px; }
  .cta__box { padding: 32px 24px; }
  .contact-form { padding: 28px 20px; }
  .lawyers__inner { gap: 72px; }

  .hero-collage { height: 440px; }
  .hero-collage__back-1 { left: 0; width: 240px; height: 310px; }
  .hero-collage__photo-1 { left: 20px; top: 20px; width: 240px; height: 310px; }
  .hero-collage__back-2, .hero-collage__photo-2 { width: 160px; height: 200px; }
  .hero-collage__card { bottom: 40px; }

  .lawyer-collage { height: 400px; }
  .areas__tabs { max-width: none; flex-basis: 100%; }
  .brand__name { font-size: 17px; }
  .brand__mark { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
