/* ==========================================================================
   Events page, /אירועים/ — the homepage's world (arch cards, steps, FAQ,
   the reviews strip) arranged for one job: get a quote request. Facts sit
   high and in short lines, because that is what people (and AI answers)
   look for first: how far ahead, the minimum, what's included.
   ========================================================================== */

/* ---- head: the promise, two ways to ask, three facts, an arched photo ---- */

.jg-ev-head { padding-block: 32px 56px; }
@media (min-width: 960px) { .jg-ev-head { padding-block: 56px 88px; } }

.jg-ev-head__grid { display: grid; gap: 36px; align-items: center; }

@media (min-width: 960px) {
	.jg-ev-head__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
}

.jg-ev-head__eyebrow { margin: 0 0 10px; color: var(--jg-crust); font-family: var(--jg-font-sub); font-size: 23px; font-weight: 700; }

.jg-ev-head__title { margin: 0 0 18px; font-size: clamp(54px, 8vw, 112px); line-height: .9; }

.jg-ev-head__lead { max-width: 46ch; margin: 0 0 28px; color: var(--jg-ink-muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }

.jg-ev-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.jg-ev-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 20px 0 0;
	border-top: 2px solid var(--jg-ink);
	list-style: none;
}

.jg-ev-facts li { display: grid; align-content: start; gap: 4px; padding-inline: 0 16px; }
.jg-ev-facts li + li { padding-inline-start: 16px; border-inline-start: 1px solid var(--jg-line); }
.jg-ev-facts strong { justify-self: start; color: var(--jg-red); font-family: var(--jg-font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1; }
.jg-ev-facts span { font-size: 14.5px; font-weight: 700; line-height: 1.35; }

.jg-ev-head__photo { position: relative; width: min(100%, 460px); margin: 0 auto; }

.jg-ev-head__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px 28px 28px;
	box-shadow: 0 40px 70px -40px rgba(36, 26, 23, .55);
}

.jg-eventspage .jg-ev-head__stamp {
	--r: -9deg;
	top: 6%;
	inset-inline-start: -8px;
	width: 112px;
	height: 112px;
	font-size: 20px;
}

@media (min-width: 960px) { .jg-eventspage .jg-ev-head__stamp { inset-inline-start: -36px; width: 132px; height: 132px; font-size: 23px; } }

/* ---- what to order: the arch cards, no prices, no buttons ---- */

.jg-ev-menu { padding-block: 56px 72px; background: var(--jg-paper-2); }
@media (min-width: 960px) { .jg-ev-menu { padding-block: 88px 104px; } }

@media (min-width: 720px) { .jg-ev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .jg-ev-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.jg-ev-card { grid-template-areas: "media body"; }
@media (min-width: 720px) { .jg-ev-card { grid-template-areas: "media" "body"; padding-bottom: 24px; } }

/* nothing to reveal on these, so the text stays put */
.jg-eventspage .jg-ev-card .jg-card__body { transform: none; }
@media (hover: hover) and (pointer: fine) {
	.jg-ev-card:hover .jg-card__media img { transform: scale(1.05); }
}

/* ---- occasions ---- */

.jg-ev-occasions { padding-block: 56px; }
@media (min-width: 960px) { .jg-ev-occasions { padding-block: 80px; } }

.jg-ev-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }

.jg-ev-chips li {
	padding: 12px 22px 11px;
	border-radius: var(--jg-radius-pill);
	background: var(--jg-card);
	box-shadow: inset 0 0 0 1.5px var(--jg-line);
	font-family: var(--jg-font-sub);
	font-size: clamp(19px, 1.8vw, 24px);
	font-weight: 800;
}

/* ---- how: four steps ---- */

.jg-ev-how { padding-block: 24px 64px; }
@media (min-width: 800px) { .jg-ev-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* ---- what's included ---- */

.jg-ev-included { padding-block: 0 72px; }

.jg-ev-included__grid { display: grid; gap: 8px; }
@media (min-width: 960px) { .jg-ev-included__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; } }

.jg-ev-included__box {
	display: grid;
	gap: 0;
	overflow: hidden;
	border-radius: 26px;
	background: var(--jg-card);
	box-shadow: inset 0 0 0 1px var(--jg-line);
}

