/* =========================================================
   INCOUNTRY DISTRIBUTION
   Homepage Brand Discovery V1
   ========================================================= */

.ic-home-brands,
.ic-home-brands * {
	box-sizing: border-box;
}


/* =========================================================
   SECTION
   ========================================================= */

.ic-home-brands {
	position: relative;
	overflow: hidden;
	padding: 106px 0 112px;
	background:
		radial-gradient(
			circle at 8% 15%,
			rgba(79, 124, 255, 0.06),
			transparent 22%
		),
		radial-gradient(
			circle at 92% 82%,
			rgba(255, 107, 44, 0.055),
			transparent 20%
		),
		#ffffff;
}


/* =========================================================
   HEADING
   ========================================================= */

.ic-brand-heading {
	display: grid;
	grid-template-columns:
		minmax(0, 1fr)
		auto;
	align-items: end;
	gap: 50px;
	margin-bottom: 44px;
}

.ic-brand-heading-copy {
	max-width: 790px;
}

.ic-brand-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	color: #686d75;
	font-size: 10px;
	font-weight: 760;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ic-brand-eyebrow > span {
	width: 32px;
	height: 2px;
	background:
		linear-gradient(
			90deg,
			var(--ic-blue),
			var(--ic-purple)
		);
	border-radius: 999px;
}

.ic-brand-title {
	max-width: 760px;
	margin: 0;
	color: #171a1f;
	font-size: clamp(38px, 4vw, 58px);
	font-weight: 790;
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.ic-brand-title span {
	display: block;
	margin-top: 4px;
	color: #696e76;
	font-weight: 590;
}

.ic-brand-description {
	max-width: 650px;
	margin: 19px 0 0;
	color: #777c84;
	font-size: 14px;
	font-weight: 470;
	line-height: 1.7;
}

.ic-brand-all-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 5px;
	color: #282c31;
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.ic-brand-all-link:hover {
	color: #171a1f;
}

.ic-brand-all-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 39px;
	height: 39px;
	color: #fff;
	background:
		linear-gradient(
			135deg,
			var(--ic-blue),
			var(--ic-purple)
		);
	border-radius: 12px;
	box-shadow:
		0 10px 24px rgba(79, 124, 255, 0.17);
	transition:
		transform var(--ic-transition),
		box-shadow var(--ic-transition);
}

.ic-brand-all-link:hover
.ic-brand-all-icon {
	transform: translateX(3px);
	box-shadow:
		0 14px 30px rgba(79, 124, 255, 0.23);
}


/* =========================================================
   ASYMMETRIC BRAND GRID
   ========================================================= */

.ic-brand-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px;
}

.ic-brand-card {
	--ic-brand-accent: var(--ic-blue);
	--ic-brand-glow: rgba(79, 124, 255, 0.13);

	position: relative;
	display: grid;
	grid-template-columns:
		minmax(0, 0.94fr)
		minmax(220px, 1.06fr);
	align-items: stretch;
	min-width: 0;
	min-height: 370px;
	overflow: hidden;
	color: #22262c;
	background:
		linear-gradient(
			145deg,
			#f8f9fa 0%,
			#ffffff 55%,
			#f2f4f6 100%
		);
	border: 1px solid #e7e9ec;
	border-radius: 28px;
	box-shadow:
		0 14px 40px rgba(17, 19, 24, 0.065);
	text-decoration: none;
	transition:
		transform 340ms var(--ic-ease),
		box-shadow 340ms var(--ic-ease),
		border-color 340ms var(--ic-ease);
}

.ic-brand-card:hover {
	color: #22262c;
	transform: translateY(-6px);
	border-color:
		color-mix(
			in srgb,
			var(--ic-brand-accent) 22%,
			#e7e9ec
		);
	box-shadow:
		0 27px 62px rgba(17, 19, 24, 0.115);
}

.ic-brand-apple,
.ic-brand-hisense {
	grid-column: span 7;
}

.ic-brand-samsung,
.ic-brand-logitech {
	grid-column: span 5;
}

.ic-brand-apple {
	--ic-brand-accent: #343941;
	--ic-brand-glow: rgba(52, 57, 65, 0.10);
}

.ic-brand-samsung {
	--ic-brand-accent: var(--ic-blue);
	--ic-brand-glow: rgba(79, 124, 255, 0.15);
}

.ic-brand-logitech {
	--ic-brand-accent: var(--ic-purple);
	--ic-brand-glow: rgba(108, 99, 255, 0.14);
}

.ic-brand-hisense {
	--ic-brand-accent: var(--ic-orange);
	--ic-brand-glow: rgba(255, 107, 44, 0.14);
}


/* =========================================================
   TYPOGRAPHIC WATERMARK
   ========================================================= */

.ic-brand-watermark {
	position: absolute;
	right: -15px;
	bottom: -28px;
	z-index: 1;
	max-width: 78%;
	overflow: hidden;
	color: var(--ic-brand-accent);
	font-size: clamp(80px, 8vw, 128px);
	font-weight: 850;
	line-height: 0.82;
	letter-spacing: -0.075em;
	opacity: 0.045;
	white-space: nowrap;
	pointer-events: none;
}


