/* ============================================================
   VakilMe theme — assets/css/theme.css
   Premium RTL Persian legal-tech theme.
   ============================================================ */

:root {
	--navy: #001544;
	--gold: #f3c268;
	--cyan: #02fdfe;
	--line: #d8dee8;
	--muted: #667085;
	--header-bg: #d9d9d9;
	font-family: 'Vazirmatn', system-ui, sans-serif;
	color: var(--navy);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background: #fbfcfd;
	font-family: 'Vazirmatn', system-ui, sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
}

button, input, textarea {
	font: inherit;
}

button {
	cursor: pointer;
	border: 0;
	background: transparent;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
}

/* Focus states */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid #02c9ca;
	outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 12px;
	z-index: 100;
	margin: 12px auto 0;
	max-width: 1168px;
	padding: 0 18px;
}

.header-inner {
	direction: rtl;
	min-height: 68px;
	background: var(--header-bg);
	border-radius: 21px;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 8px 17px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	order: 1;
}

.brand-logo {
	display: inline-flex;
	align-items: center;
}

.brand-logo img, .footer-logo img, .auth-logo img, .placeholder-mark img {
	width: 57px;
	height: 45px;
	max-height: 40px;
	object-fit: contain;
	display: block;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.brand-text b {
	font-size: 17px;
	font-weight: 800;
	color: var(--navy);
}

.brand-text small {
	font-size: 12px;
	direction: ltr;
	text-align: right;
}

.main-nav {
	display: flex;
	align-items: center;
	order: 2;
	margin-inline: auto;
	height: 58px;
	position: relative;
	border-bottom: 4px solid var(--navy);
	align-self: flex-end;
	min-width: 0;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 26px;
	height: 58px;
}

.nav-list li {
	height: 58px;
	display: flex;
	align-items: center;
	position: relative;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 700;
}

.nav-list li a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 2px;
	color: var(--navy);
	transition: color .2s;
}

.nav-list li a:hover, .nav-list li.active > a {
	color: #083182;
}

/* مارکر لوزی طلایی منو */
.main-nav .marker {
	position: absolute;
	bottom: -7px;
	right: 0;
	width: 11px;
	height: 11px;
	background: var(--gold);
	opacity: 0;
	pointer-events: none;
	transition: right .35s cubic-bezier(.4, 1.4, .5, 1), opacity .3s;
}

.header-actions {
	order: 3;
	display: flex;
	gap: 9px;
	align-items: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border-radius: 999px;
	padding: 12px 19px;
	font-weight: 700;
	white-space: nowrap;
}

.btn-gold {
	background: var(--gold);
	color: var(--navy);
}

.btn-cyan {
	background: var(--cyan);
	color: var(--navy);
}

.btn-navy {
	background: var(--navy);
	color: #fff;
	width: 100%;
	margin-top: 10px;
}

.menu-button {
	display: none;
	color: var(--navy);
}

.menu-button .icon-close {
	display: none;
}

.menu-button.is-open .icon-open {
	display: none;
}

.menu-button.is-open .icon-close {
	display: block;
}

/* ---------- Layout ---------- */
main.home {
	max-width: 1168px;
	margin: 12px auto;
}

main.content-page {
	max-width: 1168px;
	margin: 0 auto;
	padding: 100px 24px 130px;
}

.content-page.narrow {
	max-width: 760px;
}

/* ---------- Hero ---------- */
.hero-wrap {
	background: #020c24;
	border-radius: 40px;
	overflow: hidden;
	color: #fff;
	position: relative;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: .35;
}

.hero-wrap:before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(115deg, transparent 42%, rgba(0, 207, 255, .16) 43%, transparent 44%),
	                  radial-gradient(circle at 10% 30%, rgba(17, 128, 255, .3), transparent 24%),
	                  radial-gradient(circle at 75% 0%, rgba(0, 244, 255, .12), transparent 28%);
	pointer-events: none;
}

.hero-grid {
	min-height: 420px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	direction: ltr;
	position: relative;
}

