/* Sections: the shared skeleton (layout, spacing, type). Brand looks live in each child's brand.css.
   Logical properties only. */

.h-sec { padding-block: var(--h-section); }
.h-sec--tint { background: var(--c-tint); }
/* Rhythm. Two sections on the same background in a row share one gap (not two paddings stacked: 192px of
   nothing on desktop). A section right under the hero, or under the group links, starts closer. */
:is(.h-sec, .h-section):not(.h-sec--tint, .h-section--tint, .h-section--paper, .h-section--dark)
	+ :is(.h-sec, .h-section):not(.h-sec--tint, .h-section--tint, .h-section--paper, .h-section--dark) { padding-block-start: 0; }
.h-hero2 + :is(.h-sec, .h-section):not(.h-sec--packstrip) { padding-block-start: clamp(40px, 5vw, 64px); }
.h-grouplink-wrap + :is(.h-sec, .h-section) { padding-block-start: clamp(24px, 3vw, 40px); }
.h-sec__title { font-size: var(--wp--preset--font-size--h-2); line-height: 1.12; margin: 8px 0 28px; max-inline-size: 22ch; text-wrap: balance; }
.h-sec__lead { margin-block: -12px 32px; max-inline-size: 60ch; color: var(--c-muted); }
.h-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--c-brand); margin: 0; }
.h-eyebrow i { display: inline-block; flex: none; }
.h-hl { color: var(--c-accent, var(--c-link)); }
.h-hl--line { display: block; } /* a highlight that ends the title takes its own line */

/* buttons: shape and colour per brand */
.h-btn--line { box-shadow: inset 0 0 0 3px currentColor; color: var(--c-btn); background: transparent; }
.h-btn--line:hover { background: var(--c-tint); }

/* ---------- hero ----------
   Each brand sets: --h-title (title size), the column split, and its own signature visual (brand.css).
   The visual can reach past the container toward the viewport edge; the hero clips it (overflow hidden). */
