/**
 * Apartment features section — frontend.
 */

.m306-feat {
	--m306-feat-ink: #182220;
	--m306-feat-muted: #5a5a5a;
	--m306-feat-line: #e6e6e6;
	--m306-feat-font: 'Fahkwang', 'Times New Roman', serif;

	font-family: var(--m306-feat-font);
	color: var(--m306-feat-ink);
	background: #fff;
	padding: clamp(32px, 5vw, 64px) 0;
	box-sizing: border-box;
	width: 100%;
}

.m306-feat *,
.m306-feat *::before,
.m306-feat *::after {
	box-sizing: border-box;
}

.m306-feat__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 clamp(16px, 3vw, 40px);
}

.m306-feat__title {
	margin: 0 0 18px;
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.15;
	text-transform: uppercase;
}

.m306-feat__intro {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--m306-feat-muted);
	max-width: 34rem;
}

.m306-feat__media {
	margin: 28px 0 0;
}

.m306-feat__media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.m306-feat-acc {
	border-bottom: 1px solid var(--m306-feat-line);
}

.m306-feat-acc__head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border: none;
	background: transparent;
	cursor: pointer;
	font-family: var(--m306-feat-font);
	text-align: left;
	color: var(--m306-feat-ink);
}

.m306-feat-acc__label {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.m306-feat-acc__chevron {
	width: 10px;
	height: 10px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex: 0 0 auto;
	margin-bottom: 4px;
}

.m306-feat-acc.is-open .m306-feat-acc__chevron {
	transform: rotate(-135deg);
	margin-bottom: 0;
	margin-top: 4px;
}

.m306-feat-acc__body {
	padding: 0 0 22px;
}

.m306-feat-icons {
	display: grid;
	gap: 22px 16px;
}

.m306-feat-icons--cols-1 {
	grid-template-columns: 1fr;
	justify-items: center;
	max-width: 220px;
	margin: 0 auto;
}

.m306-feat-icons--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.m306-feat-icons--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.m306-feat-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
}

.m306-feat-icon__svg {
	display: block;
	width: 40px;
	height: 40px;
	color: var(--m306-feat-ink);
}

.m306-feat-icon__svg svg {
	width: 100%;
	height: 100%;
	display: block;
}

.m306-feat-icon__label {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--m306-feat-ink);
}

.m306-feat-lines {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.m306-feat-lines li {
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--m306-feat-ink);
}

@media (max-width: 900px) {
	.m306-feat__grid {
		grid-template-columns: 1fr;
	}

	.m306-feat-icons--cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.m306-feat-icons--cols-2,
	.m306-feat-icons--cols-3 {
		grid-template-columns: 1fr;
	}
}
