/*
 * Landing pages on Quiet Shelf: חנוכה לעסקים (/hanukkah-business/) and the client, events and branded pages
 * (sections/b2b-landing.php). The Hanukkah page is the template for all of them (Jonas, 11 Nov 2026): photo hero
 * (sections/lp-hero.php), seam, three promises, quotes, questions, closing form. Loads after business.css, which gives
 * the shared parts (hero frame, eyebrow, lede, h2, quote form, checkbox). Kit tokens only.
 * Class names hnk-* are the hooks of the mu-plugin's hnk.js and stay as they are.
 */

/* Hero like the business page (Jonas, 11 Nov 2026): business.css .shg-bhero--ribbon gives the size, photo and centred text.
   Here: a dark shade so light text reads on a bright photo, and the logo loop on the bottom edge. Photo position per page
   (--lp-pos, --lp-pos-m from sections/lp-hero.php). */
.shg-hnkb-bhero .shg-bhero__img { object-position: var(--lp-pos, 50% 50%); }
.shg-hnkb-bhero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 55% at 50% 45%, rgb(18 14 12 / .72), rgb(18 14 12 / .48) 100%); }
.shg-hnkb-bhero .shg-bhero__c { z-index: 2; inset-block-end: 84px; }
.shg-hnkb-bhero.shg-bhero--ribbon { block-size: 640px; } /* landing pages: 640px, was the business page's 760px (Jonas, 17 Nov 2026) */
.shg-hnkb-bhero .shg-hnkb-trust { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; padding: 22px 80px 26px; border-block-start: 1px solid rgb(255 246 238 / .2); background: rgb(36 14 12 / .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.shg-hnkb-bhero .shg-hnkb-trust { grid-template-columns: minmax(0, 1fr); } /* logos only, no "סומכים עלינו" label (Jonas, 11 Nov 2026); the band keeps its aria-label */
.shg-hnkb-bhero .shg-trust__lab { display: none; }

/* Forms */
.shg-hnkb .hnk-btn[disabled] { cursor: wait; opacity: .8; }
.shg-hnkb .hnk-hp { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Seam: the kit band carrying the phase lines and the day count */
.shg-hnkb-seam { margin-block-start: var(--hero-inset); }
.shg-hnkb-seam .qs-seam__he { font-size: 18px; color: var(--ink); }
.shg-hnkb-seam .qs-seam__track { animation-duration: 120s; }

/* Three promises */
.shg-hnkb-prom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: 96px; padding-inline: 60px; }
.shg-hnkb-prom__i { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-inline: 40px; border-inline-start: 1px solid var(--ink-14); }
.shg-hnkb-prom__i:first-child { padding-inline-start: 0; border-inline-start: 0; }
.shg-hnkb-prom__i:last-child { padding-inline-end: 0; }
.shg-hnkb-prom__i i { display: grid; place-items: center; inline-size: 56px; block-size: 56px; margin-block-end: 6px; border-radius: 50%; background: var(--pale-sky); color: var(--ink); }
.shg-hnkb-prom__i svg { inline-size: 26px; block-size: 26px; }
.shg-hnkb-prom__i h3 { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.25; }
.shg-hnkb-prom__i p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-70); }

@media (max-width: 1100px) {
	.shg-hnkb-bhero .shg-hnkb-trust { padding-inline: 48px; }
	.shg-hnkb-prom { padding-inline: 32px; }
	.shg-hnkb-prom__i { padding-inline: 24px; }
}
@media (max-width: 749px) {
	/* Phones: the page's phone photo when it has one, under the same dark shade as desktop, text in the middle (Jonas, 11 Nov 2026). */
	.shg-hnkb-bhero .shg-bhero__img { object-position: var(--lp-pos-m, 50% 50%); animation: none; }
	.shg-hnkb-bhero .shg-bhero__c { inset-block-end: 96px; justify-content: center; background: none; }
	.shg-hnkb-bhero.shg-bhero--ribbon { block-size: 540px; } /* was 640px, too tall on a phone (Jonas, 17 Nov 2026) */
	.shg-hnkb-bhero .shg-hnkb-trust { padding: 18px 0 22px; }
	.shg-hnkb-seam .qs-seam__he { font-size: 15px; }
	.shg-hnkb-prom { grid-template-columns: 1fr; gap: 28px; margin-block-start: 64px; padding-inline: 20px; }
	.shg-hnkb-prom__i,
	.shg-hnkb-prom__i:first-child,
	.shg-hnkb-prom__i:last-child { padding: 0 0 28px; border-inline-start: 0; border-block-end: 1px solid var(--ink-14); }
	.shg-hnkb-prom__i:last-child { padding-block-end: 0; border-block-end: 0; }
	.shg-hnkb-prom__i h3 { font-size: 21px; }
}


