/*
Theme Name: Sites Hub
Description: Product site of Yalhem Sites (sites.yalhem.com): templates gallery, pricing, legal pages. Same visual language as yalhem.com.
Version: 0.4.2
Requires at least: 6.6
Requires PHP: 8.2
Author: Yalhem
Text Domain: sites-hub
*/

/* Design read: yalhem.com language (navy + teal, Zain, square corners, teal-square eyebrow, sweep buttons),
   light base with one navy band; the product is shown, not described (live screenshots, real demo links). */
:root {
	--navy: #14213D; --teal: #2EC4B6; --teal-d: #0A7A72; --tint: #EFFAF9; --ink: #0B1220; --muted: #4A5468;
	--line: #DDE3EA; --paper: #F6F8FA; --on-navy: #DCE2EC; --ease: cubic-bezier(.2, .8, .2, 1); --hh: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.7 'Zain', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
bdi { unicode-bidi: isolate; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.hb-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hb-sec { padding-block: clamp(52px, 7vw, 88px); }
.hb-h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.25; font-weight: 900; color: var(--navy); }
.hb-lead { color: var(--muted); margin-top: 8px; }
.hb-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--teal-d); margin-bottom: 10px; }
.hb-eyebrow::before { content: ""; width: 24px; height: 10px; flex: none; background: linear-gradient(to left, var(--teal) 0 10px, transparent 10px 14px, var(--teal) 14px 24px); }
.hb-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }

/* buttons: filled teal-700 (white text), sweep to navy on hover, square corners */
.hb-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hb-btn { --b: var(--teal-d); --s: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; font: 700 17px/1 'Zain', sans-serif;
	white-space: nowrap; border: 2px solid var(--b); background: var(--b); color: #fff; position: relative; overflow: hidden; isolation: isolate; cursor: pointer; transition: color .35s, border-color .35s; }
.hb-btn::after { content: ""; position: absolute; inset: 0; background: var(--s); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: -1; }
.hb-btn:hover::after, .hb-btn:focus-visible::after { transform: scaleX(1); transform-origin: right; }
.hb-btn:hover, .hb-btn:focus-visible { border-color: var(--s); }
.hb-btn--navy { --b: var(--navy); --s: var(--teal-d); }
.hb-btn--light { --b: #fff; --s: var(--teal); color: var(--navy); }
.hb-btn--line { --b: rgba(255, 255, 255, .6); --s: var(--teal-d); background: transparent; }
.hb-btn--sm { padding: 10px 16px; font-size: 16px; }
.hb-btn i { font-size: 20px; }
.hb-arrow { display: inline-block; transition: transform .3s var(--ease); }
.hb-btn:hover .hb-arrow { transform: translateX(-5px); }
.hb-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--teal-d); }
.hb-link:hover { color: var(--navy); }