.hero-copy {
	direction: rtl;
	padding: 64px 62px 46px 30px;
	z-index: 1;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gold);
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 13px;
}

.eyebrow.dark {
	color: #0d6791;
}

.hero-copy h1 {
	font-size: 44px;
	line-height: 1.25;
	margin: 0 0 16px;
	color: #fff;
	letter-spacing: -1px;
	font-weight: 800;
}

.hero-copy p {
	color: #d4deee;
	font-size: 15px;
	max-width: 510px;
	line-height: 2;
	margin: 0 0 24px;
}

/* Question form */
.question-form {
	background: #fff;
	border-radius: 999px;
	display: flex;
	align-items: center;
	padding: 6px;
	min-height: 57px;
	position: relative;
	color: var(--navy);
	animation: teeter 3.5s ease-in-out 2s infinite;
	transform-origin: 50% 100%;
}

.question-form.large {
	border-radius: 20px;
	display: grid;
	grid-template-columns: 45px 1fr 52px;
	animation: none;
	border: 1px solid var(--line);
	min-height: 150px;
	margin-top: 28px;
}

.question-form.large textarea {
	padding: 16px;
	min-height: 118px;
}

.question-form textarea {
	resize: none;
	border: 0;
	outline: 0;
	flex: 1;
	padding: 7px 14px;
	color: var(--navy);
	background: transparent;
	line-height: 1.8;
}

.question-form textarea::placeholder {
	color: #96a1b4;
}

.question-icon {
	width: 43px;
	height: 43px;
	background: #eef8ff;
	color: #0585d4;
	border-radius: 50%;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	animation: robotPulse 3s ease-in-out infinite;
}

.question-form.large .question-icon {
	align-self: start;
	margin-top: 6px;
}

.send-button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--navy);
	flex-shrink: 0;
}

.question-form.large .send-button {
	align-self: end;
	margin: 5px;
}

.form-feedback {
	position: absolute;
	right: 15px;
	top: calc(100% + 8px);
	font-size: 12px;
	display: none;
}

.form-feedback.visible {
	display: block;
	position: static;
	margin: 8px 0;
	font-size: 12px;
	padding: 10px 12px;
	border-radius: 8px;
}

.form-feedback.error {
	color: #b42318;
	background: #fff3f2;
}

.form-feedback.success {
	color: #067647;
	background: #ecfdf3;
}

.popular {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 15px;
	font-size: 12px;
}

.popular span {
	color: #f7c65f;
	font-weight: 700;
}

.popular a {
	background: #172540;
	color: #e7edf8;
	padding: 7px 13px;
	border-radius: 99px;
	transition: .2s;
}

.popular a:hover {
	background: var(--gold);
	color: var(--navy);
}

