/*
 * Light theme ("קליל ומזמין"), loaded last while the shell is on and the filter bati_theme_light is true
 * (Theme::on). Every selector starts with body.bati-theme-light, so it also outranks module sheets printed later.
 * Warm white / cream surfaces, soft borders and shadows, radii 16-28px. Navy #182B3A = ink and small accents only;
 * orange #B85A0E = buttons with white text (4.66:1), #F5821F decorative only. Logical properties only (RTL).
 * Contrast pairs: .factory/AGENT_HANDOFFS/light-design-1111.md.
 */

/* ---------- tokens ---------- */
body.bati-theme-light .bati {
	--b-bg-alt: #FBF7F1;
	--b-border: #ECE3D7;
	--b-radius-card: 18px;
	--b-radius-input: 12px;
	--b-shadow-card: 0 1px 2px rgba(74, 48, 20, .05), 0 6px 18px rgba(74, 48, 20, .06);
	--b-shadow-raised: 0 14px 34px rgba(74, 48, 20, .12);
}
/* Text that sat on navy (leads, meta, hints, crumbs) is muted ink inside the blocks that are light now (6.7:1 on #FFF1E2). */
body.bati-theme-light .bati :is(.bati-hero, .bati-form-panel, .bati-cta-banner, .bati-kn-cta, .bati-pl-card__head) { --b-on-navy: #4B5664; }

/* ---------- large navy blocks become light ---------- */
body.bati-theme-light .bati .bati-hero {
	color: var(--b-ink); border-block-end: 1px solid #F3EADF;
	background: radial-gradient(ellipse at 85% -10%, rgba(245, 130, 31, .16), rgba(245, 130, 31, 0) 55%), linear-gradient(180deg, #FFF5E9 0%, #FFFAF4 65%, #FFFFFF 100%);
}
body.bati-theme-light .bati .bati-form-panel { background: #FFFFFF; color: var(--b-ink); border: 1px solid var(--b-border); border-radius: 22px; box-shadow: var(--b-shadow-card); }
body.bati-theme-light .bati :is(.bati-cta-banner, .bati-kn-cta) {
	color: var(--b-ink); border: 1px solid #F6DDBF; border-radius: 24px;
	background: radial-gradient(circle at 12% 0%, rgba(245, 130, 31, .18), rgba(245, 130, 31, 0) 52%), var(--b-orange-tint);
}
body.bati-theme-light .bati :is(.bati-hero, .bati-form-panel, .bati-cta-banner, .bati-kn-cta, .bati-pl-card__head) :is(h1, h2, h3, label, legend, .bati-cx-panel__t) { color: var(--b-navy); }
body.bati-theme-light .bati :is(.bati-hero, .bati-form-panel, .bati-cta-banner, .bati-kn-cta) a:not(.bati-btn) { color: var(--b-orange-dark); }
body.bati-theme-light .bati :is(.bati-hero, .bati-form-panel, .bati-cta-banner, .bati-kn-cta) a:not(.bati-btn):hover { color: var(--b-navy); }
body.bati-theme-light .bati .bati-hero .bati-lead { color: #3E4955; }
body.bati-theme-light .bati .bati-hero .bati-hp-chips li a { color: var(--b-navy); }
body.bati-theme-light .bati .bati-hero .bati-hp-chips li a:hover { color: var(--b-orange-dark); }
body.bati-theme-light .bati .bati-hero :is(.bati-rf-hero__how, .bati-biz-hero__points, .bp-hero-points li) { color: var(--b-ink); }
body.bati-theme-light .bati .bati-form-panel .bati-req { color: var(--b-err); }
body.bati-theme-light .bati .bati-form-panel .bati-choices label { border-color: var(--b-border); color: var(--b-ink); }
body.bati-theme-light .bati .bati-form-panel .bati-choices label:has(input:checked) { border-color: var(--b-orange); color: var(--b-orange-dark); }
body.bati-theme-light .bati .bati-hero__visual { background: var(--b-bg-alt); border-radius: 22px; box-shadow: var(--b-shadow-raised); }

/* pills, notes and boxes that were white-on-navy */
body.bati-theme-light .bati .bati-hero :is(.bati-tag, .bati-cx-tag, .bati-kn-tag, .bati-biz-role, .bati-trk-ref, .bati-pl-vatpill, .bati-rf-hero__how span, .bp-status),
body.bati-theme-light .bati .bp-prof-hero .bati-badge { background: #FFFFFF; color: var(--b-navy); border: 1px solid var(--b-border); }
body.bati-theme-light .bati .bati-hero a:is(.bati-cx-tag, .bati-kn-tag):hover { background: var(--b-orange-tint); color: var(--b-orange-dark); }
body.bati-theme-light .bati .bati-hero :is(.bati-cx-note, .bati-rf-hero__talk, .bati-trk-hero__talk) { background: rgba(255, 255, 255, .85); border-color: var(--b-border); color: var(--b-ink); }
body.bati-theme-light .bati :is(.bati-cx-note .bati-cx-ico, .bp-hero-points .bp-ico, .bati-biz-hero__points .bati-biz-ico, .bati-biz-phero__eyebrow .bati-biz-ico, .bati-cx-areahead__pin) { color: var(--b-orange-dark); }
body.bati-theme-light .bati :is(.bp-hero-points .bp-ico, .bati-biz-hero__points .bati-biz-ico) { background: #FFE7CF; }
body.bati-theme-light .bati .bati-pl-crumbs :is(a:hover, [aria-current]) { color: var(--b-navy) !important; }
body.bati-theme-light .bati .bp-prof-hero .bp-rating b { color: var(--b-navy); }

/* hero search boxes: white on cream, soft shadow, visible edge; focus ring in the AA orange */
body.bati-theme-light .bati .bati-cx-sform--hero .bati-cx-sform__box,
body.bati-theme-light .bati .bati-cx-search input[type=search] { border: 1px solid #E6DACB; box-shadow: 0 1px 2px rgba(74, 48, 20, .06), 0 10px 28px rgba(74, 48, 20, .08); }
body.bati-theme-light .bati .bati-cx-sform__box:focus-within,
body.bati-theme-light .bati .bati-cx-search input[type=search]:focus { border-color: var(--b-orange); box-shadow: 0 0 0 3px rgba(184, 90, 14, .28), 0 10px 28px rgba(74, 48, 20, .08); }

/* photo placeholder (until a manifest key has a file): warm, not navy */
body.bati-theme-light .bati .bati-cx-ph {
	color: var(--b-orange-dark);
	background: radial-gradient(circle at 85% 15%, rgba(245, 130, 31, .26) 0, rgba(245, 130, 31, 0) 46%), linear-gradient(135deg, #FFF1E2 0%, #FBF3E8 60%, #F3E8DB 100%);
}

/* buttons: the "on navy" variant is a light outline button now */
body.bati-theme-light .bati .bati-btn--on-navy { background: #FFFFFF; color: var(--b-navy); border-color: #D9CDBE; }
body.bati-theme-light .bati .bati-btn--on-navy:is(:hover, :focus-visible) { background: var(--b-bg-alt); color: var(--b-navy); border-color: var(--b-navy); }
body.bati-theme-light .bati .bati-kn-cta .bati-btn--outline { background: transparent; color: var(--b-navy); border-color: var(--b-navy); }
body.bati-theme-light .bati .bati-kn-cta .bati-btn--outline:hover { background: var(--b-navy); color: #FFFFFF; }
body.bati-theme-light .bati .bati-kn-cta .bati-btn--ghost { color: var(--b-orange-dark); }
body.bati-theme-light .bati .bati-kn-cta .bati-btn--ghost:hover { background: #FFFFFF; color: var(--b-orange-dark); }

/* table heads and card heads: cream with navy ink */
body.bati-theme-light .bati .bati-price-table :is(th, th.bati-price) { background: #FBF3E8; color: var(--b-navy); border-bottom-color: #EEDFCB; }
body.bati-theme-light .bati .bati-pl-card__head { background: #FBF3E8; color: var(--b-navy); border-block-end: 1px solid #EEDFCB; }

/* small dark accents that read as blocks: tabs, avatars, card bands */
body.bati-theme-light .bati .bp-tabs a[aria-current] { background: var(--b-orange-tint); color: var(--b-navy); box-shadow: inset 0 -3px 0 var(--b-orange); }
body.bati-theme-light .bati :is(.bp-avatar, .bati-trk-pro__avatar) { background: var(--b-orange-tint); color: var(--b-orange-dark); }
body.bati-theme-light .bati .bp-prof-hero .bp-avatar { background: var(--b-orange-tint); border: 3px solid #FFFFFF; box-shadow: var(--b-shadow-card); }
body.bati-theme-light .bati .bati-hh-card__band { background: linear-gradient(135deg, #FFF1E2, #FBF3E8); color: var(--b-navy); }
body.bati-theme-light .bati .bati-hh-card__band .bati-cx-ico { color: var(--b-orange); }

/* cards: a little more air */
body.bati-theme-light .bati .bati-hh-step { border-radius: 20px; }
body.bati-theme-light .bati .bati-hh-step__icon { border-radius: 20px; }
body.bati-theme-light .bati .bati-hh-step__num { background: var(--b-orange); }

/* ---------- header: white, airy, soft edge ---------- */
body.bati-theme-light .bati.bs-header { border-block-end-color: #F0E8DD; box-shadow: 0 6px 20px rgba(74, 48, 20, .05); }
body.bati-theme-light .bati .bs-nav .bs-nav__link:not([aria-current]):hover { background: var(--b-bg-alt); border-radius: var(--b-radius-pill); }
body.bati-theme-light .bati .bs-search .bati-cx-sform__box { background: var(--b-bg-alt); border-color: transparent; }
body.bati-theme-light .bati .bs-search .bati-cx-sform__box:focus-within { background: #FFFFFF; }
body.bati-theme-light .bati .bs-mega { border-radius: 20px; }
@media (min-width: 1180px) {
	body.bati-theme-light .bati .bs-bar { min-height: 78px; }
}
@media (max-width: 899px) {
	body.bati-theme-light .bati .bs-actionbar__btn { border-color: #D9CDBE; }
	body.bati-theme-light .bati .bs-actionbar__btn--cta { border-color: var(--b-orange); }
}

/* ---------- footer: cream, ink text, AA links (#3A4450 on #FBF7F1 = 9.3:1) ---------- */
body.bati-theme-light .bati.bs-footer { background: var(--b-bg-alt); color: #3A4450; border-block-start: 1px solid var(--b-border); }
body.bati-theme-light .bati.bs-footer :is(h2, .bs-footer__logo, summary) { color: var(--b-navy); }
body.bati-theme-light .bati.bs-footer a:not(.bati-btn) { color: #3A4450; }
body.bati-theme-light .bati.bs-footer a:not(.bati-btn):hover { color: var(--b-orange-dark); }
body.bati-theme-light .bati .bs-footer__contact a { color: var(--b-navy) !important; }
body.bati-theme-light .bati :is(.bs-footer__seo, .bs-footer__legal) { border-block-start-color: var(--b-border); }

/* ---------- legacy Elementor title band (outside .bati: literal values) ---------- */
body.bati-theme-light.bati-shell-on .bs-legacy-band { background: linear-gradient(180deg, #FFF5E9 0%, #FFFAF4 100%) !important; border-block-end: 1px solid #F3EADF; }
body.bati-theme-light.bati-shell-on .bs-legacy-band > .e-con-inner { background: transparent !important; }
body.bati-theme-light.bati-shell-on .bs-legacy-band :is(h1, h2, .elementor-heading-title) { color: #182B3A !important; }

/* ---------- focus: the light blocks take the AA orange ring (4.3:1 on cream), not the decorative one ---------- */
body.bati-shell-on.bati-shell-on.bati-theme-light :is(.bs-footer, .bati-hero, .bs-legacy-band) :focus-visible { outline-color: #B85A0E !important; }
