/* Round 2 («اصلاح ۲») additions: business services, three paths, legal team, info pages. */

/* ---------- Business services ---------- */
.vh-biz__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.vh-biz__card, .vh-biz__cta { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: var(--vh-radius-lg); }
.vh-biz__card { background: #fff; border: 1px solid var(--vh-border); color: var(--vh-text); text-decoration: none; box-shadow: var(--vh-shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.vh-biz__card:hover, .vh-biz__card:focus-visible { transform: translateY(-4px); border-color: rgba(110, 26, 44, .25); box-shadow: var(--vh-shadow); }
.vh-biz__num { position: absolute; top: 22px; inset-inline-end: 24px; font-size: 2.4rem; font-weight: 900; line-height: 1; color: var(--vh-maroon-50); }
.vh-biz__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--vh-maroon); background: var(--vh-maroon-50); }
.vh-biz__icon .vh-icon { width: 26px; height: 26px; }
.vh-biz__card h3, .vh-biz__cta h3 { margin: 6px 0 0; font-size: 1.12rem; font-weight: 800; line-height: 1.7; }
.vh-biz__card p, .vh-biz__cta p { margin: 0; flex: 1; font-size: .9rem; line-height: 2; color: var(--vh-muted); }
.vh-biz__more { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--vh-maroon); }
.vh-biz__more .vh-icon { width: 18px; height: 18px; transition: transform .25s; }
.vh-biz__card:hover .vh-biz__more .vh-icon { transform: translateX(-4px); }
.vh-biz__cta { color: #fff; background: linear-gradient(145deg, var(--vh-maroon), var(--vh-maroon-700)); box-shadow: var(--vh-shadow); }
.vh-biz__cta .vh-biz__icon { color: var(--vh-gold); background: rgba(255, 255, 255, .1); }
.vh-biz__cta p { color: rgba(255, 255, 255, .82); }
.vh-biz__cta .vh-btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Three service paths ---------- */
.vh-paths__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: path; }
.vh-paths__card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 26px 26px; border: 1px solid var(--vh-border); border-radius: var(--vh-radius-lg); background: #fff; box-shadow: var(--vh-shadow-sm); }
.vh-paths__card:nth-child(2) { border-color: rgba(110, 26, 44, .3); box-shadow: 0 14px 34px rgba(110, 26, 44, .1); }
.vh-paths__step { position: absolute; top: -16px; inset-inline-start: 26px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 900; color: #fff; background: var(--vh-gold); box-shadow: 0 0 0 5px #fff; }
.vh-paths__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--vh-green); background: var(--vh-green-50); }
.vh-paths__card:nth-child(2) .vh-paths__icon { color: var(--vh-maroon); background: var(--vh-maroon-50); }
.vh-paths__icon .vh-icon { width: 25px; height: 25px; }
.vh-paths__card h3 { margin: 4px 0 0; font-size: 1.1rem; font-weight: 800; }
.vh-paths__card p { margin: 0; font-size: .9rem; line-height: 2; color: var(--vh-muted); }
.vh-paths__card p:last-of-type { flex: 1; }
.vh-paths__quote { padding: 10px 14px; border-inline-start: 3px solid var(--vh-gold); border-radius: 8px; background: var(--vh-cream); color: var(--vh-text) !important; font-weight: 600; }
.vh-paths__card .vh-btn { margin-top: 8px; }