.hero-visual {
	direction: rtl;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.hero-visual img.hero-logo, .hero-visual img {
	width: min(300px, 70%);
	position: relative;
	filter: drop-shadow(0 0 28px rgba(0, 241, 255, .7));
}

.halo {
	position: absolute;
	width: 390px;
	height: 130px;
	border: 1px solid rgba(0, 218, 255, .6);
	border-radius: 50%;
	box-shadow: 0 0 55px rgba(0, 218, 255, .25);
	transform: rotate(-5deg);
	bottom: 95px;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
}

.orb-one {
	width: 5px;
	height: 5px;
	left: 26%;
	top: 26%;
	background: #02fdfe;
	box-shadow: 0 0 14px #02fdfe;
}

.orb-two {
	width: 7px;
	height: 7px;
	right: 17%;
	bottom: 29%;
	background: var(--gold);
	box-shadow: 0 0 15px var(--gold);
}

.tech-label {
	position: absolute;
	left: 12%;
	bottom: 55px;
	color: #55718f;
	letter-spacing: 4px;
	font-size: 11px;
	line-height: 1.8;
}

.tech-label b {
	color: #02fdfe;
}

/* ---------- Services ---------- */
.services-section {
	padding: 34px 6px 48px;
}

.section-heading {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
}

.section-heading h2 {
	font-size: 24px;
	margin: 0;
	color: var(--navy);
}

.section-heading span {
	width: 70px;
	height: 2px;
	background: var(--gold);
	position: relative;
}

.section-heading span:after {
	content: '';
	position: absolute;
	right: 0;
	top: -4px;
	width: 9px;
	height: 9px;
	background: var(--gold);
	transform: rotate(45deg);
}

.section-heading span:first-child:after {
	right: auto;
	left: 0;
}

.services-carousel {
	display: flex;
	align-items: center;
	gap: 12px;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
	flex: 1;
}

.service-card {
	min-height: 222px;
	background: #fff;
	border: 1.5px solid var(--navy);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	padding: 15px 9px;
	transition: transform .2s, box-shadow .2s;
	color: var(--navy);
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 22px rgba(0, 21, 68, .1);
}

.service-icon {
	color: var(--navy);
}

.service-card h3 {
	font-size: 14px;
	margin: 0;
	text-align: center;
}

.service-cta {
	display: flex;
	align-items: center;
	gap: 5px;
	border: 1px solid var(--gold);
	border-radius: 99px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 700;
}

.carousel-btn {
	width: 40px;
	height: 40px;
	border: 1px solid var(--navy);
	background: #fff;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--navy);
	flex-shrink: 0;
}

/* ---------- Panel (lawyers / consultation) ---------- */
.panel {
	background: #fff;
	border: 1.5px solid var(--navy);
	border-radius: 28px;
}

.lawyers-section {
	padding: 27px 29px 25px;
	position: relative;
	overflow: hidden;
}

.panel-title {
	text-align: center;
}

.panel-title h2 {
	font-size: 25px;
	margin: 0 0 7px;
}

.panel-title a, .text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #058ec1;
	font-weight: 700;
	font-size: 14px;
}

.lawyers-layout {
	display: flex;
	direction: ltr;
	margin-top: 22px;
	align-items: flex-end;
}