/* header */
header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 40; }
.hb-hdr { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.is-scrolled .hb-hdr { box-shadow: 0 10px 30px -22px rgba(20, 33, 61, .5); }
.hb-hdr__in { height: var(--hh); display: flex; align-items: center; gap: 24px; }
.hb-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.hb-logo img { height: 42px; width: auto; }
.hb-logo span { font-weight: 900; font-size: 22px; color: var(--navy); padding-inline-start: 12px; border-inline-start: 2px solid var(--teal); line-height: 1.1; }
.hb-nav { display: flex; gap: 4px; margin-inline: auto; }
.hb-nav a { position: relative; padding: 10px 14px; font-weight: 700; font-size: 16px; color: var(--navy); }
.hb-nav a::after { content: ""; position: absolute; inset: auto 14px 3px; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.hb-nav a:hover::after { transform: scaleX(1); }
.hb-burger { display: none; width: 44px; height: 44px; place-items: center; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-size: 22px; cursor: pointer; }
.hb-mnav { display: grid; padding: 6px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(20, 33, 61, .5); }
.hb-mnav a:not(.hb-btn) { padding: 13px 4px; font-weight: 700; font-size: 18px; color: var(--navy); border-bottom: 1px solid var(--line); }
.hb-mnav .hb-btn { margin-top: 14px; }

/* hero: copy + live device frames cycling through the demos */
.hb-hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.hb-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 48px 48px; opacity: .5; mask-image: linear-gradient(to left, transparent 30%, #000); }
.hb-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hb-hero h1 { font-size: clamp(38px, 4.6vw, 54px); line-height: 1.15; font-weight: 900; color: var(--navy); }
.hb-hero h1 em { font-style: normal; color: var(--teal-d); position: relative; white-space: nowrap; }
.hb-hero h1 em::after { content: ""; position: absolute; inset-inline: 0; bottom: .2em; height: .2em; background: var(--teal); opacity: .35; z-index: -1; }
.hb-hero__sub { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 44ch; }
.hb-hero .hb-btns { margin-top: 26px; }
.hb-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-weight: 700; color: var(--navy); font-size: 16px; }
.hb-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hb-ticks li::before { content: ""; width: 8px; height: 8px; background: var(--teal); }

.hb-dev { position: relative; padding: 0 0 46px 54px; }
.hb-dev__pc { background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(20, 33, 61, .55); }
.hb-dev__bar { height: 34px; display: flex; align-items: center; gap: 6px; padding-inline: 12px; border-bottom: 1px solid var(--line); background: #fff; }
.hb-dev__bar > i { width: 9px; height: 9px; background: var(--line); }
.hb-dev__bar > i:first-child { background: var(--teal); }
.hb-dev__url { position: relative; flex: 1; height: 22px; margin-inline-start: 10px; background: var(--paper); font-size: 13px; color: var(--muted); direction: ltr; overflow: hidden; }
.hb-dev__url span { position: absolute; inset: 0; padding-inline: 10px; line-height: 22px; text-align: left; }
.hb-dev__screen { position: relative; overflow: hidden; }
.hb-dev__pc .hb-dev__screen { aspect-ratio: 16 / 10; }
.hb-dev__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hb-dev__phone { position: absolute; left: 0; bottom: 0; width: 26%; padding: 6px; background: var(--navy); box-shadow: 0 24px 50px -24px rgba(20, 33, 61, .7); }
.hb-dev__phone .hb-dev__screen { aspect-ratio: 375 / 780; background: #fff; }
.hb-dev__name { position: absolute; right: 0; bottom: 0; height: 36px; min-width: 210px; }
.hb-dev__name span { position: absolute; inset-inline-start: 0; bottom: 0; white-space: nowrap; padding: 6px 14px; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; }
.hb-dev__name small { color: var(--teal); font-size: 14px; margin-inline-start: 4px; }
[data-hb-cycle] .hb-dev__screen img, [data-hb-cycle] .hb-dev__url span, [data-hb-cycle] .hb-dev__name span { opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-hb-cycle] .is-on { opacity: 1 !important; }
[data-hb-cycle] .hb-dev__name span { transform: translateY(8px); }
[data-hb-cycle] .hb-dev__name span.is-on { transform: none; }

/* steps */
.hb-steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; position: relative; }
.hb-step { position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.hb-step:hover { border-color: var(--teal); transform: translateY(-3px); }
.hb-step__n { position: absolute; top: -1px; left: -1px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 900; font-size: 18px; }
.hb-step > i { display: grid; place-items: center; width: 52px; height: 52px; background: var(--tint); color: var(--teal-d); font-size: 28px; margin-bottom: 16px; }
.hb-step h3 { font-size: 21px; font-weight: 900; color: var(--navy); }
.hb-step p { color: var(--muted); margin-top: 4px; }

/* templates gallery */
.hb-tpl { background: var(--paper); border-block: 1px solid var(--line); }
.hb-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.hb-filter button { font: 700 16px 'Zain', sans-serif; padding: 9px 16px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.hb-filter button small { font-size: 13px; color: var(--muted); margin-inline-start: 2px; }
.hb-filter button:hover { border-color: var(--navy); }
.hb-filter button.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.hb-filter button.is-on small { color: var(--teal); }
.hb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hb-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.hb-card:hover { border-color: var(--navy); box-shadow: 0 24px 40px -30px rgba(20, 33, 61, .6); transform: translateY(-3px); }
.hb-card__shot { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.hb-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.hb-card:hover .hb-card__shot img { transform: scale(1.04); }
.hb-card__shot span { position: absolute; inset-inline-end: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px;
	opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.hb-card:hover .hb-card__shot span, .hb-card__shot:focus-visible span { opacity: 1; transform: none; }
.hb-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hb-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hb-card h3 { font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1.3; }
.hb-badge { flex: none; font-size: 14px; font-weight: 700; padding: 3px 10px; background: var(--tint); color: var(--teal-d); }
.hb-card__body > p { color: var(--muted); }
.hb-card__act { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.hb-card.is-hidden { display: none; }
.hb-note { margin-top: 26px; text-align: center; color: var(--muted); }
.hb-note a { color: var(--teal-d); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* pricing */
.hb-period { display: inline-flex; border: 1.5px solid var(--navy); padding: 3px; gap: 3px; }
.hb-period button { font: 700 16px 'Zain', sans-serif; padding: 8px 18px; border: 0; background: transparent; color: var(--navy); cursor: pointer; transition: background .25s, color .25s; }
.hb-period button small { font-size: 13px; color: var(--teal-d); margin-inline-start: 4px; }
.hb-period button[aria-checked="true"] { background: var(--navy); color: #fff; }
.hb-period button[aria-checked="true"] small { color: var(--teal); }
.hb-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.hb-plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border: 1px solid var(--line); background: #fff; }
.hb-plan::before { content: ""; position: absolute; top: -1px; right: -1px; width: 14px; height: 14px; background: var(--teal); }
.hb-plan h3 { font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.hb-plan__who { color: var(--muted); font-size: 16px; }
.hb-plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; color: var(--navy); }
.hb-plan__price b { font-size: 56px; font-weight: 900; line-height: 1; }
.hb-plan__price span { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; line-height: 1.2; }
.hb-plan__price small { font-weight: 400; font-size: 15px; color: var(--muted); }
.hb-plan__save { font-size: 15px; color: var(--teal-d); font-weight: 700; margin-top: 6px; min-height: 26px; }
.hb-plan ul { display: grid; gap: 10px; margin-block: 20px 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.hb-plan li { display: flex; gap: 10px; align-items: flex-start; }
.hb-plan li i { color: var(--teal-d); font-size: 20px; margin-top: 3px; }
.hb-plan .hb-btn { margin-top: auto; }
.hb-plan--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.hb-plan--dark h3, .hb-plan--dark .hb-plan__price { color: #fff; }
.hb-plan--dark .hb-plan__who, .hb-plan--dark .hb-plan__price small { color: var(--on-navy); }
.hb-plan--dark .hb-plan__save, .hb-plan--dark li i { color: var(--teal); }
.hb-plan--dark ul { border-color: rgba(255, 255, 255, .16); }
.hb-inc__title { margin-top: clamp(40px, 5vw, 56px); font-size: 22px; font-weight: 900; color: var(--navy); }
.hb-inc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 16px; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.hb-inc li { display: flex; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.hb-inc li > i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--tint); color: var(--teal-d); font-size: 24px; }
.hb-inc h3 { font-size: 18px; font-weight: 900; color: var(--navy); line-height: 1.35; }
.hb-inc p { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin-top: 2px; }

/* faq */
.hb-faq { background: var(--paper); border-top: 1px solid var(--line); }
.hb-faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.hb-faq__list { border-top: 1px solid var(--line); }
.hb-faq details { border-bottom: 1px solid var(--line); background: #fff; }
.hb-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; font-size: 18px; color: var(--navy); cursor: pointer; list-style: none; }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--tint); color: var(--teal-d); transition: transform .3s var(--ease), background .3s; }
.hb-faq details[open] summary i { transform: rotate(45deg); background: var(--teal-d); color: #fff; }
.hb-faq details p { padding: 0 20px 18px; color: var(--muted); }

/* closing band + footer */
.hb-cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hb-cta::after { content: ""; position: absolute; left: 0; top: 0; width: 120px; height: 100%; background: linear-gradient(to left, transparent 0 24px, var(--teal) 24px 48px, transparent 48px 72px, rgba(46, 196, 182, .4) 72px 96px, transparent 96px); opacity: .9;
	mask-image: linear-gradient(transparent, #000 30% 70%, transparent); }
.hb-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 60px); padding-inline-end: 120px; }
.hb-cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.25; }
.hb-cta p { color: var(--on-navy); margin-top: 4px; }
.hb-ftr { background: var(--ink); color: var(--on-navy); font-size: 16px; }
.hb-ftr__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-block: 44px 32px; }
.hb-ftr .hb-logo span { color: #fff; }
.hb-ftr__brand p { margin-top: 14px; max-width: 34ch; }
.hb-ftr__brand p a { color: var(--teal); }
.hb-ftr nav, .hb-ftr__contact { display: grid; gap: 8px; align-content: start; }
.hb-ftr nav a, .hb-ftr__contact a { color: var(--on-navy); display: inline-flex; align-items: center; gap: 6px; }
.hb-ftr nav a:hover, .hb-ftr__contact a:hover { color: #fff; }
.hb-ftr__contact i { color: var(--teal); font-size: 20px; }
.hb-ftr__base { padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8C96A8; }

/* legal pages */
.hb-legal { width: min(780px, 100% - 32px); margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); }
.hb-legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 900; color: var(--navy); line-height: 1.2; }
.hb-legal__date { color: var(--muted); margin-top: 6px; }
.hb-legal h2 { font-size: 23px; font-weight: 900; color: var(--navy); margin-top: 34px; }
.hb-legal p, .hb-legal ul { margin-top: 10px; }
.hb-legal ul { list-style: none; display: grid; gap: 8px; }
.hb-legal li { position: relative; padding-inline-start: 18px; }
.hb-legal li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; background: var(--teal); }
.hb-legal bdi { white-space: nowrap; }
.hb-legal a { color: var(--teal-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hb-legal__box { margin-top: 18px; padding: 16px 20px; background: var(--tint); border-inline-start: 4px solid var(--teal-d); }

/* ===== ad landing pages (template "landing") ===== */
.hb-hdr__go { margin-inline-start: auto; }
.hb-lp__in { grid-template-columns: 1.05fr .95fr; align-items: start; }
.hb-lp h1 { font-size: clamp(34px, 4vw, 50px); }
.hb-lp h1 em { white-space: normal; }
.hb-lp__phones { display: flex; gap: 16px; margin-top: 30px; }
.hb-lp__phones img { width: 150px; border: 6px solid var(--navy); background: #fff; box-shadow: 0 24px 50px -28px rgba(20, 33, 61, .7); }
.hb-lp__phones img + img { margin-top: 34px; }

/* sign-up form */
.hb-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal-d); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 60px -40px rgba(20, 33, 61, .55); position: relative; }
.hb-form h2 { font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.hb-form__sub { color: var(--muted); margin-bottom: 14px; }
.hb-fld { display: grid; gap: 4px; margin-top: 12px; }
.hb-fld span { font-weight: 700; font-size: 15.5px; color: var(--navy); }
.hb-fld input, .hb-fld select { width: 100%; height: 48px; padding: 0 14px; font: 400 17px 'Zain', sans-serif; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 0; transition: border-color .2s, background .2s; }
.hb-fld input[dir="ltr"] { text-align: right; }
.hb-fld input:focus, .hb-fld select:focus { outline: none; border-color: var(--teal-d); background: #fff; }
.hb-fld.is-bad input { border-color: #B42318; background: #FEF3F2; }
.hb-fld small { color: #B42318; font-weight: 700; font-size: 14px; }
.hb-fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hb-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--ink); cursor: pointer; }
.hb-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-d); cursor: pointer; }
.hb-consent a { color: var(--teal-d); font-weight: 700; text-decoration: underline; }
.hb-consent.is-bad span { color: #B42318; }
.hb-ftr__min { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding-block: 22px; font-size: 15px; }
.hb-ftr__min nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.hb-ftr__min a { color: var(--on-navy); } .hb-ftr__min a:hover { color: #fff; }
.hb-form__err { margin-top: 12px; color: #B42318; font-weight: 700; }
.hb-form__note { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.hb-form__note a { text-decoration: underline; }
.hb-form__done { text-align: center; padding-block: 20px; }
.hb-form__done > i { font-size: 56px; color: var(--teal-d); }
.hb-form__done p { color: var(--muted); margin-block: 6px 18px; }
.hb-form__done:focus { outline: none; }

/* how orders arrive + WhatsApp message mock */
.hb-flow__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hb-flow__steps { display: grid; gap: 18px; margin-top: 26px; }
.hb-flow__steps li { display: flex; gap: 16px; }
.hb-flow__steps b { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 19px; }
.hb-flow__steps h3 { font-size: 20px; font-weight: 900; color: var(--navy); line-height: 1.3; }
.hb-flow__steps p { color: var(--muted); }
.hb-chat { background: #ECE5DD; border: 1px solid var(--line); max-width: 400px; justify-self: center; width: 100%; box-shadow: 0 30px 60px -40px rgba(20, 33, 61, .6); }
.hb-chat__top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #075E54; color: #fff; font-weight: 700; }
.hb-chat__top i { font-size: 22px; }
.hb-chat__top small { margin-inline-start: auto; opacity: .75; font-weight: 400; }
.hb-chat__msg { margin: 18px 16px 22px; padding: 12px 14px 8px; background: #DCF8C6; display: grid; gap: 8px; font-size: 16px; line-height: 1.6; position: relative; }
.hb-chat__msg small { justify-self: end; color: #5F7A68; font-size: 13px; }

/* restaurant demos */
.hb-lpdemos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.hb-lpdemo { background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.hb-lpdemo__shots { position: relative; padding: 18px 18px 0 0; background: var(--tint); overflow: hidden; }
.hb-lpdemo__shots img:first-child { width: 88%; margin-inline-start: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.hb-lpdemo__shots img + img { position: absolute; left: 16px; bottom: -40px; width: 24%; border: 5px solid var(--navy); background: #fff; }
.hb-lpdemo__body { padding: 16px 20px 18px; border-top: 1px solid var(--line); }
.hb-lpdemo h3 { font-size: 22px; font-weight: 900; color: var(--navy); }
.hb-lpdemo p { color: var(--muted); }

/* sign-up form = Elementor Pro form «hb_lead», dressed like .hb-fld / .hb-btn */
.hb-form .elementor-form { margin-top: 4px; }
.hb-form .elementor-field-label { font-weight: 700; font-size: 15.5px; color: var(--navy); margin-bottom: 4px; }
.hb-form .elementor-field-textual, .hb-form .elementor-field-group select { height: 48px; min-height: 48px; padding: 0 14px; font: 400 17px 'Zain', sans-serif; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 0; transition: border-color .2s, background .2s; }
.hb-form .elementor-field-textual:focus, .hb-form .elementor-field-group select:focus { outline: none; border-color: var(--teal-d); background: #fff; box-shadow: none; }
.hb-form .elementor-select-wrapper::before { inset-inline-end: 12px; inset-inline-start: auto; color: var(--muted); }
.hb-form .elementor-field-type-acceptance { margin-top: 4px; }
.hb-form .elementor-field-subgroup .elementor-field-option { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink); }
.hb-form .elementor-field-option input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-d); }
.hb-form .elementor-field-option a { color: var(--teal-d); font-weight: 700; text-decoration: underline; }
.hb-form .elementor-message { font-weight: 700; font-size: 15px; margin-top: 10px; }
.hb-form .elementor-message-danger, .hb-form .elementor-error .elementor-field-option { color: #B42318; }
.hb-form .elementor-error .elementor-field-textual { border-color: #B42318; background: #FEF3F2; }
.hb-form .elementor-field-group .elementor-button { width: 100%; margin-top: 6px; padding: 15px 22px; font: 700 18px/1 'Zain', sans-serif; color: #fff; background: var(--teal-d); border: 2px solid var(--teal-d); border-radius: 0; transition: background .3s, border-color .3s; }
.hb-form .elementor-field-group .elementor-button:hover, .hb-form .elementor-field-group .elementor-button:focus-visible { background: var(--navy); border-color: var(--navy); }
.hb-form .elementor-button .elementor-button-text::after { content: " ←"; }
.hb-form .iti { width: 100%; }
/* features + single price card */
.hb-lpprice__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; margin-top: 26px; }
.hb-lpprice .hb-inc { grid-template-columns: 1fr 1fr; margin-top: 0; }

@media (max-width: 1000px) {
	.hb-lp__in, .hb-flow__in, .hb-lpprice__in { grid-template-columns: 1fr; }
	.hb-lp__phones { display: none; }
	.hb-form { max-width: 560px; }
}
@media (max-width: 640px) {
	.hb-lpdemos, .hb-lpprice .hb-inc, .hb-fld-row { grid-template-columns: 1fr; }
	.hb-hdr__go { padding: 9px 14px; font-size: 15px; }
}

/* checkout /start/ (assets/checkout.js) */
.hb-co { background: var(--paper); }
.hb-co__in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.hb-co__form h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; color: var(--navy); line-height: 1.25; }
.hb-co__step { border: 0; border-top: 1px solid var(--line); margin: 22px 0 0; padding: 18px 0 0; min-width: 0; }
.hb-co__step legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 12px; font-size: 20px; font-weight: 900; color: var(--navy); }
.hb-co__step > legend ~ * { clear: both; }
.hb-co__step legend span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 16px; }
.hb-co input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.hb-co__cycle { display: inline-flex; border: 1.5px solid var(--line); margin-bottom: 12px; }
.hb-co__cycle span { display: block; padding: 8px 16px; font-weight: 700; cursor: pointer; }
.hb-co__cycle small { color: var(--teal-d); }
.hb-co__cycle input:checked + span { background: var(--navy); color: #fff; }
.hb-co__cycle input:checked + span small { color: var(--teal); }
.hb-co__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hb-co__plan span, .hb-co__tpl { display: grid; gap: 2px; height: 100%; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.hb-co__plan b { font-size: 19px; color: var(--navy); }
.hb-co__plan small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.hb-co__plan em { font-style: normal; font-weight: 700; color: var(--teal-d); }
.hb-co__plan input:checked + span, .hb-co__tpl:has(input:checked) { border-color: var(--teal-d); box-shadow: inset 0 0 0 1.5px var(--teal-d); background: var(--tint); }
.hb-co__plan input:focus-visible + span, .hb-co__tpl:has(input:focus-visible), .hb-co__cycle input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hb-co__tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hb-co__tpl { position: relative; padding: 8px; align-content: start; }
.hb-co__tpl img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.hb-co__tpl span { display: grid; padding: 6px 4px 0; }
.hb-co__tpl b { color: var(--navy); font-size: 17px; }
.hb-co__tpl small { color: var(--muted); font-size: 14px; }
.hb-co__tpl a { position: absolute; top: 14px; left: 14px; padding: 3px 8px; background: rgba(20, 33, 61, .85); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.hb-co__msg { color: #B42318; font-weight: 700; font-size: 14px; }
.hb-co__sub label { font-weight: 700; font-size: 15.5px; color: var(--navy); }
.hb-co__url { display: flex; border: 1.5px solid var(--line); background: var(--paper); }
.hb-co__url:focus-within { border-color: var(--teal-d); background: #fff; }
.hb-fld .hb-co__url input { border: 0; background: transparent; text-align: left; flex: 1; min-width: 0; }
.hb-fld .hb-co__url span { display: flex; align-items: center; padding: 0 12px; font-weight: 400; color: var(--muted); background: #fff; border-left: 1px solid var(--line); }
.hb-fld.is-bad .hb-co__url, .hb-fld.is-bad .hb-co__tel { border-color: #B42318; }
.hb-co__sub label, .hb-fld > label { font-weight: 700; font-size: 15.5px; color: var(--navy); }
.hb-co__tel { display: flex; border: 1.5px solid var(--line); background: var(--paper); }
.hb-co__tel:focus-within { border-color: var(--teal-d); background: #fff; }
.hb-fld .hb-co__tel select { width: auto; flex: none; max-width: 46%; border: 0; border-right: 1px solid var(--line); background: #fff; padding: 0 8px; font-size: 15.5px; direction: ltr; }
.hb-fld .hb-co__tel input { border: 0; background: transparent; text-align: left; flex: 1; min-width: 0; }
.hb-co__hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
.hb-co__hint.is-bad { color: #B42318; font-weight: 700; }
.hb-co__hint.is-ok { color: var(--teal-d); font-weight: 700; }
.hb-co .hb-consent { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.hb-co__sum { position: sticky; top: calc(var(--hh) + 16px); background: var(--navy); color: var(--on-navy); padding: 24px; }
.hb-co__sum h2 { font-size: 26px; font-weight: 900; color: #fff; }
.hb-co__sum .hb-eyebrow { color: var(--teal); }
.hb-co__price { margin-top: 6px; font-size: 18px; color: #fff; }
.hb-co__price b { font-size: 44px; font-weight: 900; line-height: 1; }
.hb-co__usd { margin-top: 6px; font-size: 15px; }
.hb-co__ticks { margin-top: 16px; color: #fff; display: grid; gap: 6px; }
.hb-co__help { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 15px; }
.hb-co__help a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.hb-co__done { grid-column: 1 / -1; max-width: 620px; margin-inline: auto; width: 100%; text-align: center; padding-block: 36px; }
.hb-co__done:focus { outline: none; }
.hb-co__done > div > i { font-size: 56px; color: var(--teal-d); }
.hb-co__done p { color: var(--muted); margin-block: 6px 14px; }
.hb-co__done .hb-btns { justify-content: center; }
.hb-co__site { font: 700 20px 'Zain', sans-serif; color: var(--teal-d); text-decoration: underline; direction: ltr; display: inline-block; }
.hb-co__spin { display: inline-block; width: 44px; height: 44px; border: 4px solid var(--line); border-top-color: var(--teal-d); border-radius: 50%; animation: hb-spin 1s linear infinite; margin-bottom: 12px; }
@keyframes hb-spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
	.hb-co__in { grid-template-columns: 1fr; }
	.hb-co__sum { position: static; order: -1; }
	.hb-co__form { max-width: none; }
}
@media (max-width: 640px) {
	.hb-co__plans, .hb-co__tpls { grid-template-columns: 1fr; }
	.hb-co__tpl { grid-template-columns: 120px 1fr; align-items: center; gap: 0 10px; }
	.hb-co__tpl img { grid-row: span 2; }
	.hb-co__tpl a { position: static; grid-column: 2; justify-self: start; background: none; color: var(--teal-d); padding: 0; }
	.hb-co__cycle { display: flex; } .hb-co__cycle label { flex: 1; text-align: center; }
	.hb-co__sum { padding: 18px; }
	.hb-co__price b { font-size: 36px; }
}

/* login /login/: Ultimate Multisite's [wu_login_form] restyled (its utility classes are wu-*) */
.hb-login { background: var(--paper); }
.hb-login__in { display: grid; grid-template-columns: 1fr 1fr; max-width: 1040px; box-shadow: 0 30px 60px -40px rgba(20, 33, 61, .55); }
.hb-login__side { background: var(--navy); color: var(--on-navy); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.hb-login__side .hb-eyebrow { color: var(--teal); margin: 0; }
.hb-login__side h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 900; color: #fff; line-height: 1.2; }
.hb-login__perks { display: grid; gap: 10px; margin-top: 6px; }
.hb-login__perks li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.hb-login__perks i { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(46, 196, 182, .14); color: var(--teal); font-size: 19px; flex: none; }
.hb-login__new { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; gap: 4px; justify-items: start; }
.hb-login__new b { color: #fff; font-size: 19px; }
.hb-login__new span { font-size: 15.5px; }
.hb-login__new .hb-btn { margin-top: 10px; }
.hb-login .hb-login__form { border-top: 0; box-shadow: none; border-inline-start: 0; padding: clamp(24px, 4vw, 44px); }
.hb-login__help { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); text-align: center; }
.hb-login__help a { color: var(--teal-d); font-weight: 700; text-decoration: underline; }
.hb-login .wu-login-form, .hb-login .wu-styling { font-family: 'Zain', sans-serif; color: var(--ink); }
.hb-login .wu-login-form h2 { font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.hb-login .wu-login-form .wu-ml-auto { display: none; } /* UM's "Create an Account" → we sell on /start/ */
.hb-login .wu-login-form ul > li { padding-block: 7px !important; }
.hb-login .wu-text-2xs { font-size: 15.5px !important; text-transform: none !important; color: var(--navy); letter-spacing: 0; }
.hb-login .wu-text-xs { font-size: 14px !important; color: var(--muted); }
.hb-login .form-control, .hb-login input[type=text], .hb-login input[type=password], .hb-login input[type=email] {
	width: 100%; height: 50px; padding: 0 14px; font: 400 17px 'Zain', sans-serif; color: var(--ink); background: var(--paper);
	border: 1.5px solid var(--line); border-radius: 0; box-shadow: none; transition: border-color .2s, background .2s; }
.hb-login .form-control:focus, .hb-login input:focus { outline: none; border-color: var(--teal-d); background: #fff; }
.hb-login .wu-password-input { padding-left: 48px; }
.hb-login .wu-pwd-toggle { right: auto !important; left: 4px !important; top: 50% !important; transform: translateY(-50%); width: 42px; height: 42px; color: var(--muted); cursor: pointer; }
.hb-login .wu-tgl-ios + .wu-tgl-btn { background: var(--line) !important; }
.hb-login .wu-tgl-ios:checked + .wu-tgl-btn { background: var(--teal-d) !important; }
.hb-login .wu-tgl-ios:focus-visible + .wu-tgl-btn { outline: 3px solid var(--teal); outline-offset: 2px; }
.hb-login .button { font: 700 18px/1 'Zain', sans-serif; border-radius: 0; box-shadow: none; text-shadow: none; cursor: pointer; }
.hb-login .button-primary { width: 100%; height: 54px; background: var(--teal-d) !important; border: 2px solid var(--teal-d) !important; color: #fff !important; transition: background .3s, border-color .3s; }
.hb-login .button-primary:hover, .hb-login .button-primary:focus-visible { background: var(--navy) !important; border-color: var(--navy) !important; }
.hb-login #wrapper-field-lost-password a, .hb-login .wu-login-form a:not(.button) { font-size: 15px; color: var(--teal-d); font-weight: 700; text-decoration: underline; }
@media (max-width: 860px) {
	.hb-login__in { grid-template-columns: 1fr; }
	.hb-login__form { order: -1; }
	.hb-login__perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .hb-login__perks { grid-template-columns: 1fr; } }

/* reveal on scroll (hub.js adds .hb-reveal then .is-in) */
.hb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hb-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
	.hb-hero__in { grid-template-columns: 1fr; }
	.hb-dev { max-width: 640px; }
	.hb-grid, .hb-plans { grid-template-columns: 1fr 1fr; }
	.hb-plans .hb-plan:last-child { grid-column: 1 / -1; }
	.hb-inc { grid-template-columns: 1fr 1fr; }
	.hb-faq__in { grid-template-columns: 1fr; }
	.hb-ftr__in { grid-template-columns: 1fr 1fr; }
	.hb-ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.hb-nav, .hb-hdr__cta { display: none; }
	.hb-burger { display: grid; margin-inline-start: auto; }
}
@media (min-width: 861px) { .hb-mnav { display: none !important; } }
@media (max-width: 640px) {
	:root { --hh: 62px; }
	body { font-size: 16.5px; }
	.hb-logo img { height: 36px; }
	.hb-logo span { font-size: 20px; }
	.hb-steps, .hb-grid, .hb-plans, .hb-inc { grid-template-columns: 1fr; }
	.hb-plans .hb-plan:last-child { grid-column: auto; }
	.hb-dev { padding: 0 0 36px 34px; }
	.hb-dev__name { min-width: 0; }
	.hb-dev__name span { font-size: 14px; padding: 5px 10px; }
	.hb-hero .hb-btns .hb-btn { flex: 1; }
	.hb-head { align-items: start; }
	.hb-filter { width: 100%; }
	.hb-filter button { flex: 1; padding-inline: 8px; }
	.hb-period { width: 100%; } .hb-period button { flex: 1; }
	.hb-cta::after { display: none; }
	.hb-cta__in { padding-inline-end: 0; }
	.hb-cta .hb-btn { flex: 1; }
	.hb-ftr__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
	.hb-reveal { opacity: 1; transform: none; }
}

/* delivery-commission calculator */
.hb-calc-hero__in { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 72px); }
.hb-faq details p a { color: var(--teal-d); font-weight: 700; text-decoration: underline; }
.hb-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal-d); padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -40px rgba(20, 33, 61, .55); }
.hb-calc__fields { display: grid; gap: 16px; }
.hb-calc__f > span:first-child { display: block; font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.hb-calc__in { display: flex; align-items: center; border: 1.5px solid var(--line); background: var(--paper); }
.hb-calc__in:focus-within { border-color: var(--teal-d); background: #fff; }
.hb-calc__in input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; background: transparent; font: 700 19px 'Zain', sans-serif; color: var(--ink); direction: ltr; text-align: right; }
.hb-calc__in input:focus { outline: none; }
.hb-calc__in small { padding-inline: 14px; color: var(--muted); font-size: 15px; }
.hb-calc__out { display: grid; gap: 12px; align-content: start; background: var(--navy); color: var(--on-navy); padding: clamp(18px, 3vw, 28px); }
.hb-calc__out p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 10px; }
.hb-calc__out b { font-size: 26px; font-weight: 900; color: #fff; margin-inline-start: auto; }
.hb-calc__out .hb-calc__big b { font-size: clamp(34px, 4vw, 44px); color: var(--teal); }
.hb-calc__note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.hb-calc-how { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.hb-calc-fair { background: var(--tint); border-inline-start: 4px solid var(--teal-d); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; justify-items: start; }
.hb-calc-fair h3 { font-size: 22px; font-weight: 900; color: var(--navy); }
@media (max-width: 860px) { .hb-calc, .hb-calc-how { grid-template-columns: 1fr; } }
