/* ==========================================================================
   Workmed — home.css
   Voorpagina (front-page.php + template-parts/home/*).
   ========================================================================== */

.home-h2 {
	font-size: clamp(28px, 25.66px + .857vw, 38px);
	line-height: 1.15;
	font-weight: 500;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.home-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--c-line);
}

.home-hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	/* Foto begint 550px na de linkerrand van de container en loopt door tot de schermrand. */
	left: calc((100% - min(100%, var(--container))) / 2 + 550px);
	z-index: 1;
	border-radius: 300px 0 0 0;
	overflow: hidden;
	background: var(--c-photo);
}

.home-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-hero__inner {
	position: relative;
	z-index: 2;
}

.home-hero__content {
	max-width: 460px;
	padding-top: 82px;
}

.home-hero__title {
	font-size: clamp(38px, 32.8px + 1.333vw, 52px);
	line-height: 1.08;
	font-weight: 500;
	letter-spacing: -.02em;
	margin: 0 0 20px;
}

.home-hero__title strong {
	font-weight: 800;
	white-space: nowrap;
}

.home-hero__lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--c-body);
	max-width: 440px;
	margin: 0 0 34px;
}

.home-hero__actions {
	flex-wrap: nowrap;
	margin-bottom: 40px;
}

.home-hero__usps {
	flex-wrap: nowrap;
	white-space: nowrap;
	padding-bottom: 52px;
}

/* --------------------------------------------------------------------------
   Zorgpijlers
   -------------------------------------------------------------------------- */

.home-pillars {
	padding: 72px 0 84px;
}

.home-pillars__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.home-pillar {
	display: block;
	border: 1px solid var(--c-line);
	border-radius: 260px 260px var(--radius) var(--radius);
	padding: 40px 32px 34px;
	background: var(--c-white);
	color: var(--c-text);
	text-align: center;
	transition: background-color .2s, border-color .2s;
}

.home-pillar:hover {
	background: var(--c-sand-hover);
	border-color: var(--c-input);
	color: var(--c-text);
}

.home-pillar__media {
	height: 250px;
	margin: 0 auto 28px;
	border-radius: 150px 150px 8px 8px;
	overflow: hidden;
}

.home-pillar__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s var(--ease);
}

.home-pillar:hover .home-pillar__media img {
	transform: scale(1.03);
}

.home-pillar__title {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 400;
	margin: 0 0 10px;
}

.home-pillar__text {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--c-body);
	margin: 0 0 18px;
}

.home-pillar__link {
	font-size: 15px;
	white-space: normal;
}

/* --------------------------------------------------------------------------
   Productslider "Veel besteld"
   -------------------------------------------------------------------------- */

.home-products {
	--track-inset: calc((100% - min(100%, var(--container))) / 2 + var(--gutter));
	padding-bottom: 84px;
}

.home-products__head {
	margin-bottom: 30px;
}

.home-products__head .eyebrow {
	margin-bottom: 14px;
}

.home-products__arrows {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.home-products__track {
	list-style: none;
	margin: 0;
	padding: 0 var(--track-inset);
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--track-inset);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.home-products__track::-webkit-scrollbar {
	display: none;
}

.home-products__item {
	flex: 0 0 260px;
	scroll-snap-align: start;
}

.home-product {
	display: block;
	color: var(--c-text);
}

.home-product:hover {
	color: var(--c-text);
}

.home-product__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	padding: 39px;
	margin-bottom: 14px;
	border-radius: 130px 130px 8px 8px;
	overflow: hidden;
	background: linear-gradient(160deg, rgba(14, 53, 56, 0), rgba(14, 53, 56, .06)), var(--bg, var(--c-photo));
}

.home-product__media img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	mix-blend-mode: multiply;
	transition: transform .4s var(--ease);
}

.home-product:hover .home-product__media img {
	transform: scale(1.04);
}

.home-product__cat {
	display: block;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-muted-2);
	margin-bottom: 6px;
}

.home-product__name {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
}

.home-product:hover .home-product__name {
	color: var(--c-green);
}

.home-product-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 300px;
	padding: 28px;
	border-radius: 130px 130px 8px 8px;
	background: var(--c-sand);
	color: var(--c-text);
	text-align: center;
}

.home-product-more:hover {
	background: var(--c-sand-deep);
	color: var(--c-text);
}

