/* ==========================================================================
   Αρχική – templates/page-home.php
   Loaded only on the homepage (key `page-home`, see inc/enqueue.php).

    1. Hero bento
    2. Trust strip
    3. Joint panels (#isxio / #gonato)
    4. Technique band (#techniki)
    5. Self-check
    6. Doctor
    7. Journey
    8. Reviews
    9. Locations
   10. FAQ
   11. Appointment form
   ========================================================================== */


/* 1. Hero bento ----------------------------------------------------------
   12 columns, 3 rows. The H1 card takes the left half; the portrait, the
   Google rating, the CORI® tile and the «Πού πονάτε;» chips share the right
   half. The grid fills the first screen (minus the floating header) and caps
   its height, so on a tall monitor it does not stretch into a poster.
   ------------------------------------------------------------------------ */
.be_home-hero {
	padding-top: 22px;
	padding-bottom: 28px;
}

.be_bento {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 16px;
	min-height: min(calc(100vh - 140px), 860px);
	min-height: min(calc(100svh - 140px), 860px);
}

.be_bento > * {
	border-radius: var(--be-r-card-lg);
	min-width: 0;
}

/* --- H1 card --- */
.be_bento-main {
	position: relative;
	grid-column: 1 / 7;
	grid-row: 1 / 4;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
	padding: clamp(32px, 3.6vw, 64px);
	background: var(--be-petrol);
	overflow: hidden;
	isolation: isolate;
}

/* Warm glow + the monogram's bone motif as a faint oversized «S» stroke. */
.be_bento-main::before {
	content: "";
	position: absolute;
	inset: auto -20% -45% auto;
	width: 80%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(217, 168, 119, 0.28), rgba(217, 168, 119, 0) 68%);
	z-index: -1;
}

.be_bento-main::after {
	content: "MS";
	position: absolute;
	right: -0.04em;
	top: -0.18em;
	font-size: clamp(160px, 16vw, 300px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.05em;
	color: rgba(246, 239, 230, 0.05);
	z-index: -1;
	pointer-events: none;
}

.be_home-h1 {
	font-size: clamp(36px, 3.5vw, 60px);
	line-height: 1.06;
	letter-spacing: -0.025em;
	color: var(--be-on-dark);
	max-width: 15ch;
}

.be_home-h1 .be_accent {
	display: block;
	color: var(--be-copper);
}

.be_home-h1-after {
	display: block;
	margin-top: 14px;
	font-size: clamp(17px, 1.35vw, 21px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
	color: var(--be-on-dark-soft);
	max-width: 32ch;
}

.be_home-hero-lead {
	font-size: clamp(16px, 1.15vw, 18px);
	line-height: 1.65;
	max-width: 54ch;
}

.be_home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.be_home-hero-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--be-on-dark-mute);
}

.be_home-hero-meta svg {
	color: var(--be-copper);
	flex: none;
}

/* --- portrait --- */
.be_bento-photo {
	position: relative;
	grid-column: 7 / 10;
	grid-row: 1 / 3;
	margin: 0;
	overflow: hidden;
	background: var(--be-tint-2);
}

.be_bento-photo .be_img,
.be_bento-photo .be_ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
	aspect-ratio: auto;
	border-radius: 0;
}

.be_bento-caption {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--be-ink);
	font-size: 13px;
	line-height: 1.35;
}

.be_bento-caption strong {
	font-size: 15px;
}

.be_bento-caption span {
	color: var(--be-muted);
}

/* --- technique tiles: ASI (hip) on top, CORI® (knee) below --- */
.be_bento-tech {
	position: relative;
	grid-column: 10 / 13;
	grid-row: 2 / 3;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	padding: 20px 22px 22px;
	background: var(--be-mint);
	color: var(--be-ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.be_bento-tech--1 {
	grid-row: 1 / 2;
	background: var(--be-tint);
}

.be_bento-tech--1 .be_bento-tech-media {
	background: #eef1f2;
}

/* The implant sits in the right half of the ASI picture. */
.be_bento-tech--1 .be_bento-tech-media .be_img {
	object-position: 78% 45%;
}

/* The photo fills the top of the tile, the text sits below it. */
.be_bento-tech-media {
	position: relative;
	flex: 1 1 auto;
	min-height: 90px;
	margin: -10px -10px 8px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--be-tint-2);
}

.be_bento-tech-media .be_img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.be_bento-tech .be_eyebrow {
	color: var(--be-petrol);
	font-size: 11.5px;
}

.be_bento-tech-title {
	font-size: clamp(20px, 1.7vw, 26px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--be-petrol);
}

.be_bento-tech-text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--be-text);
}