/* ---------- The Pesach client page hero (sections/b2b-landing.php, 'hero' => 'stack'): homepage slide 3 with a quote form
   instead of the button (Jonas, 26 Nov 2026), in the style of the company join form (shooglis-portal assets/door.css):
   underlined fields on bordeaux, placeholders as labels, two columns, the Seashell button across. ---------- */
.shg-blp-hs .shg-hs__slide { block-size: auto; min-block-size: 560px; }
.shg-blp-hs .shg-hs__panel { gap: 16px; padding-block: 48px 52px; }
.shg-blp-hs .shg-hs__t { max-inline-size: 16ch; }
.shg-hf { --l: 255 246 238; inline-size: min(100%, 520px); text-align: start; }
.shg-hf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.shg-hf__row { display: flex; align-items: center; min-block-size: 50px; border-block-end: 1px solid rgb(var(--l) / .6); }
.shg-hf__row:focus-within { border-color: rgb(var(--l)); }
.shg-hf__in { inline-size: 100%; min-inline-size: 0; block-size: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; font-size: 18px; color: rgb(var(--l)); outline: 0; }
.shg-hf__in::placeholder { color: rgb(var(--l) / .7); opacity: 1; }
.shg-hf__in[type="tel"], .shg-hf__in[type="email"] { text-align: right; }
.shg-hf__in[type="tel"]:not(:placeholder-shown), .shg-hf__in[type="email"]:not(:placeholder-shown) { direction: ltr; }
.shg-hf select.shg-hf__in { appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff6ee' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left center / 18px; }
.shg-hf select.shg-hf__in:invalid, .shg-hf select.shg-hf__in option[value=""] { color: rgb(var(--l) / .7); }
.shg-hf select.shg-hf__in option { color: var(--ink, #381b20); }
.shg-hf__in:-webkit-autofill { -webkit-text-fill-color: rgb(var(--l)); transition: background-color 9999s; caret-color: rgb(var(--l)); }
.shg-hf__row:has([aria-invalid="true"]) { border-color: var(--pale-sky, #c6dae6); }
.shg-hf__opt { display: flex; align-items: flex-start; gap: 10px; margin-block-start: 16px; font-size: 13.5px; line-height: 1.45; color: rgb(var(--l) / .72); cursor: pointer; }
.shg-hf__opt input { inline-size: 16px; block-size: 16px; margin: 2px 0 0; flex: none; accent-color: var(--pale-sky, #c6dae6); }
.shg-hf .qs-btn.shg-hf__go { display: flex; inline-size: 100%; margin-block-start: 18px; }
.shg-hf__msg { margin: 12px 0 0; font-size: 13.5px; color: rgb(var(--l) / .72); text-align: center; }
.shg-hf__msg.is-error { color: var(--pale-sky, #c6dae6); }
.shg-hf__ok { text-align: center; }
.shg-hf__ok .shg-h2t { margin: 0 0 8px; color: inherit; }
.shg-hf :focus-visible { outline: 2px solid rgb(var(--l)); outline-offset: 4px; }
@media (max-width: 749px) {
	.shg-blp-hs .shg-hs__slide { min-block-size: 0; }
	.shg-blp-hs .shg-hs__panel { gap: 10px; padding: 22px 20px 24px; }
	.shg-hf__grid { grid-template-columns: 1fr; gap: 2px; }
	.shg-hf__in { font-size: 16px; }
}

/* "סומכים עלינו" (Jonas, 26 Nov 2026, from his reference image): a tab in the page colour, notched into the top edge of the
   photo and centred, its bottom corners rounded and its top corners curving into the photo's edge. */
.shg-blp-tab { position: absolute; z-index: 2; inset-block-start: 0; left: 50%; transform: translateX(-50%); inline-size: 224px; block-size: 50px; display: grid; place-items: center; padding-block-end: 2px; color: var(--ink, #381b20); font-size: 18px; line-height: 1; white-space: nowrap; pointer-events: none; }
.shg-blp-tab svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; fill: var(--shg-page-bg, #fff); } /* One vector shape (Jonas, 26 Nov 2026: "why isn't it smooth?"): concave top corners, rounded bottom ones, no gradient seams. */
.shg-blp-tab > span { position: relative; }
@media (max-width: 749px) {
	.shg-blp-tab { inline-size: 152px; block-size: 34px; font-size: 13px; }
	.shg-blp-hs .shg-hs__media .shg-ls { --ls-m-fy: 0; } /* Phones: the crop starts at the top of the wall, so the tab covers as little of the top box as possible. */
}

/* The landing pages' photo hero with the form (sections/lp-hero.php 'form', Jonas 26 Nov 2026): the same hero, a bit taller,
   the words and the form flowing down the middle, the logo loop still on the bottom edge. Desktop: three columns;
   phones: two, with company and email across. */
.shg-hnkb-bhero--form.shg-bhero--ribbon { block-size: auto; min-block-size: 760px; display: flex; }
.shg-hnkb-bhero--form .shg-bhero__c { position: relative; inset: auto; flex: 1; padding: 64px 24px 150px; gap: 16px; }
.shg-hnkb-bhero--form .shg-hf { inline-size: min(100%, 780px); margin-inline: auto; }
.shg-hf--3 .shg-hf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 28px; }
.shg-hf--3 .shg-hf__opt { justify-content: center; }
.shg-hnkb-bhero--form .shg-hf__ok { color: var(--seashell); }
@media (max-width: 749px) {
	.shg-hnkb-bhero--form.shg-bhero--ribbon { min-block-size: 640px; }
	.shg-hnkb-bhero--form .shg-bhero__c { padding: 36px 16px 120px; gap: 12px; }
	.shg-hf--3 .shg-hf__grid { grid-template-columns: 1fr 1fr; gap: 2px 18px; }
	.shg-hf--3 .shg-hf__row--company, .shg-hf--3 .shg-hf__row--email { grid-column: 1 / -1; }
	.shg-hf--3 .shg-hf__row--name { order: 1; } .shg-hf--3 .shg-hf__row--phone { order: 2; } .shg-hf--3 .shg-hf__row--company { order: 3; }
	.shg-hf--3 .shg-hf__row--email { order: 4; } .shg-hf--3 .shg-hf__row--budget { order: 5; } .shg-hf--3 .shg-hf__row--quantity { order: 6; }
	.shg-hf--3 .shg-hf__opt { justify-content: flex-start; }
}
/* With the form the hero carries more text: a darker shade and a soft blur on the photo (Jonas, 26 Nov 2026: "the text isn't readable enough"). */
.shg-hnkb-bhero--form::after { background: radial-gradient(70% 65% at 50% 45%, rgb(18 14 12 / .8), rgb(18 14 12 / .62) 100%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ---------- The hero with the form, direction A "Quiet" (Jonas picked it, 26 Nov 2026): headline and fields only, the
   privacy line only on errors, a quiet opt-in with a drawn tick; the lede sits under the hero (.shg-blp-intro). ---------- */
.shg-hnkb-bhero--form .shg-hf__msg:not(.is-error) { display: none; }
.shg-hnkb-bhero--form .shg-hf__opt { font-size: 12.5px; color: rgb(255 246 238 / .62); align-items: center; margin-block-start: 14px; }
.shg-hnkb-bhero--form .shg-hf__opt input { appearance: none; -webkit-appearance: none; inline-size: 15px; block-size: 15px; margin: 0; border: 1px solid rgb(255 246 238 / .55); border-radius: 4px; display: grid; place-content: center; cursor: pointer; }
.shg-hnkb-bhero--form .shg-hf__opt input:checked { background: var(--seashell, #fff6ee); border-color: var(--seashell, #fff6ee); }
.shg-hnkb-bhero--form .shg-hf__opt input:checked::after { content: ""; inline-size: 8px; block-size: 4px; border: 1.6px solid var(--inverse, #4c1e20); border-block-start: 0; border-inline-end: 0; transform: translateY(-1px) rotate(-45deg); }
.shg-hnkb-bhero--form .shg-hf__in { font-size: 16px; }
.shg-hnkb-bhero--form .shg-hf__row { min-block-size: 46px; }
.shg-hnkb-bhero--form .shg-bhero__t { font-size: 52px; }
.shg-hnkb-bhero--form .shg-bhero__c { gap: 22px; padding-block-start: 80px; }
.shg-hnkb-bhero--form .shg-hf { inline-size: min(100%, 720px); }
/* The lede under the hero, in place of the three promises (Jonas, 26 Nov 2026: it is good for SEO). */
.shg-blp-intro { max-inline-size: 760px; margin: 56px auto 8px; padding-inline: 24px; text-align: center; }
.shg-blp-intro p { margin: 0; font-size: 21px; line-height: 1.6; color: var(--ink, #381b20); text-wrap: pretty; }
@media (max-width: 749px) {
	.shg-hnkb-bhero--form .shg-bhero__t { font-size: 32px; }
	.shg-blp-intro { margin-block: 36px 0; padding-inline: 20px; }
	.shg-blp-intro p { font-size: 17px; }
}