@media (min-width: 640px) { .jg-ev-included__box { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.jg-ev-included__box > div { padding: 24px 26px; }
.jg-ev-included__box > div + div { border-top: 1px solid var(--jg-line); }
@media (min-width: 640px) { .jg-ev-included__box > div + div { border-top: 0; border-inline-start: 1px solid var(--jg-line); } }

.jg-ev-included__box h3 { margin: 0 0 12px; font-family: var(--jg-font-sub); font-size: 23px; font-weight: 800; }
.jg-ev-included__box > div:first-child h3 { color: var(--jg-red); }
.jg-ev-included__box ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 16.5px; }
.jg-ev-included__box li { display: flex; gap: 10px; align-items: baseline; }
.jg-ev-included__box li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--jg-ink-muted); transform: translateY(-2px); }
.jg-ev-included__box > div:first-child li::before { background: var(--jg-red); }

/* ---- ask: the caramel block with the form ---- */

.jg-ev-ask {
	position: relative;
	overflow: hidden;
	padding-block: 64px 72px;
	background: var(--jg-crust);
	color: var(--jg-cream);
}

@media (min-width: 960px) { .jg-ev-ask { padding-block: 96px 104px; } }

.jg-ev-ask__coil {
	position: absolute;
	bottom: -120px;
	inset-inline-end: -140px;
	width: 600px;
	height: 432px;
	color: color-mix(in srgb, var(--jg-cream) 8%, transparent);
	pointer-events: none;
}

.jg-ev-ask__grid { position: relative; display: grid; gap: 28px; }
@media (min-width: 960px) { .jg-ev-ask__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } }

.jg-ev-ask .jg-section-title { margin-bottom: 14px; color: var(--jg-cream); }
.jg-ev-ask__lead { max-width: 38ch; margin: 0; color: var(--jg-cream); font-size: 18px; line-height: 1.6; }
.jg-ev-ask__lead a, .jg-ev-ask__lead a:visited { color: var(--jg-cream); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.jg-ev-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 24px;
	border-radius: 26px;
	background: var(--jg-card);
	color: var(--jg-ink);
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6);
}

@media (min-width: 960px) { .jg-ev-form { padding: 32px; } }

.jg-ev-field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.jg-ev-field--wide { grid-column: 1 / -1; }
.jg-ev-field > span,
.jg-ev-field > legend { padding: 0; font-size: 14.5px; font-weight: 800; }

.jg-ev-field input,
.jg-ev-field select,
.jg-ev-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--jg-line);
	border-radius: 14px;
	background: var(--jg-paper);
	color: var(--jg-ink);
	font: inherit;
	font-size: 16px;
}

.jg-ev-field textarea { resize: vertical; }
.jg-ev-field input:focus,
.jg-ev-field select:focus,
.jg-ev-field textarea:focus { border-color: var(--jg-ink); outline: none; }
.jg-ev-field [aria-invalid="true"] { border-color: var(--jg-red); }

.jg-ev-picks { display: flex; flex-wrap: wrap; gap: 10px; }

.jg-ev-pick { position: relative; cursor: pointer; }
.jg-ev-pick input { position: absolute; opacity: 0; pointer-events: none; }
.jg-ev-pick span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--jg-radius-pill);
	background: var(--jg-paper);
	box-shadow: inset 0 0 0 1.5px var(--jg-line);
	font-weight: 700;
	transition: background-color .15s, box-shadow .15s, color .15s;
}
.jg-ev-pick input:checked + span { background: var(--jg-ink); box-shadow: none; color: var(--jg-cream); }
.jg-ev-pick input:focus-visible + span { outline: 3px solid var(--jg-ink); outline-offset: 2px; }

.jg-ev-form__error { grid-column: 1 / -1; margin: 0; color: var(--jg-red); font-weight: 700; }
.jg-ev-form__error[hidden] { display: none; }

.jg-page .jg-ev-form__send { grid-column: 1 / -1; justify-self: start; min-width: 240px; cursor: pointer; }

@media (max-width: 520px) {
	.jg-ev-form { grid-template-columns: 1fr; padding: 20px; }
	.jg-page .jg-ev-form__send { justify-self: stretch; }
	.jg-ev-facts span { font-size: 13px; }
}

/* ---- FAQ ---- */

.jg-ev-faq { padding-block: 72px 88px; }

@media (prefers-reduced-motion: reduce) {
	.jg-ev-pick span { transition: none; }
}
