/* The classes page (classes.html, חוגים), in the homepage's language (31 Oct 2026). Linked after site.css.
   Plural voice. Built like pilates.html, from the shared inner-page kit (.ih, .ih-stage, .st-card, .logos-row) and the homepage's
   own pieces (.gh-rate, .gh-title and .gh-logo in the hero; the calendar's .cl-* parts, the trainee app's .phone.ta and .ta-*,
   .price-card, .faq3, .closing2). Nothing here is driven by site.js: the calendar sits in .hgcal, not .cl, and every mockup holds
   its finished state. Prefix hg- (חוגים). */

/* ---------- Hero: the homepage's copy (crumbs, rating line, the title with the logo inline, two buttons, a note) ---------- */
.hg-hero { padding-top: clamp(22px, 3.5vh, 44px); }
.hg-hero .ih-sub { margin-top: 20px; text-wrap: balance; }
.hg-hero .ih-note { margin-top: 18px; }

/* The stage: the kids' judo photo as a tall rounded block in the middle of a light dot grid, the whole photo (nobody cropped),
   and four frosted cards over its edges: the next group and attendance on the start side, the parent's link and a payment on the other */
.hg-stage { --pw: clamp(380px, 36vw, 460px); --m: 46px; --cw: 290px; --ov: 70px;
  height: calc(var(--pw) * 1.3392 + 2 * var(--m)); }
