/* ==========================================================================
   Homepage – templates/page-home.php (design/01-homepage.dc.html)
   ========================================================================== */

/* Hero ------------------------------------------------------------------------ */
.be_home-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
	padding-top: calc(var(--be-header-h) + 64px);
}

.be_home-hero-text {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.be_home-hero-text .be_lead--hero {
	max-width: 560px;
}

.be_home-hero-text .be_facts {
	gap: 12px 28px;
	padding-top: 24px;
}

.be_home-hero-media {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	gap: 16px;
}

.be_home-hero-img {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	height: clamp(460px, 30vw, 680px); /* full-width rows: taller photos on wide screens */
	object-fit: cover;
	object-position: center 20%;
	border-radius: var(--be-radius);
	display: block;
}

.be_home-hero-img + .be_home-hero-img {
	margin-top: 48px;
}

@media (max-width: 700px) {
	.be_home-hero {
		gap: 40px;
		padding-top: calc(var(--be-header-h) + 40px);
	}

	.be_home-hero-text,
	.be_home-hero-media {
		flex-basis: 100%;
	}

	.be_home-hero-img {
		height: 300px;
	}

	.be_home-hero-img + .be_home-hero-img {
		margin-top: 32px;
	}
}

/* «Πού πονάτε;» tabs ---------------------------------------------------------------- */
.be_tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}

.be_tab {
	min-height: 44px;
	padding: 12px 20px;
	border: 1px solid var(--be-sage-light);
	border-radius: 999px;
	background: var(--be-white);
	color: var(--be-text);
	font: 600 15px/1.2 var(--be-font);
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s;
}

.be_tab:hover {
	border-color: var(--be-olive);
	color: var(--be-olive);
}

.be_tab[aria-selected="true"] {
	background: var(--be-olive);
	border-color: var(--be-olive);
	color: var(--be-white);
}

.be_tabpanel {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.be_tabpanel:focus-visible {
	outline-offset: 6px;
}

.be_tabpanel-lists {
	flex: 2 1 560px;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	padding: 36px;
	border-radius: var(--be-radius);
	background: var(--be-cream);
}

.be_arrow-list {
	flex: 1 1 240px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.be_arrow-list ul {
	list-style: none;
}

.be_arrow-list-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--be-muted);
}

.be_tabpanel-card {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding: 36px;
	border-radius: var(--be-radius);
	background: var(--be-olive);
	color: var(--be-cream-light);
}

.be_tabpanel-card-text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.be_tabpanel-card-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--be-sage);
}

.be_tabpanel-card-blurb {
	font-size: 28px;
	line-height: 1.25;
	font-weight: 600;
	color: var(--be-white);
}

@media (max-width: 700px) {
	.be_tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 calc(-1 * var(--be-pad-x)) 32px;
		padding: 0 var(--be-pad-x) 4px;
		scrollbar-width: none;
	}

	.be_tabs::-webkit-scrollbar {
		display: none;
	}

	.be_tab {
		flex-shrink: 0;
	}

	.be_tabpanel-lists,
	.be_tabpanel-card {
		padding: 24px 20px;
	}

	.be_tabpanel-card-blurb {
		font-size: 22px;
	}
}

/* MAKO ------------------------------------------------------------------------------ */
.be_mako {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
}

.be_mako-media,
.be_mako-text {
	flex: 1 1 460px;
	min-width: 0;
}

.be_mako-img,
.be_mako-art {
	display: block;
	width: 100%;
	height: 420px;
	border-radius: var(--be-radius);
	object-fit: cover;
}

/* No photo yet (client to send one): quiet olive panel with the light logo */
.be_mako-art {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 30% 25%, rgba(237, 230, 220, .10), transparent 55%),
		repeating-linear-gradient(135deg, rgba(237, 230, 220, .05) 0 1px, transparent 1px 22px),
		var(--be-olive);
}

.be_mako-art img {
	width: 158px;
	height: auto;
	opacity: .55;
}

.be_mako-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.be_mako-text .be_head {
	margin-bottom: 0;
	gap: 24px;
}

.be_mako-feats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	width: 100%;
	list-style: none;
}

.be_mako-feats li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--be-olive-mid);
}

.be_mako-feats strong {
	color: var(--be-white);
	line-height: 1.4;
}

.be_mako-feats span {
	font-size: 14px;
	line-height: 1.5;
	color: var(--be-sage);
}

@media (max-width: 700px) {
	.be_mako {
		gap: 40px;
	}

	.be_mako-img,
	.be_mako-art {
		height: 260px;
	}
}

/* Special sections + chips -------------------------------------------------------------- */
.be_pillar-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

.be_pillar {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--be-radius);
	background: var(--be-cream);
	color: var(--be-text);
	text-decoration: none;
}

a.be_pillar:hover {
	background: #EFEBE1;
	color: var(--be-text);
}

.be_pillar-media {
	display: block;
	height: 200px;
	background: var(--be-line);
}

.be_pillar-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* No photo yet: line drawing on sand (one per card) */
.be_pillar-art {
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 88px;
}

.be_pillar-art--1 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%237D5F43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='29' cy='8' r='4'/%3E%3Cpath d='M18 20l7-5 6 4 5 7M25 15l-4 12 7 6-2 11M21 27l-7 6-6-1M31 19l-2 8'/%3E%3C/svg%3E");
}

.be_pillar-art--2 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%237D5F43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 10a5 5 0 1 1 7 4l13 13a5 5 0 1 1 4 7 5 5 0 1 1-7-4L18 17a5 5 0 1 1-4-7z'/%3E%3Ccircle cx='26' cy='22' r='2'/%3E%3C/svg%3E");
}

.be_pillar-art--3 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%237D5F43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M33 6l9 9M37 10L18 29l-6 1 1-6 19-19M24 17l7 7M21 20l4 4M12 30l-6 12'/%3E%3C/svg%3E");
}

.be_pillar-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
}

.be_pillar-title {
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
}

.be_pillar-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--be-muted);
}

/* FAQ --------------------------------------------------------------------------------------- */
.be_faq-section {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

.be_faq-section .be_head {
	flex: 1 1 320px;
	margin-bottom: 0;
}

.be_faq-section .be_faq {
	flex: 2 1 560px;
	min-width: 0;
}

/* Appointment ---------------------------------------------------------------------------------- */
.be_appointment .be_map {
	min-height: 440px;
}

@media (max-width: 700px) {
	.be_appointment .be_map {
		min-height: 420px;
	}
}