/* ---------- Platform → electronic office link ---------- */
.vh-platform__office { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- Legal team page ---------- */
.vh-page-legal-team .vh-container--narrow { max-width: var(--vh-container); }
.vh-page-legal-team .vh-article.vh-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.vh-team { display: block; }
.vh-team__lead { max-width: 760px; margin: 0 auto 8px !important; text-align: center; color: var(--vh-muted); line-height: 2.1; }
.vh-team__heading { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 46px 0 26px !important; font-size: 1.35rem !important; color: var(--vh-maroon) !important; text-align: center; }
.vh-team__heading::before, .vh-team__heading::after { content: ''; width: 46px; height: 2px; border-radius: 2px; background: var(--vh-gold); }
.vh-team__leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 28px; }
.vh-team-leader { margin: 0; overflow: hidden; border: 1px solid var(--vh-border); border-radius: var(--vh-radius-lg); background: #fff; box-shadow: var(--vh-shadow-sm); }
.vh-team-leader__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--vh-maroon-50); }
.vh-team-leader__photo img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; object-fit: cover; object-position: center 20%; border-radius: 0 !important; transition: transform .5s; }
.vh-team-leader:hover .vh-team-leader__photo img { transform: scale(1.04); }
.vh-team-leader figcaption { padding: 18px 20px 22px; text-align: center; border-top: 3px solid var(--vh-maroon); }
.vh-team-leader strong { display: block; font-size: 1.08rem; font-weight: 800; color: var(--vh-text); }
.vh-team-leader span { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.9; color: var(--vh-muted); }
.vh-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.vh-team-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 16px 20px; border: 1px solid var(--vh-border); border-radius: var(--vh-radius); background: #fff; color: var(--vh-text) !important; text-align: center; text-decoration: none !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.vh-team-card:hover, .vh-team-card:focus-visible { transform: translateY(-4px); border-color: rgba(110, 26, 44, .25); box-shadow: var(--vh-shadow); }
.vh-team-card__photo { display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 12px; padding: 4px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--vh-gold), var(--vh-maroon)); }
.vh-team-card__photo img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; object-fit: cover; object-position: center 25%; border: 3px solid #fff; border-radius: 50% !important; background: #fff; }
.vh-team-card__initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font-weight: 900; color: var(--vh-maroon); background: #fff; }
.vh-team-card strong { font-size: .95rem; font-weight: 800; line-height: 1.7; }
.vh-team-card > span:last-child { font-size: .8rem; line-height: 1.8; color: var(--vh-muted); }
.vh-team__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Info pages (about / contact) ---------- */
.vh-info-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -0.5rem 0 2rem; }
.vh-info-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.vh-info-cta h2 { margin: 0 0 .35rem; font-size: 1.25rem; color: var(--vh-maroon); }
.vh-info-cta p { margin: 0; color: var(--vh-muted); }
.vh-info-social__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.vh-info-social__links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--vh-border); border-radius: 999px; background: #fff; color: var(--vh-maroon); font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.vh-info-social__links a::after { content: attr(aria-label); }
.vh-info-social__links a:hover { color: #fff; background: var(--vh-maroon); }
.vh-info-social__links .vh-icon { width: 20px; height: 20px; }
.vh-info-intro__art img, .vh-info-license img { min-height: 1px; }

@media (max-width: 991px) {
	.vh-biz__grid, .vh-paths__grid { grid-template-columns: 1fr 1fr; }
	.vh-biz__cta { grid-column: 1 / -1; }
	.vh-paths__card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.vh-biz__grid, .vh-paths__grid { grid-template-columns: 1fr; gap: 26px; }
	.vh-team__leaders { grid-template-columns: minmax(0, 340px); }
	.vh-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vh-team-card { padding: 18px 10px 16px; }
	.vh-team-card__photo { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
	.vh-biz__card, .vh-team-card, .vh-team-leader__photo img { transition: none; }
}

/* ---------- Header: 8 top-level menu items on one line ---------- */
.vh-nav { margin-inline-start: 14px; }
.vh-nav__list { gap: 0; }
.vh-nav__list > li > a { white-space: nowrap; padding: 10px 9px; font-size: 14px; }
@media (max-width: 1480px) {
	.vh-nav__list > li > a { padding: 10px 6px; font-size: 13px; }
	.vh-nav { margin-inline-start: 6px; }
	.vh-nav__chevron { width: 13px; height: 13px; }
	.vh-header__call span { display: none; }
	.vh-header__call { width: 44px; padding: 0; }
}
@media (max-width: 1279px) {
	.vh-nav { display: none; }
	.vh-header__burger { display: grid; }
}

/* Headings inside the legal team prose block */
.vh-prose .vh-team__heading::before, .vh-prose .vh-team__heading::after { content: ''; position: static; display: block; width: 46px; height: 2px; margin: 0; border-radius: 2px; background: var(--vh-gold); }
.vh-prose .vh-team__lead { text-align: center; }
.vh-team-card__photo { position: relative; }
.vh-team-card__photo img { position: relative; z-index: 1; }
.vh-team-card__photo .vh-team-card__initials { position: absolute; inset: 4px; width: auto; height: auto; }

.vh-biz__cta h3 { color: #fff; }

/* ---------- Mega menu: «خدمات حقوقی» ---------- */
.vh-nav li.vh-mega > .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; width: 600px; min-width: 0; padding: 18px; }
.vh-nav li.vh-mega > .sub-menu > li { position: static; }
.vh-nav li.vh-mega > .sub-menu > li > a { margin-bottom: 6px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 800; color: var(--vh-maroon); background: var(--vh-maroon-50); }
.vh-nav li.vh-mega > .sub-menu > li:nth-child(2) > a { color: var(--vh-green); background: var(--vh-green-50); }
.vh-nav li.vh-mega > .sub-menu > li > a .vh-nav__chevron { display: none; }
.vh-nav li.vh-mega .sub-menu .sub-menu { position: static; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; opacity: 1; visibility: inherit; transform: none; transition: none; }
.vh-nav li.vh-mega .sub-menu .sub-menu::before { display: none; }
.vh-nav li.vh-mega .sub-menu .sub-menu a { padding: 9px 10px; font-size: 14px; }
.vh-nav li.vh-mega .sub-menu .sub-menu a .vh-icon { flex: 0 0 30px; width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: var(--vh-maroon); background: var(--vh-cream); transition: background .2s, color .2s; }
.vh-nav li.vh-mega .sub-menu .sub-menu a:hover .vh-icon { color: #fff; background: var(--vh-maroon); }
.vh-nav li.vh-mega > .sub-menu > li:nth-child(2) .sub-menu a .vh-icon { color: var(--vh-green); }
.vh-nav li.vh-mega > .sub-menu > li:nth-child(2) .sub-menu a:hover .vh-icon { color: #fff; background: var(--vh-green); }

/* ---------- Homepage team carousel cards ---------- */
.vh-lawyers .vh-lawyer-card { padding: 22px 14px 20px; }
.vh-lawyers .vh-lawyer-card__photo { position: relative; width: 124px; height: 124px; margin-bottom: 14px; padding: 4px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--vh-gold), #fff 70%); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.vh-lawyers .vh-lawyer-card__photo img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 18%; border: 3px solid #fff !important; border-radius: 50% !important; background: #fff; transition: transform .4s; }
.vh-lawyers a.vh-lawyer-card:hover .vh-lawyer-card__photo img { transform: scale(1.06); }
.vh-lawyers .vh-lawyer-card__name { margin-bottom: 2px; font-size: .95rem; }
.vh-lawyer-card__badge, .vh-team-badge { display: inline-block; margin: 2px 0 6px; padding: 3px 12px; border-radius: 999px; font-size: .74rem; font-style: normal; font-weight: 700; line-height: 1.8; color: var(--vh-green-800); background: var(--vh-gold); }
.vh-team-badge { color: #fff; background: var(--vh-maroon); }
.vh-team-leader .vh-team-badge { margin-top: 8px; }
