/* FNH Consultations — Wizard
   Explicit site fonts (Montserrat EN / IBMPlexSansArabic AR). */
.fnhc-wizard,
.fnhc-wizard input,
.fnhc-wizard textarea,
.fnhc-wizard select,
.fnhc-wizard button,
.fnhc-wizard a,
.fnhc-wizard p,
.fnhc-wizard span,
.fnhc-wizard div,
.fnhc-wizard label {
	font-family: 'Montserrat-Regular', 'Montserrat', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.fnhc-wizard h1,
.fnhc-wizard h2,
.fnhc-wizard h3,
.fnhc-wizard h4,
.fnhc-wizard h5,
.fnhc-wizard h6,
.fnhc-wizard .heading-font,
.fnhc-wizard .fnhc-service-title,
.fnhc-wizard .fnhc-progress-label,
.fnhc-wizard .ss-title,
.fnhc-wizard .fnhc-btn {
	font-family: 'Montserrat-Regular', 'Montserrat', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Arabic — IBM Plex Sans Arabic. Arabic glyphs render visually smaller than Latin
   at the same px size, so we bump up the base + key elements for legibility. */
.fnhc-wizard[dir="rtl"] { font-size: 16px; }
.fnhc-wizard[dir="rtl"] .fnhc-intro h1 { font-size: clamp(30px, 4.4vw, 48px); }
.fnhc-wizard[dir="rtl"] .fnhc-intro p { font-size: 16px; line-height: 1.7; }
.fnhc-wizard[dir="rtl"] .fnhc-panel h2 { font-size: 24px; }
.fnhc-wizard[dir="rtl"] .fnhc-service-title { font-size: 20px; }
.fnhc-wizard[dir="rtl"] .fnhc-service-meta,
.fnhc-wizard[dir="rtl"] .fnhc-service-loc,
.fnhc-wizard[dir="rtl"] .fnhc-service-about { font-size: 15px; }
.fnhc-wizard[dir="rtl"] .fnhc-service-price { font-size: 15px; padding: 7px 16px; }
.fnhc-wizard[dir="rtl"] .ss-title { font-size: 15px; }
.fnhc-wizard[dir="rtl"] .ss-sub { font-size: 13px; }
.fnhc-wizard[dir="rtl"] .fnhc-progress-label { font-size: 12px; letter-spacing: .06em; }
.fnhc-wizard[dir="rtl"] .fnhc-btn { padding: 14px 28px; font-size: 15px; }
.fnhc-wizard[dir="rtl"] .fnhc-slot { font-size: 16px; padding: 16px; }
.fnhc-wizard[dir="rtl"] .fnhc-field label { font-size: 15px; }
.fnhc-wizard[dir="rtl"] .fnhc-field input,
.fnhc-wizard[dir="rtl"] .fnhc-field textarea { font-size: 15px; padding: 13px 14px; }
.fnhc-wizard[dir="rtl"] .fnhc-terms-box p { font-size: 15px; line-height: 1.8; }
.fnhc-wizard[dir="rtl"] .fnhc-terms-box label { font-size: 15px; }
.fnhc-wizard[dir="rtl"] .fnhc-policy-link a { font-size: 15px; }
.fnhc-wizard[dir="rtl"] .fnhc-topic-chip { font-size: 15px; padding: 12px 20px; }
.fnhc-wizard[dir="rtl"] .fnhc-info-block { font-size: 15px; }
.fnhc-wizard[dir="rtl"] .fnhc-info-block p { line-height: 1.8; }
.fnhc-wizard[dir="rtl"] .fnhc-whatsapp-btn { font-size: 13px; padding: 14px 22px; }
.fnhc-wizard[dir="rtl"] .fnhc-sidebar-contact .val { font-size: 17px; }
.fnhc-wizard[dir="rtl"] .fnhc-summary-row { font-size: 15px; }
.fnhc-wizard[dir="rtl"] .fnhc-summary-total { font-size: 20px; }
.fnhc-wizard[dir="rtl"] .fnhc-time { font-family: 'Montserrat-Regular', monospace; }

.fnhc-wizard[dir="rtl"],
.fnhc-wizard[dir="rtl"] input,
.fnhc-wizard[dir="rtl"] textarea,
.fnhc-wizard[dir="rtl"] select,
.fnhc-wizard[dir="rtl"] button,
.fnhc-wizard[dir="rtl"] a,
.fnhc-wizard[dir="rtl"] p,
.fnhc-wizard[dir="rtl"] span,
.fnhc-wizard[dir="rtl"] div,
.fnhc-wizard[dir="rtl"] label {
	font-family: 'IBMPlexSansArabic Regular', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
.fnhc-wizard[dir="rtl"] h1,
.fnhc-wizard[dir="rtl"] h2,
.fnhc-wizard[dir="rtl"] h3,
.fnhc-wizard[dir="rtl"] h4,
.fnhc-wizard[dir="rtl"] h5,
.fnhc-wizard[dir="rtl"] h6,
.fnhc-wizard[dir="rtl"] .heading-font,
.fnhc-wizard[dir="rtl"] .fnhc-service-title,
.fnhc-wizard[dir="rtl"] .ss-title,
.fnhc-wizard[dir="rtl"] .fnhc-btn,
.fnhc-wizard[dir="rtl"] .fnhc-whatsapp-btn {
	font-family: 'IBMPlexSansArabic SemiBold', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

.fnhc-wizard {
	--fnhc-primary: #1e202f;
	--fnhc-primary-dark: #13141e;
	--fnhc-primary-soft: #e6f0f4;
	--fnhc-accent: #1e202f;
	--fnhc-alert: #b20000;
	--fnhc-ink: #111;
	--fnhc-text: #2b2b2b;
	--fnhc-muted: #7a7a7a;
	--fnhc-line: #bccccc;
	--fnhc-bg: #fcfbfa;
	--fnhc-sidebar: #1e202f;
	--fnhc-sidebar-active: #2a2d40;
	font-family: inherit;
	color: var(--fnhc-text);
	max-width: 1180px;
	margin: 32px auto;
	background: var(--fnhc-bg);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.fnhc-wizard *, .fnhc-wizard *::before, .fnhc-wizard *::after { box-sizing: border-box; min-width: 0; }
.fnhc-wizard { max-width: 100%; }
.fnhc-wizard button { font-family: inherit; }

.fnhc-intro {
	text-align: center;
	padding: 40px 24px 8px;
	background: var(--fnhc-bg);
}
.fnhc-intro h1 {
	font-size: clamp(28px, 4vw, 44px);
	letter-spacing: .02em;
	color: var(--fnhc-ink);
	margin: 0 0 12px;
	font-weight: 700;
	text-transform: uppercase;
}
.fnhc-intro p { color: var(--fnhc-muted); max-width: 640px; margin: 0 auto; font-size: 15px; }

/* Top progress (icon stepper above the panel) */
.fnhc-progress {
	display: flex;
	justify-content: center;
	gap: 0;
	padding: 28px 24px 16px;
	background: var(--fnhc-bg);
}
.fnhc-progress-item {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	flex: 0 1 160px; position: relative;
}
.fnhc-progress-item + .fnhc-progress-item::before {
	content: ""; position: absolute; top: 23px; height: 2px; background: #d9d2c4;
	inset-inline-start: calc(-50% + 28px);
	inset-inline-end: calc(50% + 28px);
	z-index: 0;
}
.fnhc-progress-item.done + .fnhc-progress-item::before,
.fnhc-progress-item.active + .fnhc-progress-item::before { background: #d9d2c4; }
.fnhc-progress-item.done + .fnhc-progress-item::before { background: var(--fnhc-primary); }
.fnhc-progress-icon {
	position: relative; z-index: 1;
	width: 48px; height: 48px; border-radius: 50%;
	background: #e9e3d4; color: #b8a98a; display: flex; align-items: center; justify-content: center;
	transition: all .2s;
}
.fnhc-progress-item.active .fnhc-progress-icon { background: var(--fnhc-ink); color: #fff; }
.fnhc-progress-item.done .fnhc-progress-icon { background: var(--fnhc-primary); color: #fff; }
.fnhc-progress-label {
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fnhc-muted);
	white-space: nowrap;
}
.fnhc-progress-item.active .fnhc-progress-label,
.fnhc-progress-item.done .fnhc-progress-label { color: var(--fnhc-ink); }

/* Main layout: sidebar + content (legacy) or full-width panel only */
.fnhc-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 540px; }
.fnhc-shell-no-sidebar { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.fnhc-shell-no-sidebar .fnhc-panel { border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.04); margin: 0 16px; }
@media (max-width: 860px) {
	.fnhc-shell-no-sidebar .fnhc-panel { margin: 0 6px; border-radius: 10px; }
}
.fnhc-sidebar {
	background: var(--fnhc-sidebar); color: #cfd6e1; padding: 24px 0 16px;
	display: flex; flex-direction: column;
}
.fnhc-sidebar-step {
	padding: 14px 22px; margin: 4px 12px; border-radius: 8px;
	display: flex; gap: 12px; align-items: flex-start; cursor: default;
	transition: background .15s;
}
.fnhc-sidebar-step.active { background: var(--fnhc-sidebar-active); color: #fff; }
.fnhc-sidebar-step .ss-icon { width: 22px; flex-shrink: 0; opacity: .9; }
.fnhc-sidebar-step .ss-body { flex: 1; min-width: 0; }
.fnhc-sidebar-step .ss-title { font-weight: 600; font-size: 14px; color: #fff; }
.fnhc-sidebar-step .ss-sub { font-size: 12px; color: #a4b2c4; margin-top: 2px; }
.fnhc-sidebar-step .ss-status {
	width: 22px; height: 22px; border-radius: 50%; border: 2px solid #5a6a83; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.fnhc-sidebar-step.active .ss-status { border-color: #6f88ff; }
.fnhc-sidebar-step.done .ss-status { background: var(--fnhc-accent); border-color: var(--fnhc-accent); color: #fff; }
.fnhc-sidebar-contact {
	margin-top: auto; padding: 20px 24px; border-top: 1px solid #2c394e;
	text-align: center; color: #cfd6e1;
}
.fnhc-sidebar-contact .label {
	font-size: 13px; color: #9eb0c9; letter-spacing: .04em;
	font-weight: 500;
}
.fnhc-sidebar-contact .val {
	display: block; margin-top: 8px; color: #fff; font-weight: 600;
	font-size: 15px; text-decoration: none; letter-spacing: .03em;
}
.fnhc-sidebar-contact .val:hover { color: #cfe0ff; }

.fnhc-panel { background: #fff; padding: 28px 36px; position: relative; overflow: hidden; }
.fnhc-panel h2 { font-size: 22px; font-weight: 600; color: var(--fnhc-ink); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.fnhc-context-bar {
	background: var(--fnhc-primary-soft); color: var(--fnhc-primary);
	border-radius: 8px; padding: 10px 14px; margin: 0 0 22px;
	font-size: 13px; font-weight: 500;
	display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.fnhc-context-bar .ctx-svc { font-weight: 600; }
.fnhc-context-bar .ctx-sep { opacity: .5; padding: 0 6px; }
.fnhc-wizard[dir="rtl"] .fnhc-context-bar { font-size: 14px; }
@media (max-width: 640px) {
	.fnhc-context-bar { font-size: 12px; padding: 8px 12px; gap: 2px; }
}
.fnhc-panel-close {
	position: absolute; top: 18px; right: 22px; background: none; border: 0;
	font-size: 22px; color: var(--fnhc-muted); cursor: pointer; line-height: 1;
}
.fnhc-wizard[dir="rtl"] .fnhc-panel-close { right: auto; left: 22px; }
.fnhc-panel-back {
	position: absolute; top: 18px; left: 22px;
	width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--fnhc-line);
	color: var(--fnhc-ink); cursor: pointer; font-size: 18px;
}
.fnhc-wizard[dir="rtl"] .fnhc-panel-back { left: auto; right: 22px; transform: scaleX(-1); }

/* Service cards */
.fnhc-services-list { display: flex; flex-direction: column; gap: 14px; }
.fnhc-change-selection { margin: 14px 4px 0; }
.fnhc-change-selection a {
	color: var(--fnhc-primary);
	font-size: 13px; font-weight: 500;
	text-decoration: underline; text-decoration-color: rgba(30,32,47,0.3);
	text-underline-offset: 3px;
}
.fnhc-change-selection a:hover { text-decoration-color: var(--fnhc-primary); color: var(--fnhc-primary-dark); }
.fnhc-service {
	background: #fff; border: 1.5px solid var(--fnhc-line); border-radius: 10px;
	padding: 18px 22px; cursor: pointer; transition: all .15s;
	display: flex; flex-direction: column; gap: 10px;
}
.fnhc-service:hover { border-color: var(--fnhc-primary); }
.fnhc-service.sel { border-color: var(--fnhc-primary); background: var(--fnhc-primary-soft); }
.fnhc-service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.fnhc-service-title { font-size: 18px; font-weight: 700; color: var(--fnhc-ink); margin: 0; }
.fnhc-service-price {
	background: var(--fnhc-primary-soft); color: var(--fnhc-primary);
	padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.fnhc-service-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--fnhc-muted); font-size: 14px; align-items: center; }
.fnhc-service-meta .icon { width: 16px; height: 16px; opacity: .7; }
.fnhc-service-meta .meta-item { display: inline-flex; gap: 6px; align-items: center; }
.fnhc-service-loc { color: var(--fnhc-muted); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.fnhc-service-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px dashed var(--fnhc-line); }
.fnhc-service-with { color: var(--fnhc-primary); font-weight: 600; font-size: 14px; }
.fnhc-service-view { color: var(--fnhc-primary); background: none; border: 0; cursor: pointer; font-size: 13px; padding: 0; }
.fnhc-staff-expanded { padding: 10px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.fnhc-staff-mini { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--fnhc-line); border-radius: 8px; cursor: pointer; background: #fff; }
.fnhc-staff-mini.sel { border-color: var(--fnhc-primary); background: var(--fnhc-primary-soft); }
.fnhc-staff-mini .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--fnhc-primary-soft); color: var(--fnhc-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; }
.fnhc-staff-mini .avatar img { width: 100%; height: 100%; object-fit: cover; }
.fnhc-service-about {
	background: #fafaf7; border-radius: 8px; padding: 14px 16px; margin-top: 10px;
	color: var(--fnhc-text); font-size: 14px; line-height: 1.6;
}
.fnhc-service-about-label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--fnhc-muted); margin-bottom: 6px; }

/* Online/In-person mode picker */
.fnhc-mode-pick {
	background: #fff; border: 1px solid var(--fnhc-line); border-radius: 10px;
	padding: 14px 16px; margin-top: 12px;
}
.fnhc-mode-label {
	display: block; font-size: 13px; font-weight: 600;
	color: var(--fnhc-ink); margin-bottom: 10px;
}
.fnhc-mode-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fnhc-mode-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 16px; border-radius: 8px;
	background: #fff; border: 1.5px solid var(--fnhc-line); color: var(--fnhc-text);
	font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
	transition: all .15s;
}
.fnhc-mode-btn svg { width: 18px; height: 18px; }
.fnhc-mode-btn:hover { border-color: var(--fnhc-primary); color: var(--fnhc-primary); }
.fnhc-mode-btn.sel {
	background: var(--fnhc-primary); color: #fff; border-color: var(--fnhc-primary);
}

/* Calendar */
.fnhc-cal-controls { display: flex; justify-content: center; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: nowrap; }
.fnhc-cal-controls .selects { display: flex; gap: 10px; }
.fnhc-cal-controls select {
	padding: 11px 40px 11px 14px;
	border: 1px solid var(--fnhc-line); border-radius: 8px; background: #fff;
	font-family: inherit; font-size: 15px; font-weight: 600; color: var(--fnhc-ink);
	min-width: 124px; cursor: pointer; line-height: 1.2;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23446087' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 14px;
}
.fnhc-wizard[dir="rtl"] .fnhc-cal-controls select {
	padding: 4px 14px 11px 40px;
	background-position: left 12px center;
}
.fnhc-cal-controls select:focus { outline: none; border-color: var(--fnhc-primary); box-shadow: 0 0 0 3px rgba(30,32,47,.15); }
.fnhc-cal-arrow {
	flex: 0 0 auto;
	background: #fff; border: 1px solid var(--fnhc-line); border-radius: 10px;
	width: 46px; height: 46px;
	font-size: 22px; line-height: 1; color: var(--fnhc-primary); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .15s, border-color .15s;
}
.fnhc-cal-arrow:hover { background: var(--fnhc-primary); color: #fff; border-color: var(--fnhc-primary); }
.fnhc-tz-pill { background: var(--fnhc-primary-soft); color: var(--fnhc-primary); padding: 4px 12px; border-radius: 999px; font-size: 12px; margin-bottom: 14px; display: inline-block; }
.fnhc-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 520px; }
.fnhc-cal-dayhdr { font-size: 13px; color: var(--fnhc-muted); text-align: center; padding: 8px 0; }
.fnhc-cal-day {
	display: flex; align-items: center; justify-content: center; flex-direction: column;
	height: 44px; padding: 0; border: 0; background: #fbeeea; color: #c8b1a9;
	border-radius: 6px; font: inherit; font-size: 14px; font-weight: 500; cursor: not-allowed;
	transition: background .15s, color .15s;
}
.fnhc-cal-day.avail { background: #e6f0f4; color: var(--fnhc-primary); cursor: pointer; }
.fnhc-cal-day.avail:hover { background: var(--fnhc-primary); color: #fff; }
.fnhc-cal-day.sel { background: var(--fnhc-primary); color: #fff; }
.fnhc-cal-day.dim { background: #f5edec; color: #d4c5c0; }
.fnhc-cal-day.has-dot::after { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 4px auto 0; }
.fnhc-cal-day.loading { background: #f3f4f6; color: transparent; cursor: wait; animation: fnhc-pulse 1.2s ease-in-out infinite; }
@keyframes fnhc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.fnhc-cal-loading {
	position: absolute; top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(255,255,255,0.85); display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 12px; color: var(--fnhc-primary); font-size: 14px; font-weight: 500;
	z-index: 2; border-radius: 8px;
}
.fnhc-spinner {
	width: 32px; height: 32px; border: 3px solid var(--fnhc-primary-soft);
	border-top-color: var(--fnhc-primary); border-radius: 50%;
	animation: fnhc-spin .8s linear infinite;
}
@keyframes fnhc-spin { to { transform: rotate(360deg); } }

.fnhc-slots-head { margin: 22px 0 10px; font-size: 15px; font-weight: 600; color: var(--fnhc-ink); }
.fnhc-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fnhc-slot {
	padding: 14px; border: 1.5px solid var(--fnhc-line); background: #fff;
	border-radius: 8px; cursor: pointer; font: inherit; font-size: 14px; color: var(--fnhc-primary); font-weight: 600;
}
.fnhc-slot:hover { background: var(--fnhc-primary-soft); }
.fnhc-slot.sel { background: var(--fnhc-primary); color: #fff; border-color: var(--fnhc-primary); }
.fnhc-empty { color: var(--fnhc-muted); padding: 16px 0; text-align: center; }

/* Info blocks under the calendar / panels */
.fnhc-info-blocks {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
	margin-top: 24px;
}
.fnhc-info-block {
	background: #fff; border: 1px solid var(--fnhc-line); border-radius: 12px;
	padding: 20px; display: flex; flex-direction: column; gap: 12px;
	font-size: 14px; color: var(--fnhc-text); line-height: 1.55;
}
.fnhc-info-block.tinted { background: #f3eee2; border-color: #e8e0c9; }
.fnhc-info-block .icon { color: var(--fnhc-muted); }
.fnhc-info-block p { margin: 0; }
.fnhc-info-block strong { color: var(--fnhc-ink); }
.fnhc-whatsapp-btn {
	display: inline-block; background: var(--fnhc-ink); color: #fff; text-decoration: none;
	padding: 12px 18px; border-radius: 8px; font-size: 12px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase; align-self: flex-start;
	transition: background .15s;
}
.fnhc-whatsapp-btn:hover { background: var(--fnhc-primary-dark); color: #fff; }
@media (max-width: 720px) { .fnhc-info-blocks { grid-template-columns: 1fr; } }

/* Form */
.fnhc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.fnhc-field { display: flex; flex-direction: column; gap: 8px; }
.fnhc-field label { font-size: 14px; color: var(--fnhc-text); font-weight: 600; }
.fnhc-field label .req { color: var(--fnhc-alert); margin: 0 4px; font-weight: 700; }
.fnhc-phone-row {
	display: flex; gap: 8px; align-items: stretch;
}
.fnhc-phone-row .fnhc-phone-country {
	flex: 0 0 auto;
	min-width: 140px; max-width: 200px;
	padding: 4px 32px 12px 12px;
	border: 1px solid var(--fnhc-line);
	border-radius: 8px;
	font: inherit; font-size: 14px;
	background: #fff;
	cursor: pointer;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e202f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
}
.fnhc-wizard[dir="rtl"] .fnhc-phone-row .fnhc-phone-country {
	padding: 3px 12px 12px 32px;
	background-position: left 10px center;
}
.fnhc-phone-row .fnhc-phone-country:focus { outline: none; border-color: var(--fnhc-primary); box-shadow: 0 0 0 3px rgba(30,32,47,.15); }
.fnhc-phone-row > input { flex: 1; min-width: 0; }
@media (max-width: 540px) {
	.fnhc-phone-row { flex-direction: column; }
	.fnhc-phone-row .fnhc-phone-country { max-width: 100%; }
}
.fnhc-field input, .fnhc-field textarea {
	width: 100%;
	padding: 14px 16px; border: 1.5px solid var(--fnhc-line); border-radius: 10px;
	font-family: inherit; font-size: 15px; line-height: 1.5;
	background: #fff;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.fnhc-field input::placeholder, .fnhc-field textarea::placeholder { color: #b3b3b3; font-size: 14px; }
.fnhc-field input:focus, .fnhc-field textarea:focus {
	outline: none; border-color: var(--fnhc-primary); background: #fff;
	box-shadow: 0 0 0 3px rgba(30, 32, 47, .15);
}
.fnhc-field.invalid input, .fnhc-field.invalid textarea {
	border-color: var(--fnhc-alert);
	background: #fef5f5;
	box-shadow: 0 0 0 3px rgba(178, 0, 0, .12);
}
.fnhc-field.invalid label { color: var(--fnhc-alert); }
.fnhc-field-error {
	color: var(--fnhc-alert); font-size: 13px; font-weight: 500;
	display: flex; align-items: center; gap: 6px; margin-top: 2px;
}
.fnhc-field-error::before { content: "⚠"; font-size: 14px; }
.fnhc-full { grid-column: 1 / -1; }
.fnhc-terms-box {
	grid-column: 1 / -1; background: #fbf7ee; border: 1px solid #f0e3c2; border-radius: 8px; padding: 16px;
}
.fnhc-terms-box p { margin: 0 0 12px; color: var(--fnhc-text); font-size: 14px; line-height: 1.6; }
.fnhc-terms-box label { display: flex; gap: 10px; align-items: flex-start; color: var(--fnhc-text); font-size: 14px; cursor: pointer; }
.fnhc-terms-box input[type=checkbox] { margin-top: 3px; }
.fnhc-terms-box.invalid {
	border-color: var(--fnhc-alert);
	box-shadow: 0 0 0 3px rgba(178,0,0,.10);
	background: #fff5f5;
}
.fnhc-terms-box.invalid .fnhc-field-error { margin-top: 8px; }
.fnhc-policy-link { margin: 4px 0 12px !important; }
.fnhc-policy-link a {
	color: var(--fnhc-primary); text-decoration: underline; font-size: 13px; font-weight: 600;
}
.fnhc-policy-link a:hover { color: var(--fnhc-primary-dark); }

/* Radio pill group (Current/Start, Yes/No) */
.fnhc-radio-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.fnhc-radio-pill {
	padding: 12px 28px; border: 1.5px solid var(--fnhc-line); border-radius: 8px;
	background: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500;
	color: var(--fnhc-text); transition: all .15s; min-width: 110px;
}
.fnhc-radio-pill:hover { border-color: var(--fnhc-primary); }
.fnhc-radio-pill.sel {
	background: var(--fnhc-primary); color: #fff; border-color: var(--fnhc-primary);
}
.fnhc-field.invalid .fnhc-radio-row .fnhc-radio-pill { border-color: var(--fnhc-alert); }
.fnhc-wizard[dir="rtl"] .fnhc-radio-pill { font-size: 15px; }
@media (max-width: 540px) {
	.fnhc-radio-pill { flex: 1; min-width: 0; }
}

/* Topic multi-select chips */
.fnhc-topic-list {
	display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.fnhc-topic-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border: 1.5px solid var(--fnhc-line); border-radius: 999px;
	background: #fff; cursor: pointer; font-size: 14px; color: var(--fnhc-text);
	transition: all .15s;
}
.fnhc-topic-chip:hover { border-color: var(--fnhc-primary); }
.fnhc-topic-chip.sel { background: var(--fnhc-primary); color: #fff; border-color: var(--fnhc-primary); }
.fnhc-topic-chip input { display: none; }
.fnhc-field.invalid .fnhc-topic-list { box-shadow: 0 0 0 2px rgba(178,0,0,.15); border-radius: 12px; padding: 4px; }

/* Summary */
.fnhc-summary { background: #fafaf7; border-radius: 10px; padding: 18px 22px; }
.fnhc-summary-row {
	display: grid; grid-template-columns: minmax(110px, 32%) 1fr;
	gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fnhc-line); font-size: 14px;
	align-items: baseline;
}
.fnhc-summary-row:last-child { border-bottom: 0; }
.fnhc-summary-row .lbl { color: var(--fnhc-muted); font-weight: 500; }
.fnhc-summary-row .val { color: var(--fnhc-ink); font-weight: 600; word-break: break-word; }
.fnhc-summary-total {
	display: grid; grid-template-columns: minmax(110px, 32%) 1fr;
	gap: 12px; padding: 14px 0 0; font-size: 18px;
}
.fnhc-summary-total .val { color: var(--fnhc-primary); font-weight: 700; }
@media (max-width: 640px) {
	.fnhc-summary { padding: 14px 16px; }
	.fnhc-summary-row, .fnhc-summary-total {
		grid-template-columns: 1fr;
		gap: 2px;
		padding: 10px 0;
	}
	.fnhc-summary-row .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
	.fnhc-summary-row .val, .fnhc-summary-total .val { font-size: 14px; }
	.fnhc-summary-total .val { font-size: 18px; }
}

/* Pre-consultation reminder above the pay button */
.fnhc-precon-note {
	margin: 18px 0 4px;
	background: var(--fnhc-primary-soft);
	border: 1.5px solid var(--fnhc-primary);
	border-radius: 10px;
	padding: 14px 18px;
	color: var(--fnhc-primary);
	font-size: 15px;
	line-height: 1.7;
	text-align: center;
}
.fnhc-precon-note b { font-weight: 700; }
.fnhc-wizard[dir="rtl"] .fnhc-precon-note { font-size: 16px; }

/* Buttons + footer */
.fnhc-panel-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.fnhc-btn {
	padding: 12px 26px; border-radius: 8px; border: 1px solid var(--fnhc-line); background: #fff;
	cursor: pointer; font: inherit; font-weight: 600; color: var(--fnhc-text);
	transition: all .15s;
}
.fnhc-btn:hover { background: #f3f3ee; }
.fnhc-btn.primary {
	background: var(--fnhc-primary); color: #fff; border-color: var(--fnhc-primary);
}
.fnhc-btn.primary:hover { background: var(--fnhc-primary-dark); border-color: var(--fnhc-primary-dark); }
.fnhc-btn[disabled], .fnhc-btn.disabled { opacity: .5; cursor: not-allowed; }

/* Payment loading overlay (shown while creating Tap charge + redirecting) */
.fnhc-pay-overlay {
	position: absolute; inset: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	display: flex; align-items: center; justify-content: center;
	border-radius: 12px;
	animation: fnhc-fade-in .2s ease;
}
@keyframes fnhc-fade-in { from { opacity: 0; } to { opacity: 1; } }
.fnhc-pay-card {
	max-width: 420px; text-align: center; padding: 32px 24px;
}
.fnhc-pay-lock {
	width: 64px; height: 64px; border-radius: 50%;
	background: var(--fnhc-primary-soft); color: var(--fnhc-primary);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 28px; margin-bottom: 16px;
	animation: fnhc-pulse-lock 1.6s ease-in-out infinite;
}
@keyframes fnhc-pulse-lock {
	0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(30,32,47,0.4); }
	50%      { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(30,32,47,0); }
}
.fnhc-pay-card h3 {
	margin: 0 0 8px; font-size: 18px; color: var(--fnhc-ink); font-weight: 600;
}
.fnhc-pay-card p {
	margin: 0 0 22px; color: var(--fnhc-muted); font-size: 13px; line-height: 1.6;
}
.fnhc-pay-progress {
	width: 100%; height: 6px; background: var(--fnhc-primary-soft);
	border-radius: 999px; overflow: hidden; margin: 0 auto 18px;
}
.fnhc-pay-progress-fill {
	height: 100%; width: 0;
	background: linear-gradient(90deg, var(--fnhc-primary) 0%, var(--fnhc-primary-dark) 100%);
	border-radius: 999px;
	animation: fnhc-progress-grow 3.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
	           fnhc-progress-shimmer 1.4s linear infinite;
	background-size: 200% 100%;
}
@keyframes fnhc-progress-grow {
	0%   { width: 0;   }
	30%  { width: 35%; }
	60%  { width: 65%; }
	85%  { width: 88%; }
	100% { width: 95%; }
}
@keyframes fnhc-progress-shimmer {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}
.fnhc-pay-secure {
	color: var(--fnhc-muted); font-size: 11px; letter-spacing: .08em;
	text-transform: uppercase;
}
.fnhc-busy { position: relative; min-height: 380px; }

/* Thank you — bilingual */
.fnhc-thanks { padding: 40px 24px 32px; max-width: 760px; margin: 0 auto; text-align: center; }
.fnhc-thanks-check {
	width: 72px; height: 72px; border-radius: 50%; background: var(--fnhc-accent);
	color: #fff; display: inline-flex; align-items: center; justify-content: center;
	font-size: 36px; margin-bottom: 24px;
}
.fnhc-thanks-block { text-align: start; margin: 18px 0; }
.fnhc-thanks-block h2 { font-size: 22px; color: var(--fnhc-ink); margin: 0 0 8px; font-weight: 600; }
.fnhc-thanks-block p { color: var(--fnhc-muted); font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.fnhc-thanks-divider { border: 0; border-top: 1px solid var(--fnhc-line); margin: 24px 0; }
.fnhc-thanks-tbl {
	width: 100%; border-collapse: collapse; background: #fafaf7;
	border-radius: 10px; overflow: hidden;
}
.fnhc-thanks-tbl td {
	padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--fnhc-line);
}
.fnhc-thanks-tbl tr:last-child td { border-bottom: 0; }
.fnhc-thanks-tbl td.lbl { color: var(--fnhc-muted); width: 38%; }
.fnhc-thanks-tbl td.val { color: var(--fnhc-ink); font-weight: 600; }
.fnhc-thanks-tbl[dir="rtl"] td.lbl { text-align: right; }
.fnhc-thanks-actions { margin-top: 28px; text-align: center; }
.fnhc-thanks-actions .fnhc-btn { text-decoration: none; display: inline-block; padding: 14px 28px; }
@media (max-width: 640px) {
	.fnhc-thanks { padding: 24px 14px; }
	.fnhc-thanks-block h2 { font-size: 18px; }
	.fnhc-thanks-tbl td { font-size: 13px; padding: 8px 10px; }
}

/* Responsive */
@media (max-width: 860px) {
	.fnhc-wizard { margin: 16px 4px; border-radius: 10px; }
	.fnhc-shell { grid-template-columns: 1fr; }
	.fnhc-sidebar { padding: 12px 8px; }
	.fnhc-sidebar-step { padding: 10px 14px; margin: 3px 6px; }
	.fnhc-sidebar-contact { padding: 14px; text-align: center; }
	.fnhc-sidebar-contact .val { font-size: 16px; }
	.fnhc-panel { padding: 18px 14px; overflow: hidden; }
	.fnhc-panel > * { max-width: 100%; }
	.fnhc-form { grid-template-columns: 1fr; }
	.fnhc-slots { grid-template-columns: 1fr; gap: 8px; }
	.fnhc-slot { padding: 14px 10px; font-size: 14px; }
	.fnhc-slot .fnhc-time { white-space: nowrap; }
	.fnhc-progress { padding: 18px 8px 12px; }
	.fnhc-progress-item { flex: 0 1 70px; gap: 6px; }
	.fnhc-progress-icon { width: 38px; height: 38px; }
	.fnhc-progress-icon svg { width: 16px; height: 16px; }
	.fnhc-progress-label { font-size: 9px; letter-spacing: .12em; }
	.fnhc-progress-item + .fnhc-progress-item::before {
		top: 18px;
		inset-inline-start: calc(-50% + 22px);
		inset-inline-end: calc(50% + 22px);
	}
	.fnhc-cal-grid { gap: 4px; max-width: 100%; }
	.fnhc-cal-day { height: auto; aspect-ratio: 1 / 1; min-height: 38px; font-size: 13px; border-radius: 6px; }
	.fnhc-cal-dayhdr { font-size: 11px; padding: 4px 0; }
	.fnhc-cal-controls {
		flex-wrap: nowrap; gap: 6px; justify-content: center;
	}
	.fnhc-cal-controls .selects { flex: 1; min-width: 0; gap: 6px; }
	.fnhc-cal-controls select {
		flex: 1; min-width: 0; font-size: 14px;
		padding: 10px 30px 10px 10px; background-position: right 8px center;
	}
	.fnhc-wizard[dir="rtl"] .fnhc-cal-controls select { padding: 10px 10px 10px 30px; background-position: left 8px center; }
	.fnhc-cal-arrow { width: 42px; height: 42px; font-size: 20px; flex: 0 0 auto; }
	.fnhc-tz-pill { font-size: 11px; }
	.fnhc-service { padding: 14px; }
	.fnhc-service-title { font-size: 16px; }
	.fnhc-service-head { flex-direction: column; gap: 8px; align-items: flex-start; }
	.fnhc-info-blocks { grid-template-columns: 1fr; gap: 10px; }
	.fnhc-info-block { padding: 16px; }
	.fnhc-info-block p { word-wrap: break-word; overflow-wrap: anywhere; }
	.fnhc-intro { padding: 24px 14px 4px; }
	.fnhc-intro h1 { font-size: 22px; }
	.fnhc-intro p { font-size: 13px; }
	.fnhc-panel h2 { font-size: 18px; }
	.fnhc-panel-actions { flex-wrap: wrap; gap: 8px; }
	.fnhc-btn { padding: 12px 16px; font-size: 14px; flex: 1; min-width: 0; max-width: 100%; }
}
@media (max-width: 380px) {
	.fnhc-progress-label { display: none; }
}
