/* LP Hero Section (Figma 3165:4626 desktop / 3180:1839 mobile). */


.lp-hero-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #ebedf6;
	box-sizing: border-box;
}

.lp-hero-section *,
.lp-hero-section *::before,
.lp-hero-section *::after {
	box-sizing: border-box;
}

/* One <picture>: featured image below 1280px (band), desktop field from 1280px (background). */

.lp-hero-section__media {
	background-color: #d3d4e2;
}

.lp-hero-section__media-inner {
	width: 100%;
	margin: 0 auto;
	aspect-ratio: 375 / 250;
}

.lp-hero-section__media-inner picture,
.lp-hero-section__media-inner img {
	display: block;
	width: 100%;
	height: 100%;
}

.lp-hero-section__media-inner img {
	object-fit: contain;
}

/* Only a desktop image set: nothing to show below 1280px. */
.lp-hero-section.no-mobile-image .lp-hero-section__media {
	display: none;
}

/* Content */

.lp-hero-section__content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 24px 20px 40px;
}

.lp-hero-section__main,
.lp-hero-section__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.lp-hero-section__intro {
	gap: 16px;
}

.lp-hero-section__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
}

.lp-hero-section .lp-hero-section__title {
	margin: 0;
	color: #000;
	font-family: "GT Super Ds Trial", Georgia, serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 48px;
	letter-spacing: 0;
	text-transform: capitalize;
}

.lp-hero-section .lp-hero-section__description {
	margin: 0;
	color: #505050;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* Checklist */

.lp-hero-section__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-hero-section__item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	color: #000;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.lp-hero-section__check {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.lp-hero-section__check img {
	display: block;
	width: 16.615px;
	height: 16.615px;
}

.lp-hero-section__item-text strong,
.lp-hero-section__item-text b {
	font-weight: 700;
}

/* Buttons */

.lp-hero-section__buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lp-hero-section__btn,
.lp-hero-section__btn:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border-radius: 200px;
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	text-transform: capitalize;
	transition: background 0.2s ease, filter 0.2s ease;
}

.lp-hero-section__btn--primary,
.lp-hero-section__btn--primary:visited {
	padding: 20px 24px;
	background: #283a85;
}

.lp-hero-section__btn--primary:hover,
.lp-hero-section__btn--primary:focus-visible {
	background: #930f22;
	color: #fff;
}

.lp-hero-section__btn--whatsapp,
.lp-hero-section__btn--whatsapp:visited {
	padding: 18px 24px;
	background: linear-gradient(to top, #178f2b 0%, #22af57 134.38%);
}

.lp-hero-section__btn--whatsapp:hover,
.lp-hero-section__btn--whatsapp:focus-visible {
	color: #fff;
	filter: brightness(0.88);
}

.lp-hero-section__btn--whatsapp img {
	display: block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

/* Tablet: 768–1279px (stacked, desktop fonts). */
@media (min-width: 768px) {
	.lp-hero-section__media-inner {
		width: 600px;
		max-width: 100%;
	}

	.lp-hero-section__content {
		gap: 40px;
		padding: 40px;
	}

	.lp-hero-section__main {
		gap: 24px;
	}

	.lp-hero-section__intro {
		gap: 20px;
	}

	.lp-hero-section__text {
		gap: 16px;
		text-align: left;
	}

	.lp-hero-section .lp-hero-section__title {
		font-size: 50px;
		line-height: 60px;
	}

	.lp-hero-section .lp-hero-section__description,
	.lp-hero-section__item {
		font-size: 18px;
		line-height: 26px;
	}

	.lp-hero-section__check {
		width: 26px;
		height: 26px;
	}

	.lp-hero-section__check img {
		width: 18px;
		height: 18px;
	}

	.lp-hero-section__buttons {
		flex-direction: row;
		align-items: stretch;
		gap: 6px;
	}

	.lp-hero-section__btn,
	.lp-hero-section__btn:visited {
		width: auto;
		white-space: nowrap;
	}

	.lp-hero-section__btn--whatsapp,
	.lp-hero-section__btn--whatsapp:visited {
		width: 335px;
	}
}

/* Desktop: 1280px and up (Figma frame 1440 × 730). */
@media (min-width: 1280px) {
	.lp-hero-section {
		display: flex;
		align-items: center;
		min-height: 730px;
	}

	/* Photo stays 1440 × 730 anchored bottom-right; the left side continues in the section colour. */
	.lp-hero-section.has-desktop-image .lp-hero-section__media {
		position: absolute;
		right: 0;
		bottom: 0;
		display: block;
		height: 730px;
		aspect-ratio: 1440 / 730;
		background: none;
	}

	.lp-hero-section.has-desktop-image .lp-hero-section__media-inner {
		position: relative;
		width: 100%;
		max-width: none;
		height: 100%;
		aspect-ratio: auto;
	}

	.lp-hero-section.has-desktop-image .lp-hero-section__media-inner img {
		object-fit: cover;
	}

	/* When the content is taller than 730px, continue the photo's top edge colours upward (no seam). */
	.lp-hero-section.has-desktop-image .lp-hero-section__media::before {
		content: "";
		position: absolute;
		bottom: calc(100% - 2px);
		left: 0;
		width: 100%;
		height: 2000px;
		background: linear-gradient(to right, #ebedf6 0%, #ebedf6 35%, #e8e9f3 45%, #e5e8f1 50%, #e5e7f1 55%, #e5e5f0 60%, #e4e5ef 65%, #e3e5ee 70%, #e2e4ee 75%, #e3e4ef 80%, #e4e5ef 85%, #e4e5ef 90%, #e3e4ef 95%, #e3e4ef 100%);
	}

	/* Text column keeps clear of the doctor (who starts ~623px from the image's right edge). */
	.lp-hero-section__content {
		box-sizing: content-box;
		width: min(654px, calc(91.6667% - 643px));
		padding: 80px 0 80px 8.3333%;
	}
}

/* 1280–1439px: the text column is narrower than both buttons side by side, so they wrap. */
@media (min-width: 1280px) and (max-width: 1439px) {
	.lp-hero-section__buttons {
		flex-wrap: wrap;
	}
}

/* Below 1440 on tablet the column can also be narrower than both buttons. */
@media (min-width: 768px) and (max-width: 1279px) {
	.lp-hero-section__buttons {
		flex-wrap: wrap;
	}
}