.home-product-more__title {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.home-product-more .link-arrow {
	font-size: 15px;
}

.home-products__footer {
	margin-top: 34px;
}

/* --------------------------------------------------------------------------
   Waarom Workmed
   -------------------------------------------------------------------------- */

.home-why {
	background: var(--c-sand);
	padding: 84px 0;
}

.home-why__grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 64px;
	align-items: start;
}

.home-why__title {
	line-height: 1.12;
}

.home-why__text {
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-body);
	margin: 0;
}

.home-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
	background: var(--c-sand-line);
	border-radius: var(--radius);
	overflow: hidden;
}

.home-why__item {
	background: var(--c-sand);
	padding: 26px 26px 28px;
}

.home-why__item-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 8px;
}

.home-why__item-text {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--c-body-3);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Winkel Sloterweg
   -------------------------------------------------------------------------- */

.home-store {
	padding: 84px 0;
}

.home-store__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 56px;
	align-items: center;
}

.home-store__media {
	margin-left: calc(var(--gutter) * -1);
	margin-right: -24px;
}

.home-store__photo {
	height: 520px;
	border-radius: 300px 300px 0 8px;
}

.home-store__text {
	margin: 0 0 22px;
}

.home-store__notice {
	margin: 0 0 26px;
}

.home-store__facts {
	margin-bottom: 30px;
}