.hg-photo { position: absolute; z-index: 1; top: var(--m); left: 50%; width: var(--pw); margin-left: calc(var(--pw) / -2); aspect-ratio: 1200 / 1607;
  overflow: hidden; border-radius: 30px; background: #D9D9DC; box-shadow: 0 44px 80px -40px rgba(0, 0, 0, .5); }
.hg-photo img { width: 100%; height: 100%; object-fit: cover; }
.hg-stage .st-card { width: var(--cw); }
.hg-now, .hg-att { inset-inline-start: calc(50% - var(--pw) / 2 - var(--cw) + var(--ov)); }
.hg-link, .hg-pay { inset-inline-end: calc(50% - var(--pw) / 2 - var(--cw) + var(--ov)); }
.hg-now { top: calc(var(--m) - 12px); }
.hg-att { bottom: calc(var(--m) + 28px); }
.hg-link { top: calc(var(--m) + 40px); }
.hg-pay { bottom: calc(var(--m) - 12px); }

/* the next group: sixteen places, one square each (the homepage's twelve mats), two still free */
.hg-now-t { display: block; margin-top: 7px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.hg-spots { direction: ltr; display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-top: 12px; }
.hg-spots i { aspect-ratio: 1; border-radius: 4px; background: #000; }
.hg-spots i.free { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .28); }
.hg-now-f { margin-top: 11px; font-size: 14.5px; color: var(--ink-2); }
.hg-now-f b { color: #000; font-weight: 700; }
.hg-now-f span::before { content: " · "; }

/* the parent's link, attendance, a payment */
.hg-card-t { display: block; margin-top: 7px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.hg-kids { display: grid; gap: 7px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.hg-kids span { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.hg-kids i { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #000; color: #fff; font-size: 12px; font-weight: 700; font-style: normal; }
.hg-marks { direction: ltr; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin-top: 12px; }
.hg-marks i { aspect-ratio: 1; border-radius: 50%; background: #16A34A; }
.hg-marks i.no { background: transparent; box-shadow: inset 0 0 0 1.5px #D92D20; }
.hg-who { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.hg-who > i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #000; color: #fff; font-size: 14px; font-weight: 700; font-style: normal; }
.hg-who > span { display: grid; min-width: 0; line-height: 1.3; }
.hg-who b { font-size: 15px; font-weight: 700; }
.hg-who small { font-size: 13px; }
.hg-who em { display: inline-flex; align-items: center; gap: 5px; flex: none; margin-inline-start: auto; font-size: 14px; font-weight: 700; font-style: normal; }
.hg-who em::before, .hg-done::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #000 var(--tick-white) center / 10px no-repeat; }
.hg-done { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }

@media (max-width: 999px) {
  .hg-stage { --pw: 300px; --m: 34px; --cw: min(236px, calc(50% - var(--pw) / 2 + var(--ov) - 12px)); --ov: 48px; }
  .hg-link { top: calc(var(--m) - 12px); }
  .hg-stage .st-card { padding: 12px 14px 13px; }
  .hg-stage .st-card-h { font-size: 14px; }
  .hg-now-t { font-size: 19px; }
  .hg-card-t { font-size: 18px; }
  .hg-now-f, .hg-done, .hg-who em, .hg-kids span { font-size: 13px; }
}
@media (max-width: 760px) {
  .hg-hero .ih-sub { margin-top: 16px; font-size: 18px; }
  .hg-hero .actions { width: 100%; flex-direction: column; margin-top: 22px; }
  .hg-hero .btn { width: 100%; min-height: 56px; font-size: 17.5px; }
  .hg-hero .ih-note { text-wrap: balance; }
}
/* phones: the photo, and two cards (the next group and the parent's link) side by side over its bottom edge */
@media (max-width: 699px) {
  .hg-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; height: auto; padding: 12px; }
  .hg-photo { position: relative; grid-column: 1 / -1; top: auto; left: auto; width: 100%; margin: 0; border-radius: 16px; }
  .hg-stage .st-card { position: relative; inset: auto; width: auto; margin-top: -92px; padding: 11px 11px 12px; border-radius: 16px; }
  .hg-att, .hg-pay { display: none; }
  .hg-stage .st-card-h { gap: 6px; font-size: 12.5px; }
  .hg-stage .st-card-h > svg:not(.ic) { width: 10px; height: 13px; }
  .hg-now-t, .hg-card-t { font-size: 16px; }
  .hg-spots { gap: 3px; margin-top: 9px; }
  .hg-now-f { margin-top: 8px; font-size: 12.5px; line-height: 1.4; }
  .hg-now-f span { display: block; }
  .hg-now-f span::before { content: none; }
  .hg-kids { gap: 5px; margin-top: 8px; padding-top: 8px; }
  .hg-kids span { gap: 6px; font-size: 12px; }
  .hg-kids i { width: 20px; height: 20px; font-size: 10px; }
  .hg-link .hg-done { display: none; }
}

/* ---------- Copy beside the product ---------- */
.hg-lead { max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hg-cal .feat { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.hg-par .feat { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 899px) { .hg-cal .feat, .hg-par .feat { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The calendar: the product's יומן with the groups by age, the 16:30 group open over it (the homepage's calendar, end state) ----------
   Blue is this group's colour in the calendar, so its list wears it too; under each child, the parent */
.hgcal-stage { position: relative; height: 660px; overflow: hidden; isolation: isolate; container: hgcal / inline-size; border-radius: 26px;
  background: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(165deg, #FCFCFD 0%, #E3E3E8 100%); }
.hgcal { position: absolute; inset: 0; --cl-end: 40px; --ok: #16A34A; --c: #2B59C3; --c-soft: #EBF2FC; --c-ink: #2050B0; }
.hgcal .ic { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hgcal p { margin: 0; }
.hgcal-win { top: 36px; }
.hgcal .cl-win::after { opacity: 1; }
.hgcal .pd-nav { display: flex; } /* site.css hides .pd-nav inside any container under 760px; keep it here */
.hgcal-main { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 22px 22px 0; }
.hgcal-head { display: flex; align-items: center; gap: 8px; }
.hgcal-title { margin-inline-end: auto; }
.hgcal-title small { display: block; font-size: 11.5px; color: var(--ink-2); }
.hgcal-title b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.hgcal-cols { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -6px -8px 0; }
.hgcal-sel { z-index: 2; box-shadow: inset 0 0 0 1.5px var(--c), 0 10px 24px -10px rgba(32, 80, 176, .45); }

.hgcal-pop { position: absolute; z-index: 2; top: 52px; left: 18px; width: 356px; overflow: hidden; border-radius: 20px; background: #fff; color: #0B0B0C;
  font-size: 12.5px; line-height: 1.35; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 30px 60px -20px rgba(0, 0, 0, .45); }
.hgcal-pop-top { display: grid; gap: 9px; padding: 16px 18px 14px; background: var(--c-soft); }
.hgcal-pop .cl-d-h b { font-size: 17px; }
.hgcal-pop .cl-d-h em { background: var(--c-ink); color: #fff; }
.hgcal-pop .cl-meta { gap: 5px 14px; font-size: 11.5px; color: #34466E; }
.hgcal-body { padding: 12px 16px 14px; }
.hgcal .cl-th, .hgcal .cl-r { grid-template-columns: minmax(0, 1fr) 60px 60px; gap: 8px; }
.hgcal .cl-th { margin-top: 12px; }
.hgcal .cl-r { min-height: 42px; padding-block: 4px; }
.hgcal .cl-who { column-gap: 8px; grid-template-columns: 28px minmax(0, 1fr); }
.hgcal .cl-who > i { width: 28px; height: 28px; font-size: 11.5px; }
.hgcal .cl-who b { font-size: 12.5px; }
.hgcal .cl-bal { font-size: 11.5px; }
.hgcal .cl-att i { width: 25px; height: 25px; }
.hgcal .cl-att .ic { width: 13px; height: 13px; }
/* the finished state: the attendance taken; one child didn't come */
.hgcal .cl-r, .hgcal .cl-sum, .hgcal .cl-r em { opacity: 1; transform: none; }
.hgcal .cl-att i:first-child { background: var(--ok); color: #fff; box-shadow: 0 4px 10px -4px rgba(22, 163, 74, .6); }
.hgcal .cl-att i:last-child { opacity: .3; }
.hgcal .hg-no .cl-att i:first-child { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); opacity: .3; }
.hgcal .hg-no .cl-att i:last-child { opacity: 1; background: #D92D20; color: #fff; box-shadow: 0 4px 10px -4px rgba(217, 45, 32, .6); }

@container hgcal (max-width: 599px) {
  /* phones: no menu strip, two days (today and tomorrow), and the group's list over their lower part, without the membership */
  .hgcal { --cl-end: 12px; }
  .hgcal-win { top: 12px; inset-inline-start: 12px; grid-template-columns: minmax(0, 1fr); }
  .hgcal-win .pd-nav, .hgcal .cl-nav { display: none; }
  .hgcal-main { gap: 12px; padding: 16px 14px 0; }
  .hgcal-title b { font-size: 19px; }
  .hgcal-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: -6px; }
  .hgcal-cols .cl-col:nth-child(3) { display: none; }
  .hgcal-pop { top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; }
  .hgcal-pop .cl-meta span:not(:nth-child(2)), .hgcal .cl-seg span:last-child, .hgcal .cl-th span:nth-child(2), .hgcal .cl-bal { display: none; }
  .hgcal .cl-th, .hgcal .cl-r { grid-template-columns: minmax(0, 1fr) 60px; }
  .hgcal-list .cl-r:nth-child(n+5) { display: none; }
}

/* ---------- Parents and children: the registration link on a phone (the trainee app's colours), the parent's file, a reminder ---------- */
.hgreg-stage { position: relative; height: 620px; overflow: hidden; isolation: isolate; container: hgreg / inline-size; border-radius: 26px;
  background: #F2F2F3 radial-gradient(rgba(0, 0, 0, .075) 1px, transparent 1.6px) 0 0 / 22px 22px; }
.hgreg-phone { position: absolute; z-index: 2; top: 40px; inset-inline-start: 28px; }
.hgreg-phone .phone { width: 262px; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .45); }
/* the link's page: the club, the steps, for whom, the child's details, the signed form, the total and the pay button */
.hg-form { gap: 9px; padding: 34px 12px 12px; background: #fff; }
.hg-form-t { margin-top: 2px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.hg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.hg-steps span { display: grid; justify-items: center; gap: 4px; font-size: 9.5px; color: #8A8A8A; }
.hg-steps span::before { content: ""; width: 100%; height: 4px; border-radius: 2px; background: var(--ta-grey); }
.hg-steps .done::before, .hg-steps .on::before { background: var(--ta-pink); }
.hg-steps .on { color: #000; font-weight: 700; }
.hg-q { font-size: 10.5px; color: #555; }
.hg-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: -4px; padding: 3px; border-radius: 9px; background: var(--ta-bg); }
.hg-seg span { display: grid; place-items: center; height: 24px; border-radius: 7px; font-size: 10.5px; color: #555; }
.hg-seg .on { background: #fff; color: var(--ta-pink); font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.hg-fields { display: grid; border: 1px solid var(--ta-line); border-radius: 10px; }
.hg-fields p { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; }
.hg-fields p + p { border-top: 1px solid var(--ta-line); }
.hg-fields small { font-size: 9.5px; color: #8A8A8A; }
.hg-fields b { font-size: 11px; font-weight: 700; }
.hg-sign { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--ta-bg); }
.hg-sign p { display: flex; justify-content: space-between; align-items: center; }
.hg-sign b { font-size: 10.5px; font-weight: 700; }
.hg-sign em { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 700; font-style: normal; color: #1A7F4B; }
.hg-sign em::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #16A34A var(--tick-white) center / 8px no-repeat; }
.hg-sign svg { width: 110px; height: 26px; fill: none; stroke: #1F3A8A; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hg-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 8px; border-top: 1px dashed #D9D9DE; font-size: 11px; }
.hg-total b { font-family: "Wix Madefor Display", var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.hg-pay-btn { display: grid; place-items: center; height: 34px; border-radius: 10px; background: var(--ta-pink); color: #fff; font-size: 12px; font-weight: 700; }
/* the parent's file in the system, and the reminder that reached her */
.hg-file { top: 64px; inset-inline-end: 18px; display: grid; width: 262px; }
.hg-children { display: grid; margin: 10px 0 0; padding: 0; list-style: none; }
.hg-children li { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.hg-children li > i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; font-weight: 700; font-style: normal; }
.hg-children li > span { display: grid; min-width: 0; line-height: 1.3; }
.hg-children b { font-size: 14px; font-weight: 700; }
.hg-children small { font-size: 12px; }
.hg-children em { flex: none; margin-inline-start: auto; padding: 2px 8px; border-radius: 999px; background: #E3F8EA; color: #1A7F4B; font-size: 11.5px; font-weight: 700; font-style: normal; }
.hg-file .hg-done { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.hg-remind { bottom: 44px; inset-inline-end: 18px; width: 252px; }
.hg-remind .hg-card-t { font-size: 18px; }
@container hgreg (max-width: 559px) {
  /* narrower: the parent's file on top, the phone under it, cut by the stage's bottom edge, no reminder */
  .hg-file { top: 16px; inset-inline: 16px; width: auto; }
  .hgreg-phone { inset-inline: 0; display: flex; justify-content: center; top: 250px; }
  .hg-remind { display: none; }
}
@media (max-width: 599px) { .hgreg-stage { height: 760px; } }

/* ---------- Classes customers' logos, under the parents ---------- */
.hg-logos { margin-top: clamp(64px, 8vw, 104px); }
.hg-logos ul { gap: 18px clamp(28px, 5vw, 64px); }
.hg-logos li { height: 84px; }
.hg-logos a { display: grid; place-items: center; height: 100%; border-radius: 12px; }
.hg-logos img { max-width: 170px; transition: filter .2s; }
.hg-logos li:hover img { filter: none; }

/* ---------- Price: the two plans for classes, and the homepage's black "בכל מסלול" side ---------- */
.hg-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hg-plan { display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hg-plan.on { background: #000; color: #fff; box-shadow: none; }
.hg-plan h3 { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.hg-plan.on h3 { color: #A9A9AE; }
.hg-p-n { display: grid; font-family: "Wix Madefor Display", var(--display); font-size: clamp(46px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.hg-p-n small { margin-top: 8px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.hg-plan.on .hg-p-n small { color: #A9A9AE; }
.hg-for { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.hg-plan.on .hg-for { color: #D4D4D8; }
.hg-more { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.hg-price .actions { margin-top: 24px; }
.hg-price .side > b { font-size: 20px; font-weight: 700; }
.hg-price .side .ticks { font-size: 17px; }
@media (max-width: 459px) {
  .hg-plans { grid-template-columns: minmax(0, 1fr); }
  .hg-price .actions .btn { flex: 1 1 100%; }
}
