/*
 * חלק בקוד: theme/assets/css/brand.css
 * מיתוג לוי ליברמן: לוגו LL (header בהיר / footer כהה), אייקוני קו דק, פס תחומי עיסוק בעמוד הבית,
 * אייקונים בכרטיסי ה-hero וברשת "תחומי עיסוק". שחור פחם + זהב חם, טקסט קטן בשחור לקריאוּת.
 */
:root { --ls-brand-ink: #1f1b16; --ls-brand-gold: #b08a4a; --ls-brand-ivory: #fbf8f2; --ls-icon-accent: #b08a4a; }

/* ---------- Logo lockup ---------- */
.ls-brand { display: inline-flex; align-items: center; gap: 14px; line-height: 1; color: var(--ls-brand-ink); }
.ls-brand__mark { width: auto; height: 58px; flex: none; overflow: visible; }
.ls-brand__l1 { fill: currentColor; }
.ls-brand__l2 { fill: var(--ls-brand-gold); }
.ls-brand__text { display: grid; justify-items: center; gap: 6px; }
.ls-brand__name { font-family: "Heebo", var(--ls-font-body); font-weight: 300; font-size: 30px; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.ls-brand__sub { display: inline-flex; align-items: center; gap: 10px; font-family: "Heebo", var(--ls-font-body); font-weight: 400; font-size: 13px; letter-spacing: .06em; color: #3a332a; white-space: nowrap; }
.ls-brand__sub::before, .ls-brand__sub::after { content: ""; width: 20px; height: 1px; background: var(--ls-brand-gold); }
.ls-brand--dark { color: var(--ls-brand-ivory); }
.ls-brand--dark .ls-brand__sub { color: #d9cbb0; }

.ls-header__logo { padding-block: 6px; }
.ls-header__logo:hover .ls-brand__l2 { fill: var(--ls-color-gold-bright); }
.ls-footer__brand a { text-decoration: none; display: inline-block; }
.ls-footer__brand .ls-brand__mark { height: 60px; }
.ls-footer__brand .ls-brand__name { font-size: 32px; }

@media (max-width: 900px) {
	.ls-brand { gap: 10px; }
	.ls-brand__mark { height: 40px; }
	.ls-brand__name { font-size: 23px; }
	.ls-brand__sub { font-size: 11px; gap: 6px; }
	.ls-brand__sub::before, .ls-brand__sub::after { width: 12px; }
}

/* ---------- Icons ---------- */
.ls-ico { width: 48px; height: 48px; flex: none; color: var(--ls-brand-ink); display: block; }

/* Practice strip (home) */
.ls-practice { padding-block: var(--ls-space-12); background: var(--ls-color-panel); border-block-end: 1px solid var(--ls-color-line-soft); }
.ls-practice__title { text-align: center; font-family: var(--ls-font-display); font-size: var(--ls-fs-h2); margin: 0 0 var(--ls-space-8); }
.ls-practice__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (min-width: 640px) { .ls-practice__list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .ls-practice__list { grid-template-columns: repeat(7, 1fr); } .ls-practice__list li + li { border-inline-start: 1px solid var(--ls-color-line-soft); } }
.ls-practice__item { display: grid; justify-items: center; gap: 14px; padding: 18px 10px 22px; text-decoration: none; color: var(--ls-brand-ink); border-radius: var(--ls-radius-ledger); transition: background-color .2s, transform .2s; }
.ls-practice__item:hover, .ls-practice__item:focus-visible { background: var(--ls-color-panel-2); transform: translateY(-2px); }
.ls-practice__icon { width: 76px; height: 76px; }
.ls-practice__label { font-size: 16px; font-weight: 500; text-align: center; position: relative; padding-bottom: 12px; }
.ls-practice__label::after { content: ""; position: absolute; inset-inline: 0; margin-inline: auto; bottom: 0; width: 28px; height: 1px; background: var(--ls-brand-gold); transition: width .2s; }
.ls-practice__item:hover .ls-practice__label::after { width: 48px; }

/* Hero cards: icon instead of emoji */
.ls-hero__card-icon { display: inline-flex; margin-bottom: var(--ls-space-2); font-size: 0; }
.ls-hero__card-icon .ls-ico { width: 52px; height: 52px; }

/* "תחומי עיסוק" grid in why.php */
.ls-areas a { display: grid !important; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.ls-areas a .ls-ico { grid-row: span 2; width: 40px; height: 40px; }
.ls-areas a small { grid-column: 2; }

/* Sticky header under the WP admin bar (logged-in only) — keeps the logo from being clipped */
.admin-bar .ls-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ls-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ls-header { top: 0; } }

/* Category chips on the services page: brand icon before the name */
.ls-filters__chip { display: inline-flex; align-items: center; gap: 6px; }
.ls-filters__chip .ls-ico { width: 22px; height: 22px; }
.ls-filters__chip .ls-ico__blob { display: none; }

/* Contact modal & site forms: Blocksy forces select{height:40px}, which clipped the "נושא" text (padding 12px + line 24px). */
.ls-form select, .ls-modal select, .ls-contact select {
	height: auto !important; min-height: 50px; line-height: 1.5; padding-block: 12px;
	text-overflow: ellipsis; white-space: nowrap;
}
/* Modal had a stray horizontal scrollbar */
dialog.ls-modal { overflow-x: hidden; }

/* Accessibility widget — text size. Site CSS uses px, so scaling <html> font-size did nothing;
   zoom the page regions instead (3 levels: 115% / 130% / 145%). */
html[data-a11y-font="1"] :is(.ls-topbar, .ls-header, .ls-main, .ls-footer) { zoom: 1.15; }
html[data-a11y-font="2"] :is(.ls-topbar, .ls-header, .ls-main, .ls-footer) { zoom: 1.3; }
html[data-a11y-font="3"] :is(.ls-topbar, .ls-header, .ls-main, .ls-footer) { zoom: 1.45; }

/* ============================================================
 * נגישות (15.10.2026, לפי ACCESSIBILITY.md ובדיקת axe)
 * ============================================================ */
/* ניגודיות: טקסט עזר קטן היה ב---ls-color-faint (3.2–3.5:1). מוחלף ב-muted (>4.5:1). faint נשאר ל-placeholder בלבד. */
.ls-contact__note, .ls-checkout__vat, .ls-upload__hint, .ls-upload__guidance,
.ls-checkout .form-row label .optional, .ls-field label .optional, .ls-legal__updated,
.ls-card__meta, .ls-share__label { color: var(--ls-color-muted) !important; }

/* קישור בתוך גוף טקסט חייב להיות מזוהה לא רק בצבע */
.ls-checkout__assure a, .ls-legal a, .ls-prose a,
.ls-checkout .woocommerce-privacy-policy-text a, .ls-checkout__help a { text-decoration: underline; text-underline-offset: 2px; }

/* מחוון פוקוס גלוי ועקבי (היה outline:none על הניווט וה-CTA) */
.ls-mainnav__list a:focus-visible, .ls-header__cta:focus-visible {
	outline: 3px solid var(--ls-color-gold-dark) !important; outline-offset: 2px; border-radius: 4px;
}
.ls-topbar a:focus-visible, .ls-footer a:focus-visible { outline: 2px solid var(--ls-color-gold-bright); outline-offset: 2px; border-radius: 2px; }
.ls-filters__chip:focus-visible, .ls-practice__item:focus-visible, .ls-card__link:focus-visible,
.ls-share__btn:focus-visible, .ls-brand:focus-visible, .ls-header__logo:focus-visible {
	outline: 3px solid var(--ls-color-gold-dark); outline-offset: 2px;
}

/* עטיפת הוואטסאפ הצף (landmark) — שקופה לעיצוב */
.ls-whatsapp-wrap { display: contents; }

/* טקסט לקוראי מסך */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
