/* ==========================================================================
   Homepage – templates/page-home.php
   Section rhythm and the few component variants that only the homepage uses.
   Values from reference/Main.html.
   ========================================================================== */

/* --- section rhythm ------------------------------------------------------- */
.be_home-hero {
	padding-top: 72px;
	padding-bottom: 64px;
}

.be_home-trust {
	padding-top: 36px;
	padding-bottom: 36px;
}

.be_home-conditions {
	padding-top: 104px;
	padding-bottom: 96px;
}

.be_home-tech,
.be_home-doctor,
.be_home-practices,
.be_home-reviews,
.be_home-contact {
	padding-top: 104px;
	padding-bottom: 104px;
}

.be_home-process {
	padding-top: 96px;
	padding-bottom: 96px;
}

.be_home-blog {
	padding-top: 104px;
	padding-bottom: 24px;
}

.be_home-second {
	padding-top: 96px;
	padding-bottom: 40px;
}

.be_home-faq {
	padding-top: 96px;
	padding-bottom: 104px;
}


/* --- hero ---------------------------------------------------------------- */
.be_home-hero-text {
	flex: 1 1 540px;
	min-width: 0;
	/* Past ~900px the lead stops being one comfortable column of reading. */
	max-width: 900px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.be_home-h1 {
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.04;
}

.be_home-h1-main {
	display: block;
	font-size: clamp(42px, 6vw, 76px);
}

.be_home-h1-sub {
	display: block;
	margin-top: 18px;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 400;
	letter-spacing: -0.005em;
	color: var(--be-muted);
}

.be_home-hero-lead {
	max-width: 560px;
}

.be_home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

/* Portrait photo: 4/5, so its width is capped — 560px wide is already 700px
   tall, the tallest the design ever shows it. */
.be_home-hero-media {
	flex: 1 1 400px;
	min-width: 0;
	max-width: 720px;
	position: relative;
}

.be_home-hero-img,
.be_home-hero-media .be_ph {
	border-radius: var(--be-r-panel);
}

.be_home-badge {
	position: absolute;
	left: -24px;
	bottom: 56px;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 300px;
	background: var(--be-white);
	border-radius: 20px;
	padding: 18px 22px;
	box-shadow: var(--be-shadow-float);
}

.be_home-badge-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--be-tint-2);
	color: var(--be-blue);
}

.be_home-badge-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.be_home-badge-text strong {
	font-size: var(--be-small);
}

.be_home-badge-text span {
	font-size: 13px;
	color: var(--be-muted);
}


/* --- trust strip --------------------------------------------------------- */
.be_home-trust-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.be_home-trust-title {
	font-family: var(--be-font-head);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.be_home-trust-text {
	font-size: 14px;
	color: var(--be-muted);
}


/* --- laparoscopic / robotic band ----------------------------------------- */
.be_home-tech .be_stack {
	gap: 56px;
}

.be_home-tech .be_shead-text {
	max-width: 760px;
}

.be_home-tech-card {
	gap: 22px;
	padding: 40px;
}

.be_home-tech-title {
	font-size: 34px;
	line-height: 1.1;
}

.be_home-tech-text {
	color: var(--be-on-dark-soft);
}

.be_home-tech-card.be_light .be_home-tech-text {
	color: var(--be-text);
}

.be_home-tech-note {
	max-width: 760px;
}


/* --- the doctor ---------------------------------------------------------- */
.be_home-doctor-media {
	flex: 1 1 380px;
	min-width: 0;
	max-width: 660px;
}

.be_home-doctor-img,
.be_home-doctor-media .be_ph {
	border-radius: var(--be-r-panel);
}

.be_home-doctor-text {
	flex: 1 1 520px;
	min-width: 0;
	max-width: 820px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.be_home-doctor-text .be_iconlist {
	gap: 14px;
}

.be_home-doctor-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-top: 8px;
}


/* --- how we work --------------------------------------------------------- */
.be_home-process .be_shead-text {
	max-width: 680px;
}

.be_home-process-title {
	font-size: clamp(32px, 3.6vw, 46px);
}


/* --- practices ----------------------------------------------------------- */
.be_home-practices .be_shead-text {
	max-width: 680px;
}

.be_home-practice-eyebrow {
	font-size: 12px;
}

.be_home-practice-title {
	font-size: var(--be-h4);
	font-weight: 700;
	line-height: 1.3;
}

.be_home-practice-address {
	font-style: normal;
	color: var(--be-muted);
}

.be_home-practice-phone {
	margin-top: auto;
	padding-top: 8px;
	font-weight: 700;
}


/* --- reviews ------------------------------------------------------------- */
.be_home-reviews .be_shead-text {
	max-width: 680px;
}


/* --- blog ---------------------------------------------------------------- */
.be_postcard {
	display: flex;
	flex-direction: column;
	background: var(--be-white);
	border: 1px solid var(--be-line);
	border-radius: var(--be-r-card-lg);
	overflow: hidden;
}

.be_postcard-media .be_img,
.be_postcard-media .be_ph {
	border-radius: 0;
}

.be_postcard-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
}

.be_postcard-excerpt {
	font-size: 16px;
}

.be_postcard-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: auto;
	font-weight: 700;
}


/* --- second opinion ------------------------------------------------------ */
.be_home-second-title {
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.12;
}


/* --- FAQ ----------------------------------------------------------------- */
.be_home-faq-intro {
	flex: 1 1 300px;
	min-width: 0;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.be_home-faq-list {
	flex: 2 1 520px;
	min-width: 0;
}


/* --- contact ------------------------------------------------------------- */
.be_home-contact-text {
	flex: 1 1 420px;
	min-width: 0;
	max-width: 760px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.be_home-contact-text .be_lead {
	max-width: 480px;
}

.be_home-contact-phones {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.be_home-contact-phone {
	font-family: var(--be-font-head);
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.be_home-contact-phone--alt {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 400;
	color: var(--be-on-dark-soft);
}

.be_home-contact-form {
	flex: 1 1 460px;
	min-width: 0;
}


/* --- responsive ---------------------------------------------------------- */
@media (max-width: 1040px) {
	.be_home-conditions,
	.be_home-tech,
	.be_home-doctor,
	.be_home-practices,
	.be_home-reviews,
	.be_home-contact,
	.be_home-process,
	.be_home-faq {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.be_home-blog {
		padding-top: 80px;
	}

	.be_home-tech .be_stack {
		gap: 40px;
	}
}

@media (max-width: 860px) {
	.be_home-hero {
		padding-top: 40px;
		padding-bottom: 48px;
	}

	.be_home-conditions,
	.be_home-tech,
	.be_home-doctor,
	.be_home-practices,
	.be_home-reviews,
	.be_home-contact,
	.be_home-process,
	.be_home-faq {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.be_home-blog {
		padding-top: 56px;
	}

	.be_home-second {
		padding-top: 56px;
		padding-bottom: 24px;
	}

	/* Large panels tighten up on phones. */
	.be_home-tech-card,
	.be_home-contact-form {
		padding: 28px 22px;
	}

	.be_home-tech-title {
		font-size: 26px;
	}

	.be_home-badge {
		left: 12px;
		bottom: 14px;
		padding: 14px 16px;
	}

	.be_home-hero-img,
	.be_home-hero-media .be_ph,
	.be_home-doctor-img,
	.be_home-doctor-media .be_ph {
		border-radius: var(--be-r-card);
	}
}

/* The four practice cards pick which one the single map below shows: four
   iframes on one page would be four third-party requests for one answer. */
.be_home-practice-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	padding-top: 12px;
}
