/**
 * ExpatHub front-end styles.
 *
 * Scoped to .eh- classes so nothing here leaks into the theme or fights with
 * Elementor. Colours are custom properties: change them once in :root and the
 * booking wizard, cards and forms all follow.
 */

:root {
	--eh-teal: #0E7A6A;
	--eh-teal-dark: #0A5D51;
	--eh-teal-pale: #E7F3F1;
	--eh-navy: #16294A;
	--eh-text: #1B2130;
	--eh-muted: #5C6679;
	--eh-faint: #8C95A6;
	--eh-line: #E4E9EC;
	--eh-bg: #F5F8F9;
	--eh-warn-bg: #FDF7E9;
	--eh-warn-line: #F0E2C2;
	--eh-warn-text: #8A6516;
	--eh-radius: 10px;
}

.eh-booking *,
.eh-grid *,
.eh-word * { box-sizing: border-box; }

/* ---------------- buttons ---------------- */

.eh-btn {
	display: inline-block;
	background: var(--eh-teal);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease;
}
.eh-btn:hover,
.eh-btn:focus { background: var(--eh-teal-dark); color: #fff; }
.eh-btn:focus-visible { outline: 2px solid var(--eh-navy); outline-offset: 2px; }
.eh-btn[disabled] { opacity: .55; cursor: not-allowed; }
.eh-btn.is-busy { opacity: .6; }
.eh-btn--ghost { background: none; color: var(--eh-teal); box-shadow: inset 0 0 0 1.5px var(--eh-teal); }
.eh-btn--ghost:hover { background: var(--eh-teal-pale); color: var(--eh-teal-dark); }
.eh-btn--small { padding: 8px 16px; font-size: 13.5px; }

/* ---------------- booking wizard ---------------- */

.eh-booking { color: var(--eh-text); font-size: 15px; }

.eh-booking__steps {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	flex-wrap: wrap;
}
.eh-booking__steps li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--eh-faint);
	flex: 1 1 auto;
}
.eh-booking__steps li + li::before {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--eh-line);
	margin-right: 8px;
}
.eh-booking__steps span {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #E9EDF0;
	color: var(--eh-faint);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	flex: none;
}
.eh-booking__steps .is-active,
.eh-booking__steps .is-done { color: var(--eh-teal); font-weight: 600; }
.eh-booking__steps .is-active span,
.eh-booking__steps .is-done span { background: var(--eh-teal); color: #fff; }

.eh-booking__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; align-items: start; }

.eh-panel {
	display: none;
	background: #fff;
	border: 1px solid var(--eh-line);
	border-radius: var(--eh-radius);
	padding: 22px;
}
.eh-panel.is-current { display: block; }
.eh-panel h3 { margin: 0 0 18px; font-size: 18px; color: var(--eh-navy); }