.h-hero2 { position: relative; padding-block: clamp(20px, 3.5vw, 48px) clamp(48px, 6vw, 80px); overflow: hidden; }
.h-hero2__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.h-hero2__text { position: relative; }
.h-hero2__title { font-size: var(--h-title, clamp(40px, 5.6vw, 82px)); font-weight: 700; line-height: 1.04; margin: 20px 0 24px; text-wrap: balance; }
.h-hero2--inner .h-hero2__title { font-size: clamp(36px, 4.4vw, 64px); }
.h-hero2--long .h-hero2__title { font-size: calc(var(--h-title, clamp(40px, 5.6vw, 82px)) * .8); }
.h-hero2__lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.6; max-inline-size: 44ch; margin: 0; color: var(--c-text); }
.h-hero2__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 34px; }
.h-hero2__acts .h-btn { min-block-size: 60px; padding-inline: 30px; font-size: 19px; }
.h-hero2__acts .h-btn svg { inline-size: 22px; block-size: 22px; }
.h-facts { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-block-start: 44px; }
.h-facts b { display: block; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; color: var(--c-ink); }
.h-facts span { font-size: 15px; color: var(--c-muted); }
/* price pill: "from 99 ₪ a month", the number big; the shekel sign follows it in the reading direction */
.h-price-pill { display: inline-flex; align-items: baseline; gap: 10px; margin-block-start: 28px; background: #fff; border-radius: 999px; padding: 12px 32px 14px; color: var(--c-ink); box-shadow: 0 14px 34px -18px rgba(15, 23, 42, .3); }
.h-price-pill b { font-size: clamp(40px, 3.6vw, 56px); line-height: 1; font-weight: 700; }
.h-price-pill__cur { font-size: clamp(26px, 2.2vw, 34px); font-weight: 700; line-height: 1; }
.h-price-pill small { font-size: clamp(16px, 1.3vw, 19px); color: var(--c-muted); white-space: nowrap; }
/* desktop and laptop: the whole first section fits the first screen (Moti, 29.11). --h-fold is the screen height left
   under the group bar and the header (base.css --h-chrome). On a tall screen nothing changes; on a short one the title,
   the gaps and the price shrink with the height. Each brand.css caps its own visual by --h-fold and may set --h-fit
   (the title's share of the height). tests/check_fold.py checks every page with a hero. */
@media (min-width: 861px) and (orientation: landscape) {
	.h-hero2 { --h-fold: calc(100svh - var(--h-chrome)); --h-fit: .115; padding-block-start: min(clamp(20px, 3.5vw, 48px), calc(var(--h-fold) * .04)); }
	.h-hero2__title { font-size: min(var(--h-title, clamp(40px, 5.6vw, 82px)), calc(var(--h-fold) * var(--h-fit))); margin-block: min(20px, calc(var(--h-fold) * .028)) min(24px, calc(var(--h-fold) * .032)); }
	.h-hero2--long .h-hero2__title { font-size: min(calc(var(--h-title, clamp(40px, 5.6vw, 82px)) * .8), calc(var(--h-fold) * var(--h-fit) * .87)); }
	.h-hero2--inner .h-hero2__title { font-size: min(clamp(36px, 4.4vw, 64px), calc(var(--h-fold) * .1)); }
	.h-hero2__lead { font-size: min(clamp(18px, 1.55vw, 22px), max(18px, calc(var(--h-fold) * .036))); }
	.h-hero2__acts { margin-block-start: min(34px, calc(var(--h-fold) * .045)); }
	.h-facts { margin-block-start: min(44px, calc(var(--h-fold) * .05)); }
	.h-price-pill { margin-block-start: min(28px, calc(var(--h-fold) * .036)); padding-block: min(12px, calc(var(--h-fold) * .016)) min(14px, calc(var(--h-fold) * .018)); }
	.h-price-pill b { font-size: min(clamp(40px, 3.6vw, 56px), calc(var(--h-fold) * .08)); }
}
/* English (left-to-right, Moti 29.11 "RTL LTR"): the first section keeps the Hebrew composition exactly. Each brand
   visual is drawn in one direction (K-Telecom's stream flows into the K from the left; Koriz's and Harel's lines run
   from the visual under the words; the group's hexagons frame the hive), so the section itself stays right-to-left
   and only the words inside it run left-to-right. */
[dir="ltr"] .h-hero2 { direction: rtl; }
/* a long headline steps down (.h-hero2--long), never under the phone's 28px headline floor */
@media (max-width: 860px) { .h-hero2--long .h-hero2__title { font-size: max(28px, calc(var(--h-title, clamp(40px, 5.6vw, 82px)) * .8)); } }
/* the words: left-aligned, each block from the column's left edge (physical left on purpose: the column itself is
   right-to-left, so a logical "start" here would be the right) */
[dir="ltr"] .h-hero2__text { text-align: left; }
[dir="ltr"] .h-hero2__text > * { direction: ltr; margin-inline-end: auto; }
/* words inside a visual read left-to-right too (Harel's service-desk screen, the hive's labels, Koriz's feed) */
/* (on the words, never on a cell: a cell's own direction would flip its logical offsets and move it) */
[dir="ltr"] .h-hero2 :is(.h-screen, .h-hive__tag, .h-hive__count p, .h-kcam__hud) { direction: ltr; }
@keyframes h-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
[data-enter] > * { animation: h-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
[data-enter] > *:nth-child(2) { animation-delay: .08s; }
[data-enter] > *:nth-child(3) { animation-delay: .16s; }
[data-enter] > *:nth-child(4) { animation-delay: .24s; }
[data-enter] > *:nth-child(5) { animation-delay: .32s; }

/* ---------- what's included ---------- */
.h-incs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
/* five or six cards: three a row (3+2 / 3+3), never four and a lonely one */
@media (min-width: 900px) { .h-incs:has(> :nth-child(5):last-child, > :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h-inc { position: relative; background: var(--c-tint); border-radius: var(--h-radius); padding: 24px; max-inline-size: none; }
/* a card whose title links: the whole card is the link */
.h-inc--link h3 a { color: var(--c-ink); text-decoration: none; }
.h-inc--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.h-inc--link { transition: transform .2s var(--h-ease), box-shadow .2s var(--h-ease); }
.h-inc--link:hover, .h-inc--link:has(a:focus-visible) { transform: translateY(-2px); box-shadow: 0 16px 32px -22px rgba(15, 23, 42, .45); }
.h-inc--link:hover h3 a { color: var(--c-link); }
.h-inc[data-company] h3 a, .h-inc[data-company]:hover h3 a { color: var(--co); }
.h-inc h3 { font-size: 20px; margin: 14px 0 6px; }
.h-inc p { font-size: 16px; margin: 0; color: var(--c-text); max-inline-size: none; }
.h-inc p a { display: inline-flex; align-items: center; min-block-size: 44px; } /* a phone or WhatsApp link in a card: a finger's target */
.h-inc__ico svg { inline-size: 36px; block-size: 36px; color: var(--c-icon); }

/* ---------- who it's for / price ---------- */
.h-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.h-checks li { position: relative; padding-inline-start: 34px; max-inline-size: none; }
.h-checks li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .35em; inline-size: 20px; block-size: 20px; border-radius: 50%; background: var(--c-brand); -webkit-mask: none; }
.h-checks li::after { content: ""; position: absolute; inset-inline-start: 6px; inset-block-start: calc(.35em + 5px); inline-size: 8px; block-size: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.h-price { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.h-factors { margin: 16px 0 0; padding-inline-start: 20px; }
.h-price__cta { background: var(--c-hero); color: #fff; border-radius: var(--h-radius); padding: 28px; display: grid; gap: 16px; }
.h-price__cta p { margin: 0; color: rgba(255, 255, 255, .9); }
/* on the dark box the outline button is white (each brand's own outline colour would sink into it) */
.h-price__cta .h-btn.h-btn--line { color: #fff; }
.h-price__cta .h-btn.h-btn--line:hover { background: rgba(255, 255, 255, .1); }

/* ---------- packages ---------- */
.h-packs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.h-pack { position: relative; background: #fff; border-radius: var(--h-radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
/* the whole card is its join link (the button's ::after covers it) */
.h-pack__go::after { content: ""; position: absolute; inset: 0; }
/* No press-scale on the join button: a transformed element becomes the containing block of its own ::after, so the
   card-wide overlay would shrink to the button on mousedown and a click on the card body would be lost. The press
   is shown on the whole card instead (the card is the overlay's containing block anyway). */
.h-pack__go:active { transform: none; }
.h-pack { transition: transform .2s var(--h-ease), box-shadow .2s var(--h-ease); }
.h-pack:has(.h-pack__go:active) { transform: scale(.985); }
.h-pack__hd { display: flex; align-items: center; gap: 12px; }
.h-pack h3 { font-size: 22px; margin: 0; }
.h-pack__sub { margin: 0; font-size: 15px; color: var(--c-muted); }
.h-pack__price { margin: 0; display: flex; align-items: baseline; gap: 6px; color: var(--c-ink); }
.h-pack__price b { font-size: 44px; line-height: 1; font-weight: 700; }
.h-pack__cur { font-size: 26px; font-weight: 700; }
.h-pack__price small { color: var(--c-muted); font-size: 16px; }
.h-pack__note { font-size: 14px; color: var(--c-muted); margin: 0; }
.h-pack .h-btn { align-self: flex-start; margin-block-start: 6px; }
/* full cards: the feature list takes the slack, so every card's note and join button sit on one line */
.h-pack > .h-checks { flex: 1; align-content: start; }
.h-pack__line { display: none; }
.h-packs__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-block-start: 20px; font-size: 15px; color: var(--c-muted); }
.h-packs__note { margin: 0; }
.h-packs__more { display: inline-flex; align-items: center; min-block-size: 44px; font-weight: 600; color: var(--c-link); }
/* the compact strip under a hero: on the hero's own colour, no section break */
.h-sec--packstrip { padding-block-start: 0; }
.h-sec--packstrip .h-sec__title { margin-block: 0 26px; }
.h-sec--packstrip .h-pack__price { margin-block-start: auto; padding-block-start: 6px; }
.h-sec--packstrip .h-pack .h-btn { align-self: stretch; }

/* ---------- steps ---------- */
.h-sec--steps .h-steps > li { display: grid; gap: 6px; align-content: start; }
.h-sec--steps .h-steps > li span { font-size: 16px; }

/* ---------- brands ---------- */
.h-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.h-brands li { background: #fff; border-radius: var(--h-radius); padding: 12px 20px; font-weight: 600; color: var(--c-ink); font-family: var(--wp--preset--font-family--plex); }

/* ---------- FAQ ---------- */
.h-faq { display: grid; gap: 10px; max-inline-size: 860px; }
.h-faq__item { background: #fff; border-radius: var(--h-card-radius, var(--h-radius)); padding-inline: 22px; }
.h-faq__item summary { min-block-size: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--c-ink); cursor: pointer; list-style: none; padding-block: 14px; }
.h-faq__item summary::-webkit-details-marker { display: none; }
/* the "+" shows the open/closed state, so it needs 3:1: the link colour (K-Telecom's light brand green is 2.83:1 on white) */
.h-faq__item summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--c-link); transition: transform .2s; }
.h-faq__item[open] summary::after { transform: rotate(45deg); }
.h-faq__item p { margin: 0 0 18px; }
.h-faq__item summary:hover { color: var(--c-link); }

/* ---------- services grid ---------- */
.h-svcs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.h-svc { position: relative; background: #fff; border-radius: var(--h-radius); padding: 26px 22px; display: grid; gap: 10px; align-content: start; transition: transform .2s, box-shadow .2s; }
.h-sec--services { background: transparent; }
.h-svc__ico svg { inline-size: 38px; block-size: 38px; color: var(--c-icon); }
.h-svc__title { font-size: 21px; margin: 0; }
.h-svc__title a { color: var(--c-ink); text-decoration: none; }
.h-svc__title a::after { content: ""; position: absolute; inset: 0; }
.h-svc p { font-size: 15px; margin: 0; color: var(--c-muted); }
.h-svc__more { margin-block-start: auto; font-weight: 600; font-size: 15px; color: var(--c-link); }
.h-svc:has(a):hover, .h-svc:has(a:focus-visible) { transform: translateY(-2px); }

/* ---------- band ---------- */
.h-band2 { background: var(--c-band); color: #fff; padding-block: clamp(20px, 2.6vw, 34px); overflow: hidden; }
.h-band2__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; font-size: var(--h-band-size, clamp(20px, 2.6vw, 36px)); font-weight: 700; line-height: 1.25; }
.h-band2__in span { white-space: nowrap; }

/* ---------- projects ---------- */
.h-prjs { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.h-prj { display: block; text-decoration: none; color: inherit; }
.h-prj--big { grid-row: span 2; }
.h-prj__ph { display: block; overflow: hidden; border-radius: var(--h-radius); }
.h-prj__ph img { inline-size: 100%; block-size: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .6s; }
.h-prj--big .h-prj__ph img { aspect-ratio: auto; min-block-size: 520px; }
.h-prj:hover .h-prj__ph img { transform: scale(1.03); }
.h-prj h3 { font-size: 21px; margin: 14px 0 2px; color: var(--c-ink); }
.h-prj p { margin: 0; font-size: 15px; color: var(--c-muted); }

/* ---------- prose / group link ---------- */
.h-prose { max-inline-size: 760px; }
.h-prose p { font-size: 18px; }
/* a sister company: a white card in its own colour (no frame; base.css [data-company]) */
.h-grouplink { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--h-card-radius, var(--h-radius)); padding: 20px 24px; margin-block: 0 16px; text-decoration: none; color: var(--c-ink); box-shadow: 0 14px 30px -24px rgba(15, 23, 42, .4); transition: transform .2s var(--h-ease), box-shadow .2s var(--h-ease); }
.h-grouplink:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(15, 23, 42, .45); }
.h-grouplink > span:not(.h-co-ico) { display: grid; flex: 1; gap: 2px; }
.h-grouplink small { color: var(--c-muted); font-weight: 600; font-size: 14px; }
.h-grouplink b { white-space: nowrap; color: var(--co, var(--c-group)); }

/* ---------- phones ---------- */
@media (max-width: 860px) {
	.h-hero2__in { grid-template-columns: 1fr; align-items: start; }
	.h-hero2__in > :last-child { order: -1; justify-self: center; inline-size: min(78%, 420px); }
	.h-hero2__acts { flex-direction: column; margin-block-start: 28px; }
	.h-hero2__acts .h-btn { inline-size: 100%; min-block-size: 56px; }
	.h-price-pill { padding-inline: 24px; }
	.h-price { grid-template-columns: 1fr; }
	.h-prjs { grid-template-columns: 1fr; }
	.h-prj--big .h-prj__ph img { min-block-size: 300px; }
	.h-band2__in { justify-content: center; }
	.h-grouplink { flex-wrap: wrap; align-items: flex-start; padding: 18px; }
	.h-grouplink > span:not(.h-co-ico) { flex: 1 1 200px; }
	.h-grouplink b { flex-basis: 100%; padding-inline-start: 74px; white-space: normal; }
}
/* the narrowest phones (320px): "WhatsApp 0XX-XXX-XXXX" stays one line in the hero's full-width button (beside Koriz's
   rail too); the number itself never splits (.h-ltr is nowrap) */
@media (max-width: 380px) {
	.h-hero2 .h-hero2__acts .h-btn { padding-inline: 16px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { [data-enter] > * { animation: none; } }
.h-brands__note { margin-block: 16px 0; max-inline-size: 60ch; color: var(--c-muted); }

/* ---------- the group home (sections.php: companies, finder, office, contact-split) ----------
   The skeleton only; the group's language (hexagons, indigo) is in themes/harel-group/assets/css/brand.css.
   Each company speaks in its own colour inside its own card: --co / --co-mark from base.css [data-company]. */
.h-ghead { max-inline-size: 780px; margin-block-end: clamp(28px, 3.5vw, 44px); }
/* in-page targets (menu links /#companies...): a little air above the section when it is jumped to */
:is(.h-cos, .h-finder, .h-office, .h-gcontact)[id] { scroll-margin-block-start: 12px; }
:is(.h-co__name, .h-finder__co, .h-office__layer h3) { text-wrap: balance; }
.h-ghead .h-sec__title { margin-block: 10px 0; max-inline-size: none; }
.h-ghead__lead { margin-block: 16px 0; color: var(--c-text); max-inline-size: 62ch; }
/* a bracketed note on a title ("[proposal awaiting the group's approval]"): visible, quiet, never part of the heading's size */
.h-note { display: inline-block; vertical-align: middle; margin-inline-start: 8px; padding: 3px 10px; border-radius: var(--h-radius); background: var(--c-tint); color: var(--c-muted); font-size: 15px; font-weight: 600; line-height: 1.5; }

/* the companies: four cards, one colour each (approved reference, 27.11): a strip in the company's colour on top (part of
   the card's fill, not a frame), then centred: the logo, the name in the company's colour, one line, the phone, the link */
.h-cos__grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .h-cos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 2 + 2, never 3 + 1 */
@media (min-width: 1100px) { .h-cos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h-co { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: linear-gradient(var(--co-strip, var(--co)) 0 6px, #fff 6px); border-radius: var(--h-radius); padding: 26px 20px 12px; box-shadow: 0 12px 30px -22px rgba(15, 23, 42, .4); transition: transform .25s var(--h-ease), box-shadow .25s var(--h-ease); }
.h-co:hover, .h-co:has(a:focus-visible) { transform: translateY(-4px); box-shadow: 0 26px 44px -30px rgba(15, 23, 42, .5); }
/* the strip is the logo's own colour (Harel's logo blue, K-Telecom's K green); the text keeps the darker --co (AA on white) */
.h-co[data-company="harel-tech"] { --co-strip: var(--co-mark); }
.h-co[data-company="k-telecom"] { --co-strip: #58AD2B; }
/* each company's own mark (the need finder's invitation): a short line in its colour ending in its accent (Koriz: the K's
   sensor dot; K-Telecom: a green data pill and a teal dot; Harel: the logo's tilted square; Sedcom: its light blue) */
.h-co__mark { display: flex; align-items: center; gap: 7px; block-size: 14px; margin-block-end: 12px; }
.h-co__mark i { inline-size: 44px; block-size: 6px; border-radius: 6px; background: var(--co); }
.h-co__mark b { inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--co-mark); }
[data-company="k-telecom"] .h-co__mark i { inline-size: 54px; block-size: 9px; border-radius: 9px; background: #58AD2B; }
[data-company="harel-tech"] .h-co__mark b { border-radius: 3px; rotate: -8deg; inline-size: 13px; block-size: 13px; }
.h-co__logo { block-size: 46px; inline-size: auto; max-inline-size: 100%; object-fit: contain; }
[data-company="koriz"] .h-co__logo { block-size: 54px; margin-block: -4px; } /* a tall K beside small type: optically as large as the others */
.h-co__name { margin: 8px 0 0; font-size: var(--wp--preset--font-size--h-3); font-weight: 700; line-height: 1.2; }
.h-co__name a { color: var(--co); text-decoration: none; }
.h-co__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* the whole card is the link */
.h-co__what { margin: 0; color: var(--c-text); font-size: 16px; line-height: 1.5; text-wrap: balance; }
.h-co__foot { margin-block-start: auto; padding-block-start: 4px; display: flex; flex-direction: column; align-items: center; }
/* the phone: the number, the icon after it (the reference: the icon on the number's end side), above the card's link layer */
.h-co__tel { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; color: var(--c-ink); font-size: 19px; font-weight: 700; text-decoration: none; }
.h-co__tel svg { order: 1; inline-size: 18px; block-size: 18px; }
.h-co__tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.h-co__go { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--co); }

/* the need finder: options (radios as chips) and the answer of the checked one.
   Source order: input + label + answer per service. The checked option's answer is shown: under its row on phones and
   tablets (dense flow lets the next options close the gap), in a column of its own beside the options on desktop. */
/* white chips and a white answer on the page colour: the companies' colours as text need white under them (AA:
   Sedcom's #2467D6 is 5.15:1 on white but 4.46:1 on the tint) */
.h-finder { background: transparent; }
.h-finder__pick { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.h-finder__legend { padding: 0; margin-block-end: 16px; font-size: 18px; font-weight: 600; color: var(--c-ink); }
.h-finder__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 10px; }
.h-finder__in { position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: 1px; block-size: 1px; margin: 0; opacity: 0; pointer-events: none; }
.h-finder__chip { display: flex; align-items: center; gap: 10px; min-block-size: 56px; padding: 10px 16px; border-radius: var(--h-radius); background: #fff; color: var(--c-ink); font-weight: 600; font-size: 17px; line-height: 1.3; cursor: pointer; user-select: none; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); transition: background-color .16s var(--h-ease), color .16s var(--h-ease), box-shadow .2s var(--h-ease), transform .16s var(--h-ease); }
.h-finder__chip:hover { box-shadow: inset 0 0 0 2px var(--co); }
.h-finder__chip:active { transform: scale(.98); }
.h-finder__in:checked + .h-finder__chip { background: var(--co); color: #fff; box-shadow: 0 14px 26px -18px var(--co); }
.h-finder__in:focus-visible + .h-finder__chip { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.h-finder__ans { display: none; grid-column: 1 / -1; border-radius: var(--h-radius); overflow: hidden; background: #fff; box-shadow: 0 26px 48px -34px rgba(15, 23, 42, .5); }
.h-finder__in:checked + .h-finder__chip + .h-finder__ans { display: grid; align-content: start; }
.h-finder__band { display: flex; align-items: center; min-block-size: 88px; padding: 20px 26px; background: var(--co); }
.h-finder__logo { block-size: 40px; inline-size: auto; max-inline-size: 100%; object-fit: contain; }
.h-finder__body { display: grid; gap: 6px; padding: 22px 26px 26px; }
.h-finder__svc { margin: 0; font-size: 16px; font-weight: 700; color: var(--co); }
.h-finder__co { margin: 0; font-size: 26px; line-height: 1.2; color: var(--c-ink); }
.h-finder__what { margin: 0; color: var(--c-text); }
.h-finder__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 12px; }
.h-finder__go { background: var(--co); color: #fff; }
.h-finder__go:hover { color: #fff; box-shadow: 0 12px 24px -14px var(--co); }
.h-finder__tel { margin: 6px 0 0; font-size: 15px; color: var(--c-muted); }
.h-finder__tel a { color: var(--c-ink); font-weight: 600; display: inline-flex; align-items: center; min-block-size: 44px; }
/* before any choice: an invitation in the answer column (desktop only; phones open the answer under its option) */
.h-finder__ph { display: none; }
.h-finder__ph p { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--c-ink); text-wrap: balance; }
.h-finder__ph ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.h-finder__ph li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--co); max-inline-size: none; }
.h-finder__ph .h-co__mark { margin: 0; inline-size: 66px; flex: none; }
@media (min-width: 700px) { .h-finder__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.h-finder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); grid-auto-flow: row; }
	.h-finder__ans, .h-finder__ph { grid-column: 3; grid-row: 1 / span var(--rows2, 9); align-self: start; position: sticky; inset-block-start: 24px; margin-inline-start: clamp(12px, 2vw, 32px); }
	.h-finder__ph { display: grid; gap: 26px; padding: 32px 30px; border-radius: var(--h-radius); background: #fff; box-shadow: 0 26px 48px -34px rgba(15, 23, 42, .5); }
	.h-finder__in:checked ~ .h-finder__ph { display: none; }
}
@media (min-width: 1024px) { .h-finder__acts .h-btn { white-space: nowrap; } } /* the arrow stays with its words */
@media (min-width: 1280px) {
	.h-finder__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); }
	.h-finder__ans, .h-finder__ph { grid-column: 4; grid-row: 1 / span var(--rows3, 6); }
}
@media (max-width: 480px) {
	.h-finder__chip { font-size: 16px; padding-inline: 12px; }
	.h-finder__band, .h-finder__body { padding-inline: 20px; }
	.h-finder__acts .h-btn { inline-size: 100%; }
}

/* an office ready to work: the layers (in the order they go in) and how it would run */
.h-office { position: relative; background: var(--c-tint); }
.h-office__grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .h-office__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.h-office__layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h-office__layer { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 20px; row-gap: 2px; background: #fff; border-radius: var(--h-radius); padding: 18px 22px; max-inline-size: none; }
.h-office__layer h3 { margin: 0 0 2px; font-size: 20px; }
.h-office__layer p { margin: 0; font-size: 16px; color: var(--c-text); max-inline-size: none; }
.h-office__layer .h-office__by { grid-column: 2; font-size: 15px; font-weight: 600; color: var(--co, var(--c-muted)); }
.h-office__how-title { margin: 0 0 20px; font-size: 21px; }
.h-office__steps { list-style: none; margin: 0; padding: 0; counter-reset: h-st; }
.h-office__steps li { counter-increment: h-st; position: relative; display: grid; gap: 2px; padding-inline-start: 56px; padding-block-end: 24px; max-inline-size: none; }
.h-office__steps li::before { content: counter(h-st); position: absolute; inset-inline-start: 0; inset-block-start: -2px; display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%; background: var(--c-brand); color: #fff; font: 500 15px/1 var(--wp--preset--font-family--mono); }
.h-office__steps li::after { content: ""; position: absolute; inset-inline-start: 18px; inset-block: 42px 6px; inline-size: 2px; border-radius: 2px; background: var(--c-line); }
.h-office__steps li:last-child { padding-block-end: 0; }
.h-office__steps li:last-child::after { content: none; }
.h-office__steps li:last-child::before { background: var(--c-cta); }
.h-office__steps b { font-size: 18px; color: var(--c-ink); }
.h-office__steps span { font-size: 16px; color: var(--c-text); }
@media (max-width: 600px) { .h-office__layer { padding: 16px; column-gap: 14px; } }

/* the closing section: what happens to a request, and the form */
.h-gcontact__in { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 1024px) { .h-gcontact__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }
.h-gcontact__who-title { margin: 0 0 14px; font-weight: 600; color: var(--c-ink); }
.h-gcontact__who { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.h-gcontact__who li { position: relative; display: grid; gap: 0; padding-inline-start: 22px; max-inline-size: none; }
/* each company's colour as a short bar beside it (not a dot: a dot would read as a radio button next to a form) */
.h-gcontact__who li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 4px; inline-size: 5px; border-radius: 5px; background: var(--co); }
.h-gcontact__who b { color: var(--c-ink); }
.h-gcontact__who span { font-size: 15px; color: var(--c-muted); }
.h-gcontact__note { margin-block: 22px 0; font-size: 15px; color: var(--c-muted); }
.h-gcontact .h-form { background: #fff; border-radius: var(--h-card-radius, var(--h-radius)); padding: clamp(20px, 4vw, 40px); box-shadow: 0 22px 44px -30px rgba(15, 23, 42, .4); }
.h-gcontact .h-form .h-btn--cta { min-block-size: 56px; font-size: 18px; }

/* phones: running text (a sentence, not a label) is never under 16px: the service cards' lines, the packages note,
   the group's "who handles what" list and its note (15px on desktop, where the reading distance is longer).
   Last in the file: it speaks over each section's own size above. */
@media (max-width: 767px) {
	.h-svc p, .h-packs__foot, .h-gcontact__who span, .h-gcontact__note { font-size: 16px; }
}