.home-store__facts strong {
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.home-reviews {
	background: var(--c-sand);
	padding: 76px 0;
}

.home-reviews__head {
	margin-bottom: 30px;
}

.home-reviews__head .eyebrow,
.home-faq__head .eyebrow {
	margin-bottom: 14px;
}

.home-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.home-review {
	margin: 0;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 30px 30px 26px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.home-review .stars {
	align-self: flex-start;
}

.home-review__quote {
	flex: 1;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.home-review__quote p {
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--c-ink);
	margin: 0;
	text-wrap: pretty;
}

.home-review__author {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.home-review__name {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
}

.home-review__role {
	font-size: 13.5px;
	color: var(--c-muted);
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Ons verhaal
   -------------------------------------------------------------------------- */

.home-story {
	padding: 84px 0;
}

.home-story__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
}

.home-story__team {
	display: flex;
	align-items: flex-end;
	gap: 12px;
}

.home-story__person {
	margin: 0;
}

.home-story__photo {
	width: 210px;
	height: 330px;
	border-radius: 105px 105px 8px 8px;
	overflow: hidden;
	background: var(--c-photo);
}

.home-story__photo--anja {
	background: #E9E0D6;
}

.home-story__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-story__name {
	font-size: 27px;
	margin-top: 12px;
	text-align: center;
}

.home-story__title {
	margin-bottom: 20px;
}

.home-story__content .text-body {
	margin: 0 0 16px;
}

.home-story__content .home-story__more {
	margin-bottom: 26px;
}

.home-story__link {
	font-size: 16px;
}

/* --------------------------------------------------------------------------
   Zorgprofessionals (donker)
   -------------------------------------------------------------------------- */

.home-pro {
	padding: 80px 0;
}

.home-pro__grid {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: 56px;
	align-items: start;
}

.home-pro__title {
	margin-bottom: 18px;
}

.home-pro__text {
	font-size: 17px;
	line-height: 1.65;
	margin: 0;
	opacity: .85;
}

.home-pro__card {
	background: rgba(255, 255, 255, .06);
	border-radius: 180px 180px var(--radius) var(--radius);
	padding: 44px 36px 36px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.home-pro__card-title {
	font-size: 26px;
	line-height: 1.2;
	font-weight: 600;
	text-align: center;
	margin: 0 0 6px;
}

.home-pro__card .btn {
	font-size: 15.5px;
	padding: 15px 26px;
	white-space: normal;
}

.home-pro__card .btn--salmon {
	padding: 16px 26px;
}

/* --------------------------------------------------------------------------
   FAQ link-tegels
   -------------------------------------------------------------------------- */

.home-faq {
	padding: 80px 0;
}

.home-faq__head {
	margin-bottom: 32px;
}

/* ==========================================================================
   Responsief
   ========================================================================== */

/* Tablet liggend */
@media (max-width: 1199px) {
	.home-pillar {
		padding: 34px 24px 30px;
	}
	.home-pillar__title {
		font-size: 26px;
	}
	.home-why__grid,
	.home-pro__grid {
		gap: 48px;
	}
	.home-story__grid {
		gap: 48px;
	}
	.home-story__photo {
		width: 190px;
		height: 300px;
	}
	.home-store__photo {
		height: 460px;
	}
}

/* Tablet staand */
@media (max-width: 1023px) {
	/* Hero: foto boven met fade, tekst eronder (zoals mobiel). */
	.home-hero__media {
		position: relative;
		left: auto;
		height: 400px;
		border-radius: 0;
	}
	.home-hero__media::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 140px;
		background: linear-gradient(rgba(255, 253, 251, 0), rgba(255, 253, 251, .8) 55%, var(--c-white));
	}
	.home-hero__content {
		max-width: 620px;
		margin-top: -64px;
		padding-top: 0;
	}
	.home-hero__lead {
		max-width: 520px;
	}
	.home-hero__usps {
		padding-bottom: 48px;
	}

	/* Pijlers: één kolom met horizontale kaart. */
	.home-pillars {
		padding: 56px 0 64px;
	}
	.home-pillars__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.home-pillar {
		display: grid;
		grid-template-columns: 240px 1fr;
		gap: 32px;
		align-items: center;
		padding: 20px 32px 20px 20px;
		border-radius: var(--radius);
		text-align: left;
	}
	.home-pillar__media {
		height: 260px;
		margin: 0;
		border-radius: 120px 120px 8px 8px;
	}

	.home-products {
		padding-bottom: 64px;
	}

	.home-why,
	.home-store,
	.home-story {
		padding: 64px 0;
	}
	.home-why__grid,
	.home-store__grid,
	.home-story__grid,
	.home-pro__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.home-why__intro {
		max-width: 640px;
	}

	.home-store__media {
		margin: 0;
	}
	.home-store__photo {
		height: 380px;
		border-radius: 260px 260px 8px 8px;
	}

	.home-reviews {
		padding: 64px 0;
	}
	.home-reviews__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.home-story__team {
		justify-content: center;
	}
	.home-story__photo {
		width: 210px;
		height: 330px;
	}

	.home-pro,
	.home-faq {
		padding: 64px 0;
	}
	.home-pro__card {
		max-width: 480px;
		width: 100%;
	}
}

/* Mobiel (ontwerp 390px) */
@media (max-width: 767px) {
	.home-h2 {
		font-size: 29px;
		line-height: 1.16;
	}

	/* Hero */
	.home-hero {
		border-bottom: 0;
	}
	.home-hero__media {
		height: 260px;
	}
	.home-hero__media::after {
		height: 120px;
	}
	.home-hero__content {
		margin-top: -56px;
	}
	.home-hero__title {
		font-size: 38px;
		line-height: 1.06;
		letter-spacing: -.015em;
		margin-bottom: 14px;
	}
	.home-hero__br {
		display: none;
	}
	.home-hero__lead {
		font-size: 16.5px;
		margin-bottom: 22px;
	}
	.home-hero__actions {
		flex-wrap: wrap;
		margin-bottom: 28px;
	}
	.home-hero__actions .btn--primary {
		padding: 16px 20px;
	}
	.home-hero__usps {
		display: none;
	}

	/* Pijlers */
	.home-pillars {
		padding: 0 0 36px;
	}
	.home-pillars__grid {
		gap: 14px;
	}
	.home-pillar {
		display: block;
		padding: 28px 22px 26px;
		border-radius: 180px 180px var(--radius-sm) var(--radius-sm);
		text-align: center;
	}
	.home-pillar__media {
		height: 240px;
		margin: 0 auto 20px;
		border-radius: 150px 150px 6px 6px;
	}
	.home-pillar__title {
		font-size: 25px;
		margin-bottom: 8px;
	}
	.home-pillar__text {
		font-size: 15px;
		line-height: 1.55;
		margin-bottom: 14px;
	}

	/* Producten */
	.home-products {
		padding: 36px 0;
	}
	.home-products__head {
		margin-bottom: 20px;
	}
	.home-products__head .eyebrow {
		margin-bottom: 12px;
	}
	.home-products__arrows {
		display: none;
	}
	.home-products__track {
		gap: 14px;
		padding-bottom: 4px;
	}
	.home-products__item {
		flex-basis: 190px;
	}
	.home-products__item--more {
		display: none;
	}
	.home-product__media {
		height: 220px;
		padding: 29px;
		border-radius: 95px 95px 8px 8px;
	}
	.home-product__name {
		font-size: 15.5px;
	}
	.home-products__footer {
		margin-top: 22px;
	}
	.home-products__footer .btn {
		display: flex;
		width: 100%;
		padding: 15px 20px;
		border-radius: 28px;
	}

	/* Waarom */
	.home-why {
		padding: 36px 0;
	}
	.home-why__grid {
		gap: 0;
	}
	.home-why__title {
		font-size: 30px;
		margin-bottom: 22px;
	}
	.home-why__text,
	.home-why__mark {
		display: none;
	}
	.home-why__list {
		grid-template-columns: 1fr;
		border-radius: var(--radius-sm);
	}
	.home-why__item {
		padding: 20px;
	}
	.home-why__item-title {
		font-size: 16px;
		margin-bottom: 5px;
	}
	.home-why__item-text {
		font-size: 14px;
	}

	/* Winkel */
	.home-store {
		padding: 36px 0;
	}
	.home-store__grid {
		gap: 22px;
	}
	.home-store__photo {
		height: 250px;
		padding: 14px;
		border-radius: 125px 125px 6px 6px;
	}
	.home-store__photo span {
		font-size: 10.5px;
	}
	.home-store__title {
		margin-bottom: 14px;
	}
	.home-store__text {
		margin-bottom: 18px;
	}
	.home-store__notice {
		display: flex;
		padding: 12px 16px;
		font-size: 14.5px;
		margin-bottom: 20px;
	}
	.home-store__facts {
		gap: 11px;
		font-size: 15px;
		margin-bottom: 22px;
	}

	/* Reviews */
	.home-reviews {
		padding: 36px 0;
	}
	.home-reviews__head {
		margin-bottom: 22px;
	}
	.home-reviews__all,
	.home-faq__all {
		display: none;
	}
	.home-reviews__grid {
		gap: 12px;
	}
	.home-review {
		border-radius: var(--radius-sm);
		padding: 22px 20px 20px;
		gap: 14px;
	}
	.home-review .stars svg {
		width: 18px;
	}
	.home-review__quote p {
		font-size: 15.5px;
	}
	.home-review__name {
		font-size: 14.5px;
	}
	.home-review__role {
		font-size: 13px;
	}

	/* Ons verhaal */
	.home-story {
		padding: 36px 0;
	}
	.home-story__grid {
		gap: 22px;
	}
	.home-story__team {
		justify-content: flex-start;
		gap: 10px;
	}
	.home-story__person--lead {
		flex: 1;
		min-width: 0;
	}
	.home-story__photo {
		width: 120px;
		height: 170px;
		border-radius: 60px 60px 5px 5px;
	}
	.home-story__person--lead .home-story__photo {
		width: 100%;
		height: 240px;
		border-radius: 120px 120px 6px 6px;
	}
	.home-story__name {
		font-size: 20px;
		margin-top: 10px;
	}
	.home-story__person--lead .home-story__name {
		font-size: 24px;
	}
	.home-story__title {
		margin-bottom: 14px;
	}
	.home-story__content .text-body {
		margin-bottom: 18px;
	}
	.home-story__content .home-story__more {
		display: none;
	}

	/* Zorgprofessionals */
	.home-pro {
		padding: 36px 0;
	}
	.home-pro__grid {
		gap: 20px;
	}
	.home-pro__title {
		margin-bottom: 14px;
	}
	.home-pro__text {
		font-size: 15.5px;
		line-height: 1.6;
	}
	.home-pro__card {
		max-width: none;
		background: none;
		border-radius: 0;
		padding: 0;
		gap: 10px;
	}
	.home-pro__card-title {
		font-size: 21px;
		line-height: 1.25;
		text-align: left;
		margin-bottom: 4px;
	}
	.home-pro__card .btn {
		padding: 14px 20px;
		border-radius: 28px;
	}
	.home-pro__card .btn--salmon {
		padding: 15px 20px;
	}

	/* FAQ */
	.home-faq {
		padding: 36px 0;
	}
	.home-faq__head {
		margin-bottom: 18px;
	}
	.home-faq .home-h2 {
		font-size: 28px;
	}
	.home-faq .is-desktop-only {
		display: none;
	}
}