.be_bento-go {
	position: absolute;
	top: 18px;
	right: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--be-petrol);
	color: var(--be-white);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
	transform: rotate(-45deg);
	transition: transform 0.2s ease;
}

.be_bento-tech:hover {
	transform: translateY(-3px);
	box-shadow: var(--be-shadow-card);
}

.be_bento-tech:hover .be_bento-go {
	transform: rotate(0);
}

/* --- «Πού πονάτε;» --- */
.be_bento-where {
	grid-column: 7 / 13;
	grid-row: 3 / 4;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	padding: 22px 24px;
	background: var(--be-white);
	border: 1px solid var(--be-line);
}

.be_bento-where-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--be-petrol);
}

/* Tablet: H1 card on its own row, the tiles below it. */
@media (max-width: 1240px) {
	.be_bento {
		grid-template-rows: auto;
		min-height: 0;
	}

	.be_bento-main {
		grid-column: 1 / 13;
		grid-row: auto;
	}

	.be_bento-photo {
		grid-column: 1 / 7;
		grid-row: span 2;
		min-height: 360px;
	}

		.be_bento-tech {
		grid-column: 7 / 13;
		grid-row: auto;
		min-height: 172px;
	}

	.be_bento-where {
		grid-column: 1 / 13;
		grid-row: auto;
	}

	.be_home-h1 {
		max-width: 18ch;
	}
}

@media (max-width: 600px) {
	.be_home-hero {
		padding-top: 14px;
	}

	.be_bento {
		gap: 10px;
	}

	.be_bento > * {
		border-radius: 22px;
	}

	.be_bento-main {
		gap: 20px;
		padding: 28px 22px;
	}

	.be_home-hero-actions .be_btn {
		width: 100%;
	}

	.be_bento-photo {
		min-height: 260px;
	}

		.be_bento-tech {
		min-height: 125px;
		padding: 16px;
	}

	.be_bento-tech-text {
		font-size: 12.5px;
	}

	.be_bento-go {
		top: 12px;
		right: 12px;
		width: 32px;
		height: 32px;
	}

	.be_bento-tech-title {
		font-size: 18px;
		padding-right: 30px;
	}

	.be_bento-caption {
		left: 8px;
		right: 8px;
		bottom: 8px;
		padding: 10px 12px;
	}

	.be_bento-where {
		padding: 18px;
	}
}


/* 2. Trust strip ----------------------------------------------------------- */
.be_home-trust {
	padding-top: 12px;
	padding-bottom: 12px;
}

.be_home-trust-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--be-line);
	border-bottom: 1px solid var(--be-line);
}

.be_home-trust-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 26px 22px;
}

.be_home-trust-list li + li {
	border-left: 1px solid var(--be-line);
}

.be_home-trust-icon {
	flex: none;
	color: var(--be-copper-ink);
	margin-top: 2px;
}

.be_home-trust-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	line-height: 1.4;
}

.be_home-trust-body strong {
	font-size: 16px;
	color: var(--be-petrol);
}

.be_home-trust-body span {
	font-size: 14px;
	color: var(--be-muted);
}

@media (max-width: 1100px) {
	.be_home-trust-list li + li {
		border-left: 0;
	}

	.be_home-trust-list li {
		border-bottom: 1px solid var(--be-line-3);
	}
}

@media (max-width: 600px) {
	.be_home-trust-list li {
		padding: 18px 4px;
	}
}


/* 3. Joint panels ----------------------------------------------------------
   Each joint has a giant outlined «ghost» word behind it (ΙΣΧΙΟ / ΓΟΝΑΤΟ) so
   a visitor scrolling fast still sees which joint they are reading about.
   ------------------------------------------------------------------------ */