.eh-field { position: relative; margin-bottom: 14px; }
.eh-field label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--eh-muted);
	margin-bottom: 5px;
}
.eh-field input,
.eh-field textarea,
.eh-field select {
	width: 100%;
	border: 1px solid #DCE3E7;
	border-radius: 8px;
	padding: 11px 13px;
	font-size: 14.5px;
	font-family: inherit;
	color: var(--eh-text);
	background: #fff;
}
.eh-field input:focus,
.eh-field textarea:focus { outline: 2px solid var(--eh-teal); outline-offset: -1px; border-color: var(--eh-teal); }
.eh-field input.is-invalid { border-color: #C0392B; background: #FDF3F2; }

.eh-hint{display:block;font-size:12px;color:var(--eh-faint);margin-top:5px;line-height:1.45}
.eh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.eh-locate {
	position: absolute;
	right: 9px;
	bottom: 9px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: var(--eh-teal-pale);
	color: var(--eh-teal);
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
}
.eh-locate.is-busy { opacity: .5; }

.eh-swap {
	display: block;
	margin: -6px auto 6px;
	border: 1px solid #DCE3E7;
	background: #fff;
	border-radius: 7px;
	padding: 2px 12px;
	cursor: pointer;
	color: var(--eh-muted);
}

.eh-note,
.eh-policy {
	background: #EEF4FA;
	border: 1px solid #D9E5F0;
	border-radius: 8px;
	padding: 10px 13px;
	font-size: 12.5px;
	color: #3F5F82;
	margin: 14px 0 0;
}
.eh-policy { background: var(--eh-warn-bg); border-color: var(--eh-warn-line); color: var(--eh-warn-text); }

/* payment */
.eh-pay { border: 0; margin: 18px 0 0; padding: 0; }
.eh-pay legend { font-size: 12.5px; font-weight: 600; color: var(--eh-muted); padding: 0; margin-bottom: 8px; }
.eh-pay__opt {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	border: 1.5px solid var(--eh-line);
	border-radius: 8px;
	padding: 13px 15px;
	margin-bottom: 9px;
	cursor: pointer;
	background: #fff;
}
.eh-pay__opt.is-on { border-color: var(--eh-teal); background: #F4FAF9; }
.eh-pay__opt input { margin-top: 3px; accent-color: var(--eh-teal); }
.eh-pay__opt strong { display: block; font-size: 14px; }
.eh-pay__opt em { display: block; font-style: normal; font-size: 12.5px; color: var(--eh-muted); margin-top: 2px; }

/* honeypot: hidden from people, visible to bots */
.eh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eh-error {
	background: #FDF3F2;
	border: 1px solid #F0C9C4;
	color: #A5382C;
	border-radius: 8px;
	padding: 11px 14px;
	font-size: 13.5px;
	margin-top: 14px;
}

.eh-actions { display: flex; gap: 10px; margin-top: 20px; }
.eh-actions .eh-next,
.eh-actions .eh-submit { margin-left: auto; }

/* confirmation */
.eh-done { text-align: center; padding: 26px 0; }
.eh-done__tick {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--eh-teal);
	color: #fff;
	font-size: 26px;
	line-height: 54px;
	margin: 0 auto 16px;
}
.eh-done__ref { font-size: 17px; font-weight: 700; color: var(--eh-navy); margin: 0 0 8px; }
.eh-done__msg { color: var(--eh-muted); font-size: 14px; max-width: 40ch; margin: 0 auto 8px; }
.eh-done__cancel { font-size: 12.5px; color: var(--eh-faint); }

/* summary */
.eh-summary {
	background: #fff;
	border: 1px solid var(--eh-line);
	border-radius: var(--eh-radius);
	padding: 20px;
	position: sticky;
	top: 20px;
}
.eh-summary h4 { margin: 0 0 14px; font-size: 16px; color: var(--eh-navy); }
.eh-summary dl { margin: 0; }
.eh-summary dl > div { display: flex; gap: 10px; margin-bottom: 11px; }
.eh-summary dl > div::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--eh-teal);
	margin-top: 6px;
	flex: none;
}
.eh-summary dt { font-size: 11.5px; color: var(--eh-muted); font-weight: 600; }
.eh-summary dd { margin: 1px 0 0; font-size: 13.5px; }
.eh-summary__total {
	border-top: 1px solid #EEF1F3;
	padding-top: 13px;
	margin-top: 6px;
	display: flex;
	align-items: baseline;
}
.eh-summary__total span { font-size: 13.5px; font-weight: 600; }
.eh-summary__total strong { margin-left: auto; font-size: 24px; color: var(--eh-teal); }
.eh-summary__fine { font-size: 11px; color: var(--eh-faint); text-align: right; margin: 3px 0 0; }

/* ---------------- content grids ---------------- */

.eh-grid { display: grid; gap: 18px; }
.eh-grid--2 { grid-template-columns: repeat(2, 1fr); }
.eh-grid--3 { grid-template-columns: repeat(3, 1fr); }
.eh-grid--4 { grid-template-columns: repeat(4, 1fr); }
.eh-grid--5 { grid-template-columns: repeat(5, 1fr); }
.eh-grid--6 { grid-template-columns: repeat(6, 1fr); }

