/* ابزار بیمه — design system v2 */
:root {
	--primary: #0b84d6;
	--primary-dark: #0662a3;
	--primary-light: #5ec8f2;
	--secondary: #12334d;
	--accent: #12b886;
	--accent-warm: #ff8a3d;
	--background: #f3f9ff;
	--surface: #ffffff;
	--surface-alt: #e8f4fc;
	--text: #14324a;
	--text-muted: #5a7388;
	--border: #c5dceb;
	--success: #0ca678;
	--warning: #f59f00;
	--danger: #e03131;
	--radius-sm: 8px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--shadow-sm: 0 2px 8px rgba(18, 51, 77, 0.05);
	--shadow: 0 12px 32px rgba(18, 51, 77, 0.1);
	--shadow-lg: 0 28px 64px rgba(18, 51, 77, 0.16);
	--font: "Vazirmatn", Tahoma, sans-serif;
	--container: 1180px;
	--header-h: 78px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.02rem;
	line-height: 1.8;
	color: var(--text);
	background:
		radial-gradient(ellipse 80% 50% at 100% -10%, rgba(11, 132, 214, 0.14), transparent 55%),
		radial-gradient(ellipse 60% 40% at -10% 30%, rgba(18, 184, 134, 0.1), transparent 50%),
		radial-gradient(ellipse 40% 30% at 50% 100%, rgba(255, 138, 61, 0.06), transparent 55%),
		var(--background);
	-webkit-font-smoothing: antialiased;
}

/* Phone numbers must stay LTR inside RTL pages */
.az-phone,
a.az-tel,
.az-tel .az-phone {
	direction: ltr;
	unicode-bidi: isolate;
	display: inline-block;
	text-align: left;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	font-weight: 800;
	line-height: 1.3;
	color: var(--secondary);
	margin: 0 0 0.75rem;
}

h1 {
	font-size: clamp(2rem, 4.8vw, 3.35rem);
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(1.55rem, 3.2vw, 2.25rem);
	letter-spacing: -0.02em;
}

h3 {
	font-size: 1.2rem;
}

p {
	margin: 0 0 1rem;
	color: var(--text-muted);
}

ul,
ol {
	margin: 0 0 1rem;
	padding-right: 1.25rem;
}

.az-skip {
	position: absolute;
	right: -9999px;
	top: 0;
	background: var(--primary);
	color: #fff;
	padding: 0.75rem 1rem;
	z-index: 9999;
}

.az-skip:focus {
	right: 1rem;
	top: 1rem;
}

.az-container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.az-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--accent);
	margin-bottom: 0.85rem;
}

.az-eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.az-lead {
	font-size: 1.12rem;
	max-width: 40rem;
}

.az-muted {
	color: var(--text-muted);
	font-size: 0.925rem;
}

.az-caption {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* Buttons */
.az-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0.8rem 1.5rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.25s var(--ease), color 0.25s var(--ease),
		border-color 0.25s var(--ease), transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
}

.az-btn:hover {
	text-decoration: none;
}

.az-btn--primary {
	background: linear-gradient(135deg, var(--primary) 0%, #0a9f78 100%);
	color: #fff;
	box-shadow: 0 10px 28px rgba(11, 132, 214, 0.32);
}

.az-btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(11, 132, 214, 0.4);
}

.az-btn--secondary {
	background: var(--surface);
	color: var(--secondary);
	border-color: var(--border);
}

.az-btn--secondary:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.az-btn--ghost {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(8px);
}

.az-btn--ghost:hover {
	background: #fff;
	color: var(--secondary);
}

.az-btn--on-dark {
	background: #fff;
	color: var(--secondary);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.az-btn--on-dark:hover {
	background: var(--primary-light);
	color: var(--secondary);
}

.az-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.75rem;
}

/* Header */
.az-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(16px) saturate(1.2);
	border-bottom: 1px solid rgba(200, 212, 224, 0.7);
	box-shadow: 0 4px 24px rgba(18, 51, 77, 0.04);
}

.az-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
}

.az-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--secondary);
	flex-shrink: 0;
}

.az-brand:hover {
	color: var(--secondary);
}

.az-brand__mark {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	filter: drop-shadow(0 4px 10px rgba(11, 132, 214, 0.25));
}

.az-brand__fa {
	font-weight: 800;
	font-size: 1.2rem;
	line-height: 1.2;
	display: block;
}

.az-brand__en {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--primary);
}

.az-nav {
	display: none;
}