.be_home-joints .be_stack {
	gap: clamp(56px, 6vw, 96px);
}

.be_joint {
	position: relative;
	scroll-margin-top: 110px;
}

.be_joint-ghost {
	position: absolute;
	top: -0.42em;
	left: 50%;
	transform: translateX(-50%);
	font-size: clamp(90px, 15vw, 260px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	/* A soft fill, not -webkit-text-stroke: on a variable font the stroke
	   also draws the overlapping contours inside each glyph. */
	color: rgba(181, 129, 79, 0.11);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

.be_joint-row {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	align-items: center;
	gap: clamp(32px, 4.5vw, 88px);
	padding-top: clamp(40px, 5vw, 96px);
}

.be_joint--flip .be_joint-media {
	order: 2;
}

.be_joint-media {
	position: relative;
	border-radius: var(--be-r-img);
	overflow: hidden;
	background: #0b1416;
	box-shadow: 0 30px 60px rgba(16, 38, 43, 0.22);
}

.be_joint-media .be_img,
.be_joint-media .be_ph {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
}

.be_joint-tag {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 8px 14px;
	border-radius: var(--be-r-pill);
	background: rgba(16, 42, 47, 0.78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--be-on-dark);
	font-size: 13px;
	font-weight: 600;
}

.be_joint-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.be_joint-title {
	color: var(--be-petrol);
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1.15;
	max-width: 22ch;
}

.be_joint-text {
	font-size: 17px;
	line-height: 1.75;
	color: var(--be-text);
	max-width: 62ch;
}

.be_joint-lists {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 18px 32px;
	padding: 22px 0 4px;
	border-top: 1px solid var(--be-line);
}

.be_joint-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.be_joint-list-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--be-copper-ink);
}

.be_joint-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.be_joint-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--be-line-2);
	font-size: 15.5px;
	font-weight: 600;
	color: var(--be-ink);
}

.be_joint-item svg {
	flex: none;
	color: var(--be-copper-ink);
	transition: transform 0.15s ease;
}

.be_joint-item--link:hover {
	color: var(--be-copper-ink);
}

.be_joint-item--link:hover svg {
	transform: translateX(3px);
}

.be_joint-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	padding-top: 6px;
}

.be_home-more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 18px;
	padding: 22px 26px;
	border-radius: var(--be-r-card);
	background: var(--be-strip);
	border: 1px solid var(--be-line);
}

.be_home-more-title {
	font-weight: 700;
	color: var(--be-petrol);
}

@media (max-width: 960px) {
	.be_joint-row {
		grid-template-columns: 1fr;
	}

	.be_joint--flip .be_joint-media {
		order: 0;
	}
}

@media (max-width: 600px) {
	.be_joint-ghost {
		top: -0.3em;
	}

	.be_joint-actions .be_btn {
		width: 100%;
	}
}


/* 4. Technique band ------------------------------------------------------- */
.be_home-tech {
	--be-inset: clamp(0px, 1.2vw, 24px);
	background: var(--be-petrol);
	margin: 0 var(--be-inset);
	/* The band is inset, its content is not: same left edge as every section. */
	padding-left: calc(var(--be-pad-x) - var(--be-inset));
	padding-right: calc(var(--be-pad-x) - var(--be-inset));
	border-radius: var(--be-r-panel-lg);
	scroll-margin-top: 100px;
}

.be_home-tech .be_shead {
	align-items: flex-end;
}

.be_home-tech .be_shead-text {
	max-width: 620px;
}

.be_home-tech-lead {
	max-width: 52ch;
}

.be_home-tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	gap: 24px;
}

.be_techcard {
	display: flex;
	flex-direction: column;
	border-radius: var(--be-r-card-lg);
	background: var(--be-panel);
	border: 1px solid var(--be-on-dark-line);
	overflow: hidden;
}

.be_techcard-media {
	position: relative;
	background: #0b1416;
}

.be_techcard-media .be_img,
.be_techcard-media .be_ph {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0;
}