/* =========================================================
   COPY
   ========================================================= */

.ic-brand-card-copy {
	position: relative;
	z-index: 4;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
	padding: 38px 15px 38px 38px;
}

.ic-brand-card-eyebrow {
	margin-bottom: 12px;
	color: var(--ic-brand-accent);
	font-size: 8.5px;
	font-weight: 780;
	line-height: 1.2;
	letter-spacing: 0.085em;
	text-transform: uppercase;
}

.ic-brand-card-copy h3 {
	margin: 0;
	color: #1d2025;
	font-size: clamp(29px, 2.8vw, 44px);
	font-weight: 790;
	line-height: 1;
	letter-spacing: -0.045em;
}

.ic-brand-card-copy p {
	max-width: 390px;
	margin: 17px 0 0;
	color: #737881;
	font-size: 12px;
	font-weight: 470;
	line-height: 1.65;
}

.ic-brand-card-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 26px;
}

.ic-brand-discover {
	position: relative;
	color: #2c3036;
	font-size: 10.5px;
	font-weight: 760;
}

.ic-brand-discover::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -5px;
	left: 0;
	height: 2px;
	background: var(--ic-brand-accent);
	border-radius: 99px;
	transform: scaleX(0.42);
	transform-origin: left center;
	transition:
		transform 320ms var(--ic-ease);
}

.ic-brand-card:hover
.ic-brand-discover::after {
	transform: scaleX(1);
}

.ic-brand-count {
	display: flex;
	flex-direction: column;
	padding-left: 16px;
	color: #5f646c;
	border-left: 1px solid #dedfe2;
	font-size: 11px;
	font-weight: 780;
	line-height: 1;
}

.ic-brand-count small {
	margin-top: 4px;
	color: #a0a4aa;
	font-size: 7px;
	font-weight: 620;
}


/* =========================================================
   VISUAL
   ========================================================= */

.ic-brand-card-visual {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 25px 24px 25px 5px;
}

.ic-brand-card-image {
	position: relative;
	z-index: 4;
	display: block;
	width: 100%;
	max-width: 330px;
	height: 280px;
	object-fit: contain;
	filter:
		drop-shadow(
			0 25px 25px rgba(17, 19, 24, 0.11)
		);
	transition:
		transform 450ms var(--ic-ease);
}

.ic-brand-card:hover
.ic-brand-card-image {
	transform:
		translateY(-5px)
		scale(1.035);
}

.ic-brand-orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 265px;
	height: 265px;
	background:
		radial-gradient(
			circle,
			var(--ic-brand-glow) 0%,
			transparent 66%
		);
	border:
		1px solid
		color-mix(
			in srgb,
			var(--ic-brand-accent) 10%,
			transparent
		);
	border-radius: 50%;
	transform:
		translate(-50%, -50%)
		rotate(-8deg);
}

.ic-brand-orbit::before,
.ic-brand-orbit::after {
	content: "";
	position: absolute;
	border:
		1px solid
		color-mix(
			in srgb,
			var(--ic-brand-accent) 8%,
			transparent
		);
	border-radius: 50%;
}

.ic-brand-orbit::before {
	inset: 28px;
}

.ic-brand-orbit::after {
	inset: 59px;
}

.ic-brand-placeholder {
	position: relative;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 180px;
	color: var(--ic-brand-accent);
	background: rgba(255, 255, 255, 0.88);
	border:
		1px solid
		color-mix(
			in srgb,
			var(--ic-brand-accent) 14%,
			#e5e7ea
		);
	border-radius: 45px;
	box-shadow:
		0 20px 45px rgba(17, 19, 24, 0.07);
}

.ic-brand-placeholder span {
	font-size: 70px;
	font-weight: 850;
	line-height: 1;
}


/* =========================================================
   ARROW
   ========================================================= */

.ic-brand-arrow {
	position: absolute;
	top: 22px;
	right: 22px;
	z-index: 7;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 41px;
	height: 41px;
	color: var(--ic-brand-accent);
	background: rgba(255, 255, 255, 0.9);
	border:
		1px solid
		color-mix(
			in srgb,
			var(--ic-brand-accent) 17%,
			#e5e7ea
		);
	border-radius: 13px;
	box-shadow:
		0 7px 18px rgba(17, 19, 24, 0.055);
	transition:
		color var(--ic-transition),
		background-color var(--ic-transition),
		transform var(--ic-transition);
}

.ic-brand-card:hover
.ic-brand-arrow {
	color: #fff;
	background: var(--ic-brand-accent);
	transform: translateX(3px);
}


/* =========================================================
   SUPPORT BAR
   ========================================================= */

.ic-brand-support {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 20px;
	padding: 23px 27px;
	background:
		linear-gradient(
			135deg,
			#171a1f,
			#272c33
		);
	border-radius: 20px;
	box-shadow:
		0 15px 38px rgba(17, 19, 24, 0.12);
}