.az-nav__list {
	display: flex;
	align-items: center;
	gap: 0.1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.az-nav__list > li {
	position: relative;
}

.az-nav__list > li > a {
	display: block;
	padding: 0.55rem 0.65rem;
	font-size: 0.86rem;
	font-weight: 650;
	color: var(--text);
	border-radius: 999px;
}

.az-nav__list > li > a:hover,
.az-nav__list > li.current > a {
	color: var(--primary-dark);
	background: rgba(11, 132, 214, 0.1);
}

.az-nav__dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 230px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 0.55rem;
	list-style: none;
	margin: 0;
	z-index: 50;
}

.az-nav__list > li:hover > .az-nav__dropdown,
.az-nav__list > li:focus-within > .az-nav__dropdown {
	display: block;
}

.az-nav__dropdown a {
	display: block;
	padding: 0.55rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text);
	border-radius: var(--radius-sm);
}

.az-nav__dropdown a:hover {
	background: var(--surface-alt);
	color: var(--primary);
}

.az-header__cta {
	display: none;
}

.az-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--surface);
	color: var(--secondary);
	cursor: pointer;
}

.az-menu-btn span {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.az-menu-btn span::before,
.az-menu-btn span::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	height: 2px;
	background: currentColor;
}

.az-menu-btn span::before {
	top: -6px;
}

.az-menu-btn span::after {
	top: 6px;
}

@media (min-width: 1100px) {
	.az-nav {
		display: block;
	}
	.az-header__cta {
		display: inline-flex;
	}
	.az-menu-btn {
		display: none;
	}
}

/* Mobile drawer */
.az-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	pointer-events: none;
	visibility: hidden;
}

.az-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}

.az-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 51, 77, 0.5);
	opacity: 0;
	transition: opacity 0.25s var(--ease);
}

.az-drawer.is-open .az-drawer__backdrop {
	opacity: 1;
}

.az-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(360px, 92vw);
	height: 100%;
	background: var(--surface);
	padding: 1.25rem;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.3s var(--ease);
	box-shadow: var(--shadow-lg);
}

.az-drawer.is-open .az-drawer__panel {
	transform: translateX(0);
}

.az-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.az-drawer__close {
	width: 40px;
	height: 40px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
}

.az-drawer__nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.az-drawer__nav > li > a {
	display: block;
	padding: 0.75rem 0.5rem;
	font-weight: 700;
	color: var(--text);
	border-bottom: 1px solid var(--border);
}

.az-drawer__sub {
	list-style: none;
	margin: 0;
	padding: 0 0.75rem 0.5rem;
}

.az-drawer__sub a {
	display: block;
	padding: 0.45rem 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-muted);
}

.az-drawer__meta {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	font-size: 0.9rem;
	color: var(--text-muted);
}

.az-drawer__meta a {
	font-weight: 700;
}

body.az-nav-open {
	overflow: hidden;
}

/* ========== FULL-BLEED PHOTO HERO ========== */
.az-hero {
	position: relative;
	min-height: min(92vh, 820px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
	isolation: isolate;
}

.az-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.az-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	animation: azKen 22s var(--ease) infinite alternate;
}

@keyframes azKen {
	from {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.12) translate3d(-1.5%, -1%, 0);
	}
}

.az-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			105deg,
			rgba(18, 51, 77, 0.88) 0%,
			rgba(6, 98, 163, 0.72) 38%,
			rgba(18, 184, 134, 0.35) 68%,
			rgba(255, 138, 61, 0.22) 100%
		),
		linear-gradient(to top, rgba(18, 51, 77, 0.55), transparent 45%);
}

.az-hero__content {
	position: relative;
	z-index: 2;
	width: min(100% - 2rem, var(--container));
	margin: 0 auto;
	padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
	max-width: 40rem;
	margin-right: max(1rem, calc((100% - var(--container)) / 2));
	margin-left: auto;
}

.az-hero__brand {
	font-size: clamp(1.1rem, 2.5vw, 1.45rem);
	font-weight: 800;
	color: #fff;
	margin: 0 0 0.85rem;
	letter-spacing: -0.02em;
}

.az-hero__brand span {
	display: inline-block;
	color: var(--primary-light);
	margin-right: 0.35rem;
}