.be_techcard-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 14px;
	border-radius: var(--be-r-pill);
	background: var(--be-copper);
	color: var(--be-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.be_techcard-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(24px, 2.6vw, 40px);
	flex: 1;
}

.be_techcard-title {
	font-size: clamp(24px, 2vw, 30px);
	color: var(--be-on-dark);
}

.be_techcard-text {
	line-height: 1.7;
	color: var(--be-on-dark-soft);
}

.be_techcard-points {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: be-tp;
}

.be_techcard-points li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 48px;
	counter-increment: be-tp;
	line-height: 1.55;
}

.be_techcard-points li::before {
	content: "0" counter(be-tp);
	position: absolute;
	left: 0;
	top: 1px;
	font-size: 14px;
	font-weight: 700;
	color: var(--be-copper);
}

.be_techcard-points strong {
	color: var(--be-on-dark);
}

.be_techcard-points span {
	font-size: 15px;
	color: var(--be-on-dark-mute);
}

.be_home-tech-note {
	max-width: 90ch;
}

@media (max-width: 860px) {
	.be_home-tech {
		margin: 0;
		border-radius: 28px;
	}
}


/* 5. Self-check ------------------------------------------------------------ */
.be_check-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 4vw, 72px);
	align-items: start;
	padding: clamp(28px, 4vw, 64px);
	border-radius: var(--be-r-panel-lg);
	background: var(--be-band);
}

.be_check-intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 120px;
}

.be_check-box {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(18px, 2vw, 28px);
	border-radius: var(--be-r-card-lg);
	background: var(--be-white);
	box-shadow: var(--be-shadow-card);
}

.be_check-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Quiz */
.be_quiz-points {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.be_quiz-points li {
	display: flex;
	gap: 10px;
	line-height: 1.5;
	color: var(--be-text);
}

.be_quiz-points svg {
	flex: none;
	margin-top: 3px;
	color: var(--be-copper-ink);
}

.be_quiz {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 380px;
	padding: clamp(20px, 2.4vw, 36px);
	border-radius: var(--be-r-card-lg);
	background: var(--be-white);
	box-shadow: var(--be-shadow-card);
}

.be_quiz-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.be_quiz-head[hidden] {
	display: none;
}

.be_quiz-count {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--be-muted);
}

.be_quiz-count b {
	color: var(--be-petrol);
}

.be_quiz-bar {
	display: block;
	height: 6px;
	border-radius: 6px;
	background: var(--be-tint);
	overflow: hidden;
}

.be_quiz-bar > span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 6px;
	background: var(--be-copper);
	transition: width 0.3s ease;
}