.ic-brand-support > div {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ic-brand-support-dot {
	width: 10px;
	height: 10px;
	flex: 0 0 10px;
	background:
		linear-gradient(
			135deg,
			var(--ic-orange),
			var(--ic-red)
		);
	border-radius: 50%;
	box-shadow:
		0 0 0 6px rgba(255, 107, 44, 0.09);
}

.ic-brand-support strong {
	display: block;
	color: #fff;
	font-size: 12px;
	font-weight: 760;
}

.ic-brand-support p {
	margin: 4px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
}

.ic-brand-support > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	color: #fff;
	font-size: 10.5px;
	font-weight: 740;
	text-decoration: none;
}

.ic-brand-support > a svg {
	color: var(--ic-orange);
	transition:
		transform var(--ic-transition);
}

.ic-brand-support > a:hover svg {
	transform: translateX(3px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

	.ic-home-brands {
		padding: 76px 0 84px;
	}

	.ic-brand-heading {
		grid-template-columns: 1fr;
		gap: 21px;
		margin-bottom: 34px;
	}

	.ic-brand-all-link {
		padding: 0;
	}

	.ic-brand-apple,
	.ic-brand-samsung,
	.ic-brand-logitech,
	.ic-brand-hisense {
		grid-column: span 6;
	}

	.ic-brand-card {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		min-height: 470px;
	}

	.ic-brand-card-copy {
		padding: 30px 30px 5px;
	}

	.ic-brand-card-visual {
		min-height: 265px;
		padding: 10px 25px 28px;
	}

	.ic-brand-card-image {
		max-width: 260px;
		height: 245px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.ic-home-brands {
		padding: 62px 0 70px;
	}

	.ic-home-brands .ic-container {
		width: 100%;
		max-width: 100%;
	}

	.ic-brand-heading {
		display: block;
		margin-bottom: 28px;
		padding: 0 16px;
	}

	.ic-brand-eyebrow {
		margin-bottom: 12px;
		font-size: 8px;
	}

	.ic-brand-eyebrow > span {
		width: 25px;
	}

	.ic-brand-title {
		max-width: 100%;
		font-size: clamp(31px, 9.5vw, 42px);
		line-height: 1.03;
	}

	.ic-brand-description {
		max-width: 100%;
		margin-top: 16px;
		font-size: 12.5px;
		line-height: 1.62;
	}

	.ic-brand-all-link {
		margin-top: 19px;
		font-size: 10.5px;
	}

	.ic-brand-all-icon {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}


	/* Swipeable brand rail */

	.ic-brand-grid {
		display: flex;
		gap: 12px;
		width: 100%;
		overflow-x: auto;
		overflow-y: visible;
		padding: 3px 16px 22px;
		scroll-padding-left: 16px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ic-brand-grid::-webkit-scrollbar {
		display: none;
	}

	.ic-brand-card {
		display: flex;
		flex-direction: column;
		width: min(82vw, 330px);
		min-width: min(82vw, 330px);
		max-width: 330px;
		min-height: 470px;
		flex: 0 0 auto;
		border-radius: 23px;
		scroll-snap-align: start;
	}

	.ic-brand-card:hover {
		transform: none;
	}

	.ic-brand-card-copy {
		min-height: 205px;
		padding: 27px 23px 3px;
	}

	.ic-brand-card-eyebrow {
		padding-right: 40px;
		font-size: 7.5px;
	}

	.ic-brand-card-copy h3 {
		font-size: 31px;
	}

	.ic-brand-card-copy p {
		margin-top: 13px;
		font-size: 11.5px;
	}

	.ic-brand-card-meta {
		margin-top: 19px;
	}

	.ic-brand-discover {
		font-size: 9.5px;
	}

	.ic-brand-card-visual {
		flex: 1 1 auto;
		min-height: 245px;
		padding: 6px 20px 25px;
	}

	.ic-brand-card-image {
		max-width: 245px;
		height: 225px;
	}

	.ic-brand-orbit {
		width: 225px;
		height: 225px;
	}

	.ic-brand-arrow {
		top: 17px;
		right: 17px;
		width: 36px;
		height: 36px;
		border-radius: 11px;
	}

	.ic-brand-watermark {
		right: -8px;
		bottom: -18px;
		font-size: 84px;
	}

	.ic-brand-support {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		margin: 0 16px;
		padding: 21px;
		border-radius: 18px;
	}

	.ic-brand-support > a {
		width: 100%;
		justify-content: space-between;
		padding-top: 15px;
		border-top:
			1px solid
			rgba(255, 255, 255, 0.08);
	}

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

	.ic-brand-title {
		font-size: clamp(29px, 9.3vw, 36px);
	}

	.ic-brand-card {
		width: 84vw;
		min-width: 84vw;
	}

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.ic-brand-all-icon,
	.ic-brand-card,
	.ic-brand-card-image,
	.ic-brand-arrow,
	.ic-brand-discover::after,
	.ic-brand-support > a svg {
		transition: none;
	}

}