.az-hero h1 {
	color: #fff;
	margin-bottom: 1.1rem;
	text-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.az-hero p {
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(1.02rem, 2vw, 1.18rem);
	max-width: 34rem;
}

.az-hero .az-eyebrow {
	color: var(--primary-light);
}

/* Sections */
.az-section {
	padding: clamp(3.5rem, 8vw, 6rem) 0;
	position: relative;
}

.az-section--alt {
	background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.az-section--dark {
	background:
		linear-gradient(135deg, rgba(18, 51, 77, 0.92), rgba(6, 98, 163, 0.88)),
		url("../images/bimtex/software.webp") center / cover;
	color: #fff;
}

.az-section--dark h2,
.az-section--dark h3 {
	color: #fff;
}

.az-section--dark p {
	color: rgba(255, 255, 255, 0.82);
}

.az-section__head {
	max-width: 42rem;
	margin-bottom: 2.5rem;
}

.az-section__head--center {
	text-align: center;
	margin-inline: auto;
}

.az-section__head--center .az-eyebrow {
	justify-content: center;
}

/* Media frame */
.az-media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3;
	background: var(--surface-alt);
}

.az-media--wide {
	aspect-ratio: 16 / 10;
}

.az-media--tall {
	aspect-ratio: 3 / 4;
}

.az-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

.az-media:hover img {
	transform: scale(1.05);
}

.az-media__badge {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	background: rgba(18, 51, 77, 0.72);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	backdrop-filter: blur(8px);
}

/* Image cards */
.az-grid {
	display: grid;
	gap: 1.25rem;
}

.az-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.az-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.az-grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.az-card {
	background: var(--surface);
	border: 1px solid rgba(200, 212, 224, 0.85);
	border-radius: var(--radius);
	padding: 1.4rem;
	height: 100%;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
		transform 0.25s var(--ease);
}

.az-card:hover {
	border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
	box-shadow: var(--shadow);
	transform: translateY(-4px);
}

.az-card--media {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.az-card--media .az-card__body {
	padding: 1.25rem 1.35rem 1.45rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.az-card__photo {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #0662a3, #12b886);
}

.az-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.az-card--media:hover .az-card__photo img {
	transform: scale(1.07);
}

.az-card--link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.az-card--link:hover {
	color: inherit;
}

.az-card__icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: linear-gradient(145deg, #dff3ff, #d8f8ef);
	color: var(--primary-dark);
	margin-bottom: 0.95rem;
	font-weight: 800;
	font-size: 0.9rem;
}

.az-card h3 {
	margin-bottom: 0.4rem;
}

.az-card p {
	margin: 0;
	font-size: 0.94rem;
}

.az-card__link {
	display: inline-block;
	margin-top: auto;
	padding-top: 0.9rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--primary);
}

/* Bento showcase */
.az-bento {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 860px) {
	.az-bento {
		grid-template-columns: 1.3fr 1fr 1fr;
		grid-template-rows: auto auto;
	}
	.az-bento__feature {
		grid-row: 1 / span 2;
	}
}

.az-bento__item {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	min-height: 220px;
	box-shadow: var(--shadow);
}

.az-bento__feature {
	min-height: 460px;
}

.az-bento__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.az-bento__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 51, 77, 0.88), rgba(18, 51, 77, 0.15));
}

.az-bento__copy {
	position: relative;
	z-index: 1;
	padding: 1.4rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #fff;
}

.az-bento__copy h3 {
	color: #fff;
	margin-bottom: 0.35rem;
}

.az-bento__copy p {
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	font-size: 0.92rem;
}

/* Process / flow */
.az-flow {
	display: grid;
	gap: 0.85rem;
}

@media (min-width: 800px) {
	.az-flow {
		grid-template-columns: repeat(6, 1fr);
		align-items: stretch;
	}
}

.az-flow__step {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.15rem 0.9rem;
	text-align: center;
	box-shadow: var(--shadow-sm);
	position: relative;
}

.az-flow__step strong {
	display: block;
	color: var(--secondary);
	font-size: 0.92rem;
}

.az-flow__num {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	margin-bottom: 0.55rem;
	box-shadow: 0 6px 16px rgba(11, 132, 214, 0.3);
}

/* Role matrix */
.az-roles {
	display: grid;
	gap: 1rem;
}