.be_quiz-step {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

/* Without JavaScript every question stays visible, one under the other. */
.be_quiz:not(.be_quiz--on) .be_quiz-step + .be_quiz-step {
	padding-top: 18px;
	border-top: 1px solid var(--be-line-3);
}

.be_quiz-step[hidden] {
	display: none;
}

.be_quiz-q {
	float: left;
	width: 100%;
	padding: 0;
	font-size: clamp(20px, 1.6vw, 24px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--be-petrol);
	outline: none;
}

.be_quiz-q + * {
	clear: both;
}

.be_quiz-answers {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.be_quiz-answers--2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	gap: 10px;
}

.be_quiz-answer {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 12px 18px 12px 48px;
	border-radius: 14px;
	border: 1.5px solid var(--be-line);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.be_quiz-answers--2 .be_quiz-answer {
	min-height: 64px;
	font-weight: 700;
	font-size: 17px;
}

/* The first step is the joint: two large cards rather than two thin rows. */
[data-kind="joint"] .be_quiz-answer {
	min-height: 150px;
	align-items: flex-end;
	padding: 20px 22px;
	font-size: 22px;
	background: var(--be-strip);
}

[data-kind="joint"] .be_quiz-answer::before {
	left: auto;
	right: 20px;
	top: 20px;
	margin-top: 0;
}

.be_quiz-answer::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border-radius: 50%;
	border: 1.5px solid var(--be-line-2);
	background: var(--be-white);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.be_quiz-answer input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.be_quiz-answer:hover {
	border-color: var(--be-copper);
	background: var(--be-strip);
}

.be_quiz-answer:has(input:checked) {
	border-color: var(--be-petrol);
	background: var(--be-strip);
}

.be_quiz-answer:has(input:checked)::before {
	border-color: var(--be-petrol);
	box-shadow: inset 0 0 0 5px var(--be-petrol);
}

.be_quiz-answer:has(input:focus-visible) {
	outline: 3px solid var(--be-copper-ink);
	outline-offset: 2px;
}

.be_quiz-flags {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 14px 16px;
	list-style: none;
	border-radius: 14px;
	background: var(--be-warn-bg);
	font-size: 15px;
	line-height: 1.45;
}

.be_quiz-flags li {
	display: flex;
	gap: 10px;
}

.be_quiz-flags svg {
	flex: none;
	margin-top: 1px;
	color: var(--be-warn);
}

.be_quiz-nav {
	display: flex;
	margin-top: auto;
}

.be_quiz:not(.be_quiz--on) .be_quiz-nav {
	display: none;
}

.be_quiz-back,
.be_quiz-restart {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--be-muted);
	cursor: pointer;
}

.be_quiz-back svg {
	transform: rotate(180deg);
}

.be_quiz-back:hover,
.be_quiz-restart:hover {
	color: var(--be-petrol);
}

.be_quiz-back[hidden],
.be_quiz-result[hidden] {
	display: none;
}

.be_quiz-result {
	display: flex;
	flex-direction: column;
	gap: 14px;
	outline: none;
}

.be_quiz-level {
	align-self: flex-start;
	padding: 6px 14px;
	border-radius: var(--be-r-pill);
	background: var(--be-mint);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--be-petrol);
}

.be_quiz-result[data-band="1"] .be_quiz-level {
	background: var(--be-tint-2);
}

.be_quiz-result[data-band="2"] .be_quiz-level {
	background: var(--be-clay);
	color: var(--be-warn);
}

.be_quiz-meter {
	display: block;
	height: 10px;
	border-radius: 10px;
	background: var(--be-tint);
	overflow: hidden;
}

.be_quiz-meter > span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 10px;
	background: linear-gradient(90deg, #8fb9ad, var(--be-copper) 60%, #c9673f);
	transition: width 0.6s ease;
}

.be_quiz-title {
	font-size: clamp(22px, 1.8vw, 28px);
	color: var(--be-petrol);
}

.be_quiz-text {
	line-height: 1.7;
	color: var(--be-text);
}

.be_quiz-notes {
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--be-tint);
	font-size: 15px;
	line-height: 1.5;
	color: var(--be-ink);
}

.be_quiz-urgent {
	display: flex;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--be-warn-bg);
	font-weight: 600;
	line-height: 1.5;
	color: var(--be-warn);
}

.be_quiz-urgent[hidden],
.be_quiz-notes[hidden],
.be_quiz-text[hidden],
.be_quiz-meter[hidden] {
	display: none;
}

.be_quiz-result[data-band="urgent"] .be_quiz-level {
	background: var(--be-warn);
	color: var(--be-white);
}

.be_quiz-urgent svg {
	flex: none;
	margin-top: 2px;
}

.be_quiz-restart {
	align-self: flex-start;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 960px) {
	.be_check-panel {
		grid-template-columns: 1fr;
	}

	.be_check-intro {
		position: static;
	}
}

@media (max-width: 600px) {
	.be_check-panel {
		padding: 26px 16px;
		border-radius: 28px;
	}

	.be_check-actions .be_btn {
		flex: 1 1 100%;
	}

	.be_quiz {
		min-height: 0;
		padding: 20px 16px;
	}
}


/* 6. Doctor ---------------------------------------------------------------- */
.be_home-doctor-grid {
	display: grid;
	grid-template-columns: minmax(0, min(40%, 560px)) minmax(0, 1fr);
	gap: clamp(40px, 5vw, 100px);
	align-items: center;
}

.be_home-doctor-media {
	position: relative;
	max-width: 560px;
}

/* An offset copper frame behind the portrait. */
.be_home-doctor-media::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 2px solid var(--be-copper);
	border-radius: var(--be-r-img);
}