.lawyer-photo {
	width: 180px;
	align-self: stretch;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.lawyer-photo img {
	width: 145px;
	height: 355px;
	object-fit: cover;
	object-position: center;
	border-radius: 80px 80px 12px 12px;
	filter: saturate(.75);
	mix-blend-mode: multiply;
}

.photo-ph {
	display: grid;
	place-items: center;
	width: 145px;
	height: 355px;
	background: #eef2f6;
	border-radius: 80px 80px 12px 12px;
	color: #94a3b8;
	font-size: 13px;
	text-align: center;
}

.lawyer-grid {
	direction: rtl;
	flex: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.lawyer-card {
	border: 1.5px solid var(--navy);
	border-radius: 22px;
	overflow: hidden;
	min-height: 220px;
	background: #fff;
	transition: .2s;
	color: var(--navy);
}

.lawyer-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 22px rgba(0, 21, 68, .09);
}

.photo-placeholder {
	height: 148px;
	display: grid;
	place-items: center;
	color: #d1d9e5;
	background: #fafbfc;
}

.photo-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-placeholder svg {
	width: 72px;
	height: 72px;
}

.lawyer-info {
	background: #f1f2f4;
	border-radius: 20px 20px 0 0;
	padding: 13px 16px;
}

.lawyer-info h3 {
	font-size: 14px;
	margin: 0 0 7px;
}

.dots {
	border-bottom: 3px dotted #02bde8;
	width: 74px;
	margin-bottom: 8px;
}

.lawyer-info small {
	font-size: 10px;
	color: #334155;
}

/* ---------- Consultation ---------- */
.consultation {
	margin-top: 48px;
	padding: 38px 40px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 38px;
	position: relative;
	overflow: hidden;
}

.consult-copy {
	padding-left: 22px;
	border-left: 2px solid var(--navy);
	padding-bottom: 32px;
}

.consult-copy h2, .consult-form h2 {
	font-size: 26px;
	margin: 0 0 10px;
}

.why-item {
	display: flex;
	gap: 13px;
	margin: 16px 0;
}

.why-item i {
	width: 7px;
	height: 7px;
	background: var(--navy);
	border-radius: 50%;
	margin-top: 10px;
	flex-shrink: 0;
}

.why-item h3 {
	font-size: 15px;
	margin: 0 0 3px;
}

.why-item p {
	font-size: 13px;
	color: #4b5563;
	line-height: 1.9;
	margin: 0;
}

.disclaimer {
	display: block;
	color: #64748b;
	font-size: 11px;
	line-height: 1.8;
	margin-top: 14px;
}

.consult-form {
	padding-bottom: 32px;
}

.consult-form > p {
	font-size: 13px;
	color: #4b5563;
	margin: 0 0 19px;
}

.consult-form form {
	display: grid;
	gap: 11px;
}

.consult-form label {
	font-size: 13px;
	font-weight: 700;
	display: grid;
	gap: 6px;
}

.consult-form input:not([type=checkbox]), .consult-form textarea, .auth-card input {
	border: 1px solid #d6dbe3;
	border-radius: 10px;
	padding: 11px 13px;
	outline: 0;
	font-size: 13px;
	background: #fff;
}

.consult-form input:focus, .consult-form textarea:focus, .auth-card input:focus {
	border-color: #03b8d2;
	box-shadow: 0 0 0 3px rgba(2, 253, 254, .15);
}

.consult-form textarea {
	resize: vertical;
}

.check {
	display: flex !important;
	grid-template-columns: auto 1fr !important;
	align-items: center;
	gap: 9px;
	font-size: 11px !important;
	font-weight: 500 !important;
}

.check input {
	accent-color: var(--navy);
	width: 16px;
	height: 16px;
}

.outline-button {
	border: 1.5px solid var(--gold);
	background: #fff;
	color: var(--navy);
	border-radius: 99px;
	padding: 10px 18px;
	display: flex;
	align-items: center;
	gap: 7px;
	justify-content: center;
	font-weight: 700;
	width: max-content;
	min-width: 130px;
}

.male-photo {
	position: absolute;
	right: -4px;
	bottom: 32px;
	width: 125px;
	height: 175px;
	z-index: 0;
	pointer-events: none;
}

.male-photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top;
	border-radius: 70px 70px 0 0;
	filter: saturate(.65);
	mix-blend-mode: normal;
}

.male-photo .photo-ph {
	width: 100%;
	height: 100%;
	border-radius: 70px 70px 0 0;
	font-size: 11px;
}

.male-photo.parallax-ready {
	transition: none;
}

/* ---------- Stats ---------- */
.stats {
	background: var(--navy);
	border-radius: 22px;
	color: #fff;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin-top: 12px;
	margin-bottom: 34px;
	overflow: hidden;
}

.stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 99px;
	border-left: 1px solid rgba(255, 255, 255, .6);
	gap: 6px;
}

.stat:last-child {
	border: 0;
}

.stat strong {
	font-size: 22px;
	font-weight: 800;
}

.stat span {
	font-size: 13px;
	font-weight: 600;
}