@media (min-width: 700px) {
	.az-roles {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.az-roles {
		grid-template-columns: repeat(3, 1fr);
	}
}

.az-role {
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1.35rem;
	border: 1px solid var(--border);
	border-right: 4px solid var(--accent);
	box-shadow: var(--shadow-sm);
}

.az-role h3 {
	font-size: 1.05rem;
}

.az-role ul {
	margin: 0;
	padding-right: 1rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* Split */
.az-split {
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 860px) {
	.az-split {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
	.az-split--reverse > :first-child {
		order: 2;
	}
}

.az-panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.6rem;
	box-shadow: var(--shadow-sm);
}

.az-panel--accent {
	background: linear-gradient(160deg, #e7f5ff 0%, #e6fbf3 55%, #fff4eb 100%);
	border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
}

.az-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.az-checklist li {
	position: relative;
	padding: 0.6rem 1.85rem 0.6rem 0;
	border-bottom: 1px solid var(--border);
	color: var(--text);
	font-size: 0.96rem;
}

.az-checklist li:last-child {
	border-bottom: 0;
}

.az-checklist li::before {
	content: "";
	position: absolute;
	right: 0;
	top: 0.95rem;
	width: 11px;
	height: 11px;
	border-radius: 3px;
	background: linear-gradient(135deg, var(--accent), var(--primary));
}

/* Tech pills */
.az-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.az-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border);
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--secondary);
	box-shadow: var(--shadow-sm);
}

/* Page hero with photo */
.az-page-hero {
	position: relative;
	color: #fff;
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	overflow: hidden;
	isolation: isolate;
	min-height: 320px;
	display: flex;
	align-items: center;
}

.az-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.az-page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.az-page-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		115deg,
		rgba(18, 51, 77, 0.92) 0%,
		rgba(6, 98, 163, 0.8) 55%,
		rgba(18, 51, 77, 0.55) 100%
	);
}

.az-page-hero .az-container {
	position: relative;
	z-index: 2;
}

.az-page-hero h1 {
	color: #fff;
	max-width: 18ch;
}

.az-page-hero p {
	color: rgba(255, 255, 255, 0.9);
	max-width: 40rem;
}

.az-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
	font-size: 0.85rem;
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.72);
}

.az-crumb a {
	color: rgba(255, 255, 255, 0.88);
}

.az-crumb span {
	opacity: 0.5;
}

/* Feature list blocks */
.az-feature {
	display: grid;
	gap: 0.35rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--border);
}

.az-feature:last-child {
	border-bottom: 0;
}

.az-feature strong {
	color: var(--secondary);
}

/* Dashboard mock */
.az-dash {
	background: linear-gradient(160deg, #12334d, #0662a3);
	border-radius: var(--radius-lg);
	padding: 1.15rem;
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.az-dash__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	font-size: 0.8rem;
	opacity: 0.85;
}

.az-dash__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
}

.az-dash__tile {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-sm);
	padding: 0.85rem;
	min-height: 88px;
}

.az-dash__tile span {
	display: block;
	font-size: 0.75rem;
	opacity: 0.7;
	margin-bottom: 0.35rem;
}

.az-dash__tile strong {
	font-size: 0.95rem;
}

.az-dash__bars {
	display: flex;
	align-items: flex-end;
	gap: 0.35rem;
	height: 56px;
	margin-top: 0.5rem;
}

.az-dash__bars i {
	flex: 1;
	background: linear-gradient(180deg, var(--primary-light), var(--accent));
	border-radius: 3px 3px 0 0;
	opacity: 0.9;
}

/* Forms */
.az-form {
	display: grid;
	gap: 1rem;
}

.az-form__row {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.az-form__row--2 {
		grid-template-columns: 1fr 1fr;
	}
}

.az-field label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 0.35rem;
}

.az-field input,
.az-field select,
.az-field textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	font-family: inherit;
	font-size: 1rem;
	background: var(--surface);
	color: var(--text);
}

.az-field textarea {
	min-height: 140px;
	resize: vertical;
}

.az-field input:focus,
.az-field select:focus,
.az-field textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(11, 132, 214, 0.12);
}

/* Wizard */
.az-wizard {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: clamp(1.35rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-lg);
}

.az-wizard__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1.5rem;
}

.az-wizard__dot {
	width: 32px;
	height: 6px;
	border-radius: 999px;
	background: var(--border);
}

.az-wizard__dot.is-active {
	background: var(--primary);
}

.az-wizard__dot.is-done {
	background: var(--accent);
}

.az-wizard__pane {
	display: none;
}

.az-wizard__pane.is-active {
	display: block;
	animation: azFade 0.35s var(--ease);
}