.eh-card {
	background: #fff;
	border: 1px solid var(--eh-line);
	border-radius: 9px;
	overflow: hidden;
}
.eh-card__media { display: block; position: relative; background: #E4E9EC; }
.eh-card__media img { display: block; width: 100%; height: 190px; object-fit: cover; }
.eh-card__badge {
	position: absolute;
	top: 9px;
	left: 9px;
	background: var(--eh-teal);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 5px;
}
.eh-card__body { padding: 15px; }
.eh-card--service,
.eh-card--package,
.eh-card--person,
.eh-card--partner { padding: 18px; }
.eh-card__title { margin: 0 0 4px; font-size: 16px; line-height: 1.35; }
.eh-card__title a { color: var(--eh-navy); text-decoration: none; }
.eh-card__title a:hover { color: var(--eh-teal); }
.eh-card__loc,
.eh-card__role,
.eh-card__meta { font-size: 12.5px; color: var(--eh-muted); margin: 0 0 6px; }
.eh-card__price { font-size: 19px; font-weight: 700; color: var(--eh-teal); margin: 8px 0 6px; }
.eh-card__price span { font-size: 12.5px; font-weight: 400; color: var(--eh-muted); }
.eh-card__text { font-size: 13.5px; color: var(--eh-muted); line-height: 1.55; margin: 0 0 10px; }
.eh-card__specs {
	list-style: none;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 9px 0 0;
	border-top: 1px solid #EEF1F3;
	font-size: 12px;
	color: var(--eh-faint);
}
.eh-card__includes { list-style: none; margin: 10px 0; padding: 0; }
.eh-card__includes li { font-size: 13px; color: var(--eh-muted); margin: 5px 0; padding-left: 18px; position: relative; }
.eh-card__includes li::before { content: "✓"; position: absolute; left: 0; color: var(--eh-teal); font-weight: 700; }
.eh-card__more { font-size: 13px; color: var(--eh-teal); font-weight: 600; text-decoration: none; }
.eh-card__more::after { content: " →"; }
.eh-card__icon img { width: 34px; height: 34px; object-fit: contain; margin-bottom: 10px; }
.eh-card__social a { font-size: 12.5px; color: var(--eh-teal); margin-right: 10px; text-decoration: none; }
.eh-verified {
	display: inline-block;
	background: var(--eh-teal-pale);
	color: var(--eh-teal);
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 5px;
	margin-bottom: 8px;
}
.eh-empty { color: var(--eh-muted); font-size: 14px; }
.eh-riel { font-size: .8em; color: var(--eh-muted); font-weight: 400; }

/* ---------------- responsive ---------------- */

@media (max-width: 980px) {
	.eh-booking__grid { grid-template-columns: 1fr; }
	.eh-summary { position: static; }
	.eh-grid--4, .eh-grid--5, .eh-grid--6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
	.eh-row { grid-template-columns: 1fr; }
	.eh-grid--2, .eh-grid--3, .eh-grid--4, .eh-grid--5, .eh-grid--6 { grid-template-columns: 1fr; }
	.eh-booking__steps li span + * { display: none; }
	.eh-booking__steps li { flex: 0 0 auto; }
	.eh-word__note { border-left: 0; padding-left: 0; }
	.eh-actions { flex-direction: column-reverse; }
	.eh-actions .eh-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.eh-btn { transition: none; }
}

/* ---------- enquiry forms ---------- */
.eh-form{background:#fff;border:1px solid var(--eh-line);border-radius:var(--eh-radius);padding:24px}
.eh-form__title{margin:0 0 18px;font-size:17px;color:var(--eh-navy)}
.eh-field{margin-bottom:15px}
.eh-field label{display:block;font-size:12.5px;font-weight:600;color:var(--eh-muted);margin-bottom:5px}
.eh-field input,.eh-field textarea,.eh-field select{
  width:100%;border:1px solid #DCE3E7;border-radius:8px;padding:11px 13px;
  font:inherit;font-size:14.5px;color:var(--eh-text);background:#fff;
}
.eh-field input:focus,.eh-field textarea:focus{outline:2px solid var(--eh-teal);outline-offset:-1px;border-color:var(--eh-teal)}
.eh-field input.is-invalid,.eh-field textarea.is-invalid{border-color:#C0392B;background:#FDF3F2}
.eh-form__error{
  background:#FDF3F2;border:1px solid #F0C9C4;color:#A5382C;
  border-radius:8px;padding:11px 14px;font-size:13.5px;margin-bottom:14px;
}
.eh-form__submit{width:100%;justify-content:center}
.eh-form__done{text-align:center;padding:22px 4px}
.eh-form__tick{
  width:52px;height:52px;border-radius:50%;background:var(--eh-teal);color:#fff;
  font-size:25px;line-height:52px;margin:0 auto 14px;
}
.eh-form__done b{display:block;font-size:16px;color:var(--eh-navy);margin-bottom:8px}
.eh-form__done p{font-size:13.5px;color:var(--eh-muted)}

/* ---------- property archive: built-in filtering ---------- */
.eh-archive{display:grid;grid-template-columns:260px 1fr;gap:32px;align-items:start}
.eh-filters{background:#fff;border:1px solid var(--eh-line);border-radius:var(--eh-radius);padding:22px}
.eh-filters__head{display:flex;align-items:center;margin-bottom:16px}
.eh-filters__head h4{margin:0;font-size:16px;color:var(--eh-navy)}
.eh-filter-reset{
  margin-left:auto;border:0;background:none;cursor:pointer;
  font-size:12.5px;font-weight:600;color:var(--eh-teal);padding:4px 8px;border-radius:6px;
}
.eh-filter-reset:hover{background:var(--eh-teal-pale)}
.eh-filters__note{font-size:12px;color:var(--eh-faint);margin-top:14px;line-height:1.5}

.eh-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.eh-tab{
  font-size:13.5px;padding:8px 16px;border-radius:8px;border:1px solid var(--eh-line);
  color:var(--eh-muted);background:#fff;cursor:pointer;transition:all .15s ease;
}
.eh-tab:hover{border-color:var(--eh-teal);color:var(--eh-teal)}
.eh-tab.is-on{background:var(--eh-navy);color:#fff;border-color:var(--eh-navy)}

.eh-listbar{display:flex;align-items:center;gap:12px;font-size:13.5px;color:var(--eh-muted);margin-bottom:18px;flex-wrap:wrap}
.eh-listbar__sp{flex:1}
.eh-sort{border:1px solid var(--eh-line);border-radius:8px;padding:7px 11px;font:inherit;font-size:13px;background:#fff}

.eh-results{transition:opacity .15s ease}
.eh-results.is-loading{opacity:.45;pointer-events:none}
.eh-empty-state{
  grid-column:1 / -1;text-align:center;padding:56px 24px;
  border:1px dashed var(--eh-line);border-radius:var(--eh-radius);background:var(--eh-bg);
}
.eh-empty-state b{display:block;font-size:16px;color:var(--eh-navy);margin-bottom:6px}
.eh-empty-state p{font-size:14px;color:var(--eh-muted);margin-bottom:16px}
.eh-more-wrap{text-align:center;margin-top:28px}

@media (max-width:900px){
  .eh-archive{grid-template-columns:1fr}
}

/* vehicle: shown, not editable - chosen in the Transport menu */
.eh-vpick__chosen{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  border:1.5px solid var(--eh-teal);background:var(--eh-teal-tint);
  border-radius:10px;padding:14px 16px;
}
.eh-vpick__chosen.is-empty{
  display:block;border-style:dashed;border-color:var(--eh-line);
  background:var(--eh-bg);text-align:center;padding:22px 18px;
}
.eh-vpick__b{flex:1;min-width:200px}
.eh-vpick__b b{display:block;font-size:15.5px;color:var(--eh-navy)}
.eh-vpick__b span{font-size:12.5px;color:var(--eh-muted)}
.eh-vpick__chosen.is-empty b{display:block;font-size:15px;color:var(--eh-navy);margin-bottom:5px}
.eh-vpick__chosen.is-empty p{font-size:13px;color:var(--eh-muted);margin-bottom:14px}
.eh-label{display:block;font-size:12.5px;font-weight:600;color:var(--eh-muted);margin:22px 0 10px}
