/**
 * AT Elementor Elements — Creative Why Us Experience CSS
 *
 * @package AT_Elementor_Elements
 * @version 3.0.0
 */

.at-why-us {
	--at-why-accent: var(--at-color-primary, #2563eb);
	--at-why-border: rgba(0, 0, 0, 0.08);
	--at-why-hover-bg: rgba(37, 99, 235, 0.04);
	position: relative;
	width: 100%;
	padding: clamp(48px, 6vw, 96px) 0;
	box-sizing: border-box;
}

.at-why-us__header {
	display: grid;
	grid-template-columns: 0.5fr 1.5fr;
	gap: 32px;
	margin-bottom: clamp(36px, 5vw, 60px);
	align-items: baseline;
}

.at-why-us__header > span {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--at-why-accent);
	padding: 4px 12px;
	background: rgba(37, 99, 235, 0.08);
	border-radius: 999px;
	width: fit-content;
}

.at-why-us h2 {
	font-size: clamp(32px, 4vw, 56px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--at-color-heading, #0f172a);
	margin: 0;
	max-width: 850px;
}

.at-why-us__list {
	border-top: 1px solid var(--at-why-border);
}

.at-why-us__item {
	width: 100%;
	display: grid;
	grid-template-columns: 56px 44px 1fr 32px;
	align-items: center;
	gap: 20px;
	text-align: left;
	padding: clamp(20px, 3vh, 32px) 8px;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--at-why-border);
	color: inherit;
	cursor: pointer;
	box-sizing: border-box;
	transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
	outline: none;
}

.at-why-us__item:hover,
.at-why-us__item:focus-visible,
.at-why-us__item.is-active {
	background-color: var(--at-why-hover-bg);
	padding-left: 16px;
	padding-right: 16px;
}

.at-why-us__num {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--at-why-accent);
}

.at-why-us__icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--at-why-border);
	border-radius: 50%;
	color: var(--at-color-heading, #0f172a);
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.at-why-us__icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.at-why-us__item.is-active .at-why-us__icon {
	background-color: var(--at-why-accent);
	color: #ffffff;
	border-color: var(--at-why-accent);
	transform: rotate(8deg) scale(1.05);
}

.at-why-us__body strong {
	display: block;
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--at-color-heading, #0f172a);
}

.at-why-us__body > span {
	display: block;
	max-width: 650px;
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--at-color-text, #475569);
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.at-why-us__item.is-active .at-why-us__body > span {
	max-height: 140px;
	opacity: 1;
}

.at-why-us__plus {
	font-size: 24px;
	font-weight: 300;
	color: var(--at-why-accent);
	justify-self: end;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.at-why-us__item.is-active .at-why-us__plus {
	transform: rotate(45deg);
}

/* Theme: Dark */
.at-why-us--theme-dark {
	--at-why-border: rgba(255, 255, 255, 0.12);
	--at-why-hover-bg: rgba(255, 255, 255, 0.04);
	color: #ffffff;
}
.at-why-us--theme-dark h2,
.at-why-us--theme-dark .at-why-us__body strong {
	color: #ffffff;
}
.at-why-us--theme-dark .at-why-us__body > span {
	color: rgba(255, 255, 255, 0.75);
}
.at-why-us--theme-dark .at-why-us__icon {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 991px) {
	.at-why-us__header {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.at-why-us {
		padding: 36px 0;
	}
	.at-why-us__item {
		grid-template-columns: 36px 1fr 24px;
		gap: 12px;
		padding: 18px 0;
	}
	.at-why-us__icon {
		display: none;
	}
	.at-why-us h2 {
		font-size: 28px;
	}
}