@keyframes azFade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.az-choice-grid {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.az-choice {
	position: relative;
}

.az-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.az-choice span {
	display: block;
	padding: 0.9rem;
	text-align: center;
	border: 1px solid var(--border);
	border-radius: 12px;
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	background: var(--surface-alt);
	transition: 0.2s var(--ease);
}

.az-choice input:checked + span {
	border-color: var(--primary);
	background: #e7f5ff;
	color: var(--primary-dark);
	box-shadow: 0 0 0 3px rgba(11, 132, 214, 0.12);
}

.az-choice input:focus-visible + span {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

/* FAQ */
.az-faq details {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.95rem 1.1rem;
	margin-bottom: 0.65rem;
	box-shadow: var(--shadow-sm);
}

.az-faq summary {
	font-weight: 700;
	color: var(--secondary);
	cursor: pointer;
}

.az-faq details[open] summary {
	margin-bottom: 0.5rem;
}

.az-faq p {
	margin: 0;
	font-size: 0.95rem;
}

/* CTA band */
.az-cta {
	position: relative;
	overflow: hidden;
	color: #fff;
	border-radius: var(--radius-xl);
	padding: clamp(2.25rem, 5vw, 3.5rem);
	text-align: center;
	isolation: isolate;
	box-shadow: var(--shadow-lg);
}

.az-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.az-cta__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.az-cta__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(120deg, rgba(6, 98, 163, 0.9), rgba(18, 184, 134, 0.85) 55%, rgba(255, 138, 61, 0.78));
}

.az-cta > *:not(.az-cta__bg):not(.az-cta__shade) {
	position: relative;
	z-index: 2;
}

.az-cta h2 {
	color: #fff;
}

.az-cta p {
	color: rgba(255, 255, 255, 0.92);
	max-width: 36rem;
	margin-inline: auto;
}

/* Blog */
.az-blog-meta {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
}

.az-article {
	max-width: 720px;
	margin-inline: auto;
}

.az-article h2 {
	margin-top: 2rem;
}

.az-article p,
.az-article li {
	color: var(--text-muted);
	font-size: 1.02rem;
}

/* Gallery strip */
.az-gallery {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) {
	.az-gallery {
		grid-template-columns: repeat(4, 1fr);
	}
}

.az-gallery figure {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 1;
	box-shadow: var(--shadow);
}

.az-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.az-gallery figure:hover img {
	transform: scale(1.06);
}

/* Footer */
.az-footer {
	background:
		linear-gradient(180deg, rgba(18, 51, 77, 0.97), #070e18),
		url("../images/bimtex/team.webp") top / cover;
	color: rgba(255, 255, 255, 0.78);
	padding: 3.5rem 0 1.75rem;
}

.az-footer a {
	color: rgba(255, 255, 255, 0.88);
}

.az-footer a:hover {
	color: var(--primary-light);
}

.az-footer__grid {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin-bottom: 2rem;
}

.az-footer__brand .az-brand__fa {
	color: #fff;
}

.az-footer h3 {
	color: #fff;
	font-size: 0.95rem;
	margin-bottom: 0.85rem;
}

.az-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.az-footer li {
	margin-bottom: 0.4rem;
}

.az-footer li a {
	font-size: 0.9rem;
}

.az-footer__copy {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.25rem;
	font-size: 0.85rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
}

/* Float actions */
.az-float {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.az-float a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 46px;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	box-shadow: var(--shadow);
}

.az-float__call {
	background: linear-gradient(135deg, var(--primary), var(--accent));
}

.az-float__wa {
	background: linear-gradient(135deg, #12b886, #0b84d6);
}

/* Reveal */
.az-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.az-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Product meta boxes */
.az-meta-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin: 1.5rem 0;
}

.az-meta {
	background: var(--surface-alt);
	border-radius: var(--radius);
	padding: 1.1rem;
	border: 1px solid transparent;
}

.az-meta span {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 0.35rem;
}

.az-meta p {
	margin: 0;
	color: var(--text);
	font-size: 0.925rem;
}

/* Solutions category */
.az-cat {
	margin-bottom: 2.75rem;
}

.az-cat__title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.1rem;
}

.az-cat__badge {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.5rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
}

.az-prose ul {
	color: var(--text-muted);
}

.az-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: #e7f5ff;
	color: var(--primary-dark);
	margin-bottom: 0.5rem;
}

/* Intro strip under hero */
.az-marquee-stats {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-top: -2.5rem;
	position: relative;
	z-index: 5;
}

.az-stat {
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1.25rem 1.1rem;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	text-align: center;
}

.az-stat strong {
	display: block;
	font-size: 1.05rem;
	color: var(--secondary);
	margin-bottom: 0.25rem;
}

.az-stat span {
	font-size: 0.85rem;
	color: var(--text-muted);
}