/* ---------- Site Footer (4-column layout) ---------- */
.site-footer {
	background: #020c24;
	color: #ffffff;
	padding: 50px 24px 40px;
	direction: rtl;
	margin-top: 60px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
	max-width: 1168px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1.2fr 1.2fr 1fr;
	gap: 40px;
	align-items: start;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.footer-brand-title {
	font-size: 20px;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: #cbd5e1;
	line-height: 1.8;
}

.footer-heading {
	font-size: 15px;
	font-weight: 700;
	color: var(--gold);
	margin: 0 0 8px 0;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	font-size: 13px;
	color: #94a3b8;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: #38bdf8;
}

.footer-enamad-box {
	background: #ffffff;
	border-radius: 12px;
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
}

/* ---------- Placeholder / content pages ---------- */
.placeholder {
	text-align: center;
	min-height: 65vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 1168px;
	margin: 0 auto;
	padding: 100px 24px 130px;
}

.placeholder-mark img {
	width: 150px;
	height: auto;
	filter: drop-shadow(0 0 20px rgba(0, 180, 230, .25));
	margin-bottom: 14px;
}

.placeholder h1, .content-page h1 {
	font-size: 42px;
	margin: 7px 0 12px;
	font-weight: 800;
}

.placeholder p {
	font-size: 19px;
	color: #64748b;
	margin: 0 0 25px;
}

.content-page .lead {
	color: #64748b;
	font-size: 16px;
	margin-bottom: 31px;
}

.content-page.narrow h1 {
	margin-bottom: 8px;
}

.content-page.narrow .question-form {
	margin-bottom: 22px;
}

.page-disclaimer {
	margin-top: 35px;
}

/* ---------- FAQ ---------- */
.tabs {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin: 25px 0;
}

.tab {
	border: 1px solid #ccd6e3;
	background: #fff;
	color: var(--navy);
	padding: 10px 17px;
	border-radius: 99px;
	font-weight: 700;
}

.tab.selected, .tab:hover {
	background: var(--navy);
	color: #fff;
}

.faq-list {
	border-top: 1px solid var(--line);
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-toggle {
	width: 100%;
	padding: 19px 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--navy);
	font-weight: 700;
	text-align: right;
	font-size: 15px;
}

.faq-toggle .chev {
	transition: transform .25s;
	flex-shrink: 0;
}

.faq-item.open .faq-toggle .chev {
	transform: rotate(180deg);
}

.faq-item p {
	color: #667085;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 19px;
	padding-left: 35px;
	display: none;
}

.faq-item.open p {
	display: block;
}

/* ---------- Auth ---------- */
.auth-page {
	min-height: 78vh;
	display: grid;
	place-items: center;
	max-width: 1168px;
	margin: 0 auto;
	padding: 80px 24px;
}

.auth-card {
	width: min(100%, 480px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 38px;
	box-shadow: 0 20px 55px rgba(0, 21, 68, .08);
}

.auth-logo {
	text-align: center;
	margin-bottom: 17px;
}

.auth-logo img {
	width: 120px;
	height: 60px;
	object-fit: contain;
}

.auth-card h1 {
	font-size: 25px;
	margin: 5px 0 11px;
}

.auth-card p {
	font-size: 13px;
	color: #64748b;
	line-height: 1.9;
}

.auth-card form {
	display: grid;
	gap: 12px;
	margin-top: 25px;
}

.auth-card label {
	display: grid;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
}

.readonly-mobile input {
	background: #f4f7fa;
	color: #64748b;
}

.masked {
	background: #f4f7fa;
	border-radius: 10px;
	padding: 12px;
	font-size: 12px;
	color: #475569;
	margin: 18px 0;
}

.otp-row {
	display: flex;
	direction: ltr;
	gap: 8px;
	margin: 21px 0;
}

.otp-row input {
	width: 100%;
	height: 48px;
	text-align: center;
	font-size: 20px;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.otp-row input:focus {
	border-color: #03b8d2;
	box-shadow: 0 0 0 3px rgba(2, 253, 254, .15);
}

.edit-mobile {
	color: #058ec1;
	font-size: 12px;
	margin: 12px auto 0;
	display: block;
}

.edit-mobile:disabled {
	color: #94a3b8;
}

/* ==========================================================================
   استایل‌های کارت‌های درباره ما (About Us)
   ========================================================================== */
.about-page-wrapper {
    max-width: 1168px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-hero-card {
    background: linear-gradient(135deg, #101c3d 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 28, 61, 0.1);
}

.about-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.about-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content-card,
.about-vision-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    line-height: 2;
    color: #334155;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.about-quote-mark {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.vision-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.vision-target-icon {
    color: #2563eb;
    display: flex;
    align-items: center;
}

.vision-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.about-text-lead,
.vision-text-body {
    font-size: 1.05rem;
    text-align: justify;
    margin: 0;
}

@media (max-width: 768px) {
    .about-page-wrapper {
        padding: 24px 16px 60px;
        gap: 20px;
    }
    .about-hero-card {
        padding: 32px 20px;
    }
    .about-title {
        font-size: 1.5rem;
    }
    .about-content-card,
    .about-vision-card {
        padding: 24px 20px;
    }


/* ── Reveal / Morph-like Entrance ────────────────────────── */
[data-reveal] {
	opacity: 0;
	transition: opacity .55s cubic-bezier(.4, 0, .2, 1),
	            transform .65s cubic-bezier(.34, 1.28, .64, 1);
	will-change: opacity, transform;
}

[data-reveal="left"] {
	transform: translateX(-48px);
}

[data-reveal="right"] {
	transform: translateX(48px);
}

[data-reveal].in {
	opacity: 1;
	transform: translateX(0);
}

[data-reveal].out {
	opacity: 0;
	transition: opacity .35s cubic-bezier(.4, 0, 1, 1),
	            transform .4s cubic-bezier(.4, 0, .6, 1);
}

[data-reveal="left"].out {
	transform: translateX(-48px);
}

[data-reveal="right"].out {
	transform: translateX(48px);
}

/* ---------- Keyframes ---------- */
@keyframes teeter {
	0%, 100% { transform: rotate(0deg); }
	2%, 6%   { transform: rotate(1.2deg); }
	4%, 8%   { transform: rotate(-1.2deg); }
	10%      { transform: rotate(0deg); }
}

@keyframes robotPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: .55; transform: scale(.85); }
}

/* Lawyers – morph portrait animation */
.lawyer-photo.female {
	opacity: 0;
	transform: translateX(-100px) scale(0.96);
	transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
	            opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform, opacity;
}

.lawyer-photo.female.morph-in {
	opacity: 1;
	transform: translateX(0) scale(1);
}

.lawyer-photo.female.morph-out {
	opacity: 0;
	transform: translateX(-100px) scale(0.96);
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
	.header-inner { gap: 15px; }
	.nav-list { gap: 14px; }
	.nav-list li { font-size: 12px; }
	.header-actions .btn { padding: 10px 13px; font-size: 12px; }
	.hero-copy { padding-right: 35px; }
	.service-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 760px) {
	.site-header { top: 7px; margin-top: 7px; padding: 0 9px; }
	.header-inner { min-height: 62px; padding: 7px 12px; }
	.brand { order: 1; margin-right: 0; }
	.brand-logo img { width: 48px; height: 38px; }
	.brand-text b { font-size: 14px; }
	.brand-text small { font-size: 10px; }
	.menu-button { display: block; order: 4; margin-right: auto; }
	.header-actions { order: 3; margin-right: auto; }
	.header-actions .btn-gold { display: none; }
	.header-actions .btn-cyan { font-size: 11px; padding: 9px 11px; }
	.main-nav {
		order: 2;
		display: none;
		position: absolute;
		right: 9px;
		left: 9px;
		top: 68px;
		height: auto;
		background: #e9e9e9;
		border-radius: 18px;
		padding: 10px;
		border: 1px solid #c7c7c7;
	}
	.main-nav.is-open { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
	.nav-list li { height: 45px; padding: 0 15px; font-size: 13px; }
	.main-nav .marker { display: none; }
	.home { margin-top: 9px !important; }

	.hero-wrap { border-radius: 25px; }
	.hero-grid { display: flex; flex-direction: column-reverse; min-height: 0; }
	.hero-visual { min-height: 250px; }
	.hero-visual img.hero-logo, .hero-visual img { width: 230px; }
	.halo { width: 250px; height: 90px; bottom: 50px; }
	.hero-copy { padding: 22px 20px 28px; }
	.hero-copy h1 { font-size: 31px; }
	.hero-copy p { font-size: 13px; }
	.question-form { min-height: 53px; }

	.services-section { padding: 29px 0; }
	.section-heading h2 { font-size: 20px; }
	.section-heading span { width: 30px; }
	.services-carousel { gap: 7px; }
	.service-grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 3px 0;
		scrollbar-width: none;
	}
	.service-grid::-webkit-scrollbar { display: none; }
	.service-card { min-width: 160px; min-height: 195px; scroll-snap-align: start; }
	.service-card h3 { font-size: 12px; }
	.carousel-btn { width: 34px; height: 34px; }

	.panel { border-radius: 22px; }
	.lawyers-section { padding: 24px 14px; }
	.panel-title h2 { font-size: 21px; }
	.lawyers-layout { display: block; }
	.lawyer-photo { display: none; }
	.lawyer-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 20px; }
	.lawyer-card { min-height: 180px; border-radius: 15px; }
	.photo-placeholder { height: 112px; }
	.lawyer-info { padding: 10px; }
	.lawyer-info h3 { font-size: 11px; }
	.lawyer-info small { font-size: 8px; }

	.consultation { display: flex; flex-direction: column-reverse; padding: 25px 19px 0; gap: 22px; margin-top: 28px; }
	.consult-copy { border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
	.consult-copy h2, .consult-form h2 { font-size: 22px; }
	.why-item { margin: 13px 0; }
	.why-item h3 { font-size: 13px; }
	.why-item p { font-size: 12px; }
	.male-photo { display: none; }
	.consult-form > p { font-size: 12px; }

	.stats { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
	.stat { min-height: 83px; }
	.stat:nth-child(2), .stat:nth-child(4) { border-left: 0; }
	.stat:last-child { grid-column: span 2; border-left: 0; }
	.stat strong { font-size: 18px; }
	.stat span { font-size: 11px; }

	.site-footer { padding: 40px 18px 30px; }
	.footer-inner { grid-template-columns: 1fr; gap: 28px; }

	.placeholder, .content-page, .auth-page { padding: 70px 18px 90px; }
	.placeholder h1, .content-page h1 { font-size: 30px; }
	.placeholder p { font-size: 16px; }
	.content-page .lead { font-size: 14px; }
	.content-page.narrow { padding-top: 60px; }
	.question-form.large { grid-template-columns: 39px 1fr 45px; }

	.auth-card { padding: 26px 20px; }
	.auth-card h1 { font-size: 21px; }
	.otp-row { gap: 5px; }

	.about-page-wrapper { margin-top: 20px; padding: 0 16px; gap: 20px; }
	.about-hero-card { padding: 40px 20px; border-radius: 20px; }
	.about-title { font-size: 1.6rem; }
	.about-content-card, .about-vision-card { padding: 28px 20px; border-radius: 20px; }
	.about-text-lead, .vision-text-body { font-size: 0.98rem; line-height: 2; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
	[data-reveal], [data-reveal].in, [data-reveal].out {
		opacity: 1 !important;
		transform: none !important;
	}
	.lawyer-photo.female,
	.lawyer-photo.female.morph-in,
	.lawyer-photo.female.morph-out {
		transition: opacity 0.3s ease;
		transform: none !important;
	}
}

/* =========================================================
   Consultation character overlap fix
   ========================================================= */
.consult-copy {
	padding-right: 82px;
}

.male-photo {
	right: 0;
	bottom: 8px;
	width: 108px;
	height: 154px;
	z-index: 1;
	pointer-events: none;
}

.male-photo img {
	object-fit: contain;
	object-position: bottom center;
	filter: saturate(.72) drop-shadow(0 6px 14px rgba(0,21,68,.12));
	mix-blend-mode: normal;
}

@media (max-width: 1180px) {
	.consult-copy { padding-right: 22px; }
	.male-photo { right: 0; width: 96px; height: 138px; }
}

@media (max-width: 760px) {
	.consult-copy { padding-right: 0; }
	.male-photo { display: none; }
}
