/* Adam Milo – "Title + Info Cards" block
 * Values read from the Figma Properties panel ("Fit" > Background 2912:169):
 *  section padding 80/275, gap 32; title Poppins Bold 32/36 centered, span #3F92A0;
 *  line 66x5 #3F92A0; cards row horizontal, gap 32, 4 x ~320 (fill)
 *  card: vertical, r12, padding 32/28, gap 16, shadow 15 13 35 rgba(0,0,0,.15)
 *    border: linear gradient #61D3DA → #3FBBCF → #1894B8 (1px; highlighted card 2px)
 *    highlighted card fill: white + #3F92A0 20% (= #D9E9EC)
 *  card title Poppins Bold 18 (27px line) #212529; text Poppins Regular 16 (28px line),
 *    paragraph spacing 12, #212529 */

.amic-section {
	--amic-title-color: #212529;
	--amic-hl-color: #3F92A0;
	--amic-line-color: #3F92A0;
	background-color: var(--amic-section-bg, #F9F9F9);
	padding: 80px 0;
	font-family: Poppins, sans-serif;
}

/* ---------- title ---------- */
.amic-section .amic-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-bottom: 32px;
	text-align: center;
}
.amic-section .amic-title {
	margin: 0;
	color: var(--amic-title-color);
	font-family: Poppins, sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 36px;
}
.amic-section .amic-title .amvb-hl {
	color: var(--amic-hl-color);
}
.amic-section .amic-line {
	display: block;
	width: 66px;
	height: 5px;
	background-color: var(--amic-line-color);
}

/* ---------- cards ---------- */
.amic-section .amic-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	align-items: stretch;
}
.amic-section .amic-count-1 .amic-card { grid-column: 1 / -1; }
.amic-section .amic-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amic-section .amic-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.amic-section .amic-card {
	--amic-border: linear-gradient(180deg, #61D3DA 0%, #3FBBCF 50%, #1894B8 100%);
	--amic-bw: 1px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px 28px;
	border-radius: 12px;
	background: var(--amic-card-bg, transparent);
	box-shadow: 15px 13px 35px rgba(0, 0, 0, .15);
	min-width: 0;
}
.amic-section .amic-card.amic-border-thick { --amic-bw: 2px; }

/* gradient (or solid) border that keeps the 12px radius */
.amic-section .amic-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: var(--amic-bw);
	background: var(--amic-border);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.amic-section .amic-card.amic-border-none::before { display: none; }

.amic-section .amic-card-title {
	margin: 0;
	color: #212529;
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
}
.amic-section .amic-text,
.amic-section .amic-text p,
.amic-section .amic-text li {
	color: #212529;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}
.amic-section .amic-text p {
	margin: 0 0 12px;
}
.amic-section .amic-text > :last-child {
	margin-bottom: 0;
}

/* ---------- laptop / tablet: 2 per row ---------- */
@media (max-width: 1199px) {
	.amic-section .amic-cards,
	.amic-section .amic-count-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ---------- mobile (Figma "Fit - mobile"): one column ---------- */
@media (max-width: 767px) {
	.amic-section {
		padding: 48px 0;
	}
	.amic-section .amic-title {
		font-size: 28px;
		line-height: 1.3;
	}
	.amic-section .amic-cards,
	.amic-section .amic-count-2,
	.amic-section .amic-count-3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	.amic-section .amic-card {
		padding: 28px 24px;
	}
}