.be_home-doctor-media .be_img,
.be_home-doctor-media .be_ph {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	border-radius: var(--be-r-img);
}

.be_home-doctor-text {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.be_home-doctor-prose {
	font-size: 17px;
}

.be_home-doctor-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
}

@media (max-width: 960px) {
	.be_home-doctor-grid {
		grid-template-columns: 1fr;
	}

	.be_home-doctor-media {
		max-width: 420px;
		margin-right: 22px;
	}
}

@media (max-width: 600px) {
	.be_home-doctor-media {
		max-width: 280px;
	}

	.be_home-doctor-media .be_img,
	.be_home-doctor-media .be_ph {
		aspect-ratio: 1;
	}

	.be_home-doctor-actions .be_btn {
		width: 100%;
	}
}


/* 7. Journey --------------------------------------------------------------- */
.be_home-process {
	background: var(--be-strip);
	border-top: 1px solid var(--be-line);
	border-bottom: 1px solid var(--be-line);
}


/* 8. Reviews --------------------------------------------------------------- */
.be_home-reviews-widget {
	min-width: 0;
	min-height: 260px;
}


/* 9. Locations ------------------------------------------------------------- */
.be_home-places-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 20px;
	align-items: stretch;
}

.be_home-places-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.be_home-places-grid .be_map,
.be_home-places-grid .be_ph--map {
	height: 100%;
	min-height: 420px;
	aspect-ratio: auto;
	border-radius: var(--be-r-card-lg);
}

@media (max-width: 960px) {
	.be_home-places-grid {
		grid-template-columns: 1fr;
	}

	.be_home-places-grid .be_map,
	.be_home-places-grid .be_ph--map {
		min-height: 320px;
	}
}


/* 10. FAQ ------------------------------------------------------------------ */
/* 11. Appointment form ------------------------------------------------------ */
.be_home-contact {
	padding-bottom: clamp(56px, 6vw, 104px);
	scroll-margin-top: 90px;
}

.be_home-contact-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 4vw, 80px);
	align-items: center;
	padding: clamp(28px, 4.5vw, 72px);
	border-radius: var(--be-r-panel-lg);
	background:
		radial-gradient(circle at 0% 100%, rgba(217, 168, 119, 0.2), rgba(217, 168, 119, 0) 45%),
		var(--be-petrol);
}

.be_home-contact-text {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.be_home-contact-phone {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	width: fit-content;
	font-size: clamp(28px, 2.6vw, 40px);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--be-on-dark);
	transition: color 0.15s ease;
}

.be_home-contact-phone small {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--be-on-dark-mute);
}

.be_home-contact-phone:hover {
	color: var(--be-copper);
}

.be_home-contact-phone-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--be-copper);
	color: var(--be-ink);
	flex: none;
}

.be_home-contact-points {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 18px 0 0;
	list-style: none;
	border-top: 1px solid var(--be-on-dark-line);
	font-size: 15px;
	line-height: 1.5;
	color: var(--be-on-dark-soft);
}

.be_home-contact-points li {
	display: flex;
	gap: 10px;
}

.be_home-contact-points svg {
	flex: none;
	margin-top: 2px;
	color: var(--be-copper);
}

.be_home-contact-points strong {
	color: var(--be-on-dark);
}

.be_home-contact-form {
	background: var(--be-white);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.be_home-form-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--be-petrol);
}

@media (max-width: 960px) {
	.be_home-contact-panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.be_home-contact {
		padding-left: 10px;
		padding-right: 10px;
	}

	.be_home-contact-panel {
		padding: 30px 18px 18px;
		border-radius: 28px;
	}

	.be_home-contact-form {
		padding: 22px 16px;
	}
}

/* --- Άρθρα: the three newest posts ------------------------------------- */
.be_home-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 1040px) {
	.be_home-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Two columns: the third card would sit alone, so it is left out. */
	.be_home-posts-grid > :nth-child(3) {
		display: none;
	}
}

@media (max-width: 640px) {
	.be_home-posts-grid {
		grid-template-columns: 1fr;
	}

	.be_home-posts-grid > :nth-child(3) {
		display: flex;
	}
}
