/*
 * Shai Magen – Homepage 2026: sections 01–06 + footer.
 * Source: Figma "שי מגן" – Homepage Desktop (1:2666) / Mobile (1:2764).
 * Tokens (--smh-orange, --smh-font, --smh-display, --smh-ease…) come from home.css (.smh).
 * Selectors are scoped as `.smh .x` (two classes) so the Elementor kit / Hello resets lose.
 */

.smh.smh-section {
	--smh-muted: #615a57;
	--smh-line: #dedad7;
	--smh-index: #ada7a3;
	--smh-pad-x: 108px;
	--smh-pad-top: 128px;
	--smh-sticky-top: 104px; /* clears the 80px solid header */
	position: relative; padding: var(--smh-pad-top) var(--smh-pad-x) 0;
	background: var(--smh-white); color: var(--smh-ink); direction: rtl; text-align: start;
}
.smh .smh-wrap { max-width: 1224px; margin: 0 auto; }

/* ───────── Shared type (Figma text styles) ───────── */
.smh .smh-h2, .smh .smh-h3 {
	margin: 0; padding: 0; font-family: var(--smh-display); font-weight: 400; font-style: normal;
	letter-spacing: 0; text-transform: none; color: var(--smh-ink);
}
.smh .smh-h2 { font-size: clamp(56px, 6.46vw, 93px); line-height: .9; }  /* Desktop/Display/H2 93 */
.smh .smh-h3 { font-size: 49px; line-height: .95; }                       /* Desktop/Display/H3 49 */
.smh .smh-h3 a { color: inherit; text-decoration: none; }
.smh .smh-body { margin: 0; font: 400 17px/1.65 var(--smh-font); color: var(--smh-muted); } /* Desktop/Body/Text */

/* ───────── Chapter Rule ───────── */
.smh .smh-chapter {
	display: flex; align-items: center; gap: 16px; padding-bottom: 14px;
	border-bottom: 1px solid var(--smh-ink); color: var(--smh-ink); white-space: nowrap;
}
.smh .smh-chapter__num { font: 400 32px/1 var(--smh-display); }
.smh .smh-chapter__name { font: 600 14px/normal var(--smh-font); letter-spacing: .56px; }
.smh .smh-chapter--dark { border-color: var(--smh-white); color: var(--smh-white); }

/* ───────── Button (pill) ───────── */
.smh .smh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex: none;
	height: 56px; padding: 0 28px 0 24px; border: 2px solid var(--smh-orange); border-radius: 999px;
	background: var(--smh-orange); color: var(--smh-ink);
	font: 600 16px/1 var(--smh-font); text-decoration: none; white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s;
}
.smh .smh-btn--md { height: 46px; padding: 0 22px 0 18px; font-size: 15px; }
.smh .smh-btn:hover, .smh .smh-btn:focus-visible { color: var(--smh-ink); }
.smh .smh-btn__icon { display: flex; }
.smh .smh-btn__icon svg { width: 20px; height: 20px; transition: transform .2s var(--smh-ease); }
.smh .smh-btn--md .smh-btn__icon svg { width: 18px; height: 18px; }
.smh .smh-btn:hover .smh-btn__icon svg, .smh .smh-btn:focus-visible .smh-btn__icon svg { transform: translateX(-4px); }
.smh .smh-btn--ghost { background: transparent; border-color: var(--smh-ink); color: var(--smh-ink); }
.smh .smh-btn--ghost:hover, .smh .smh-btn--ghost:focus-visible { background: var(--smh-ink); color: var(--smh-white); }
.smh .smh-btn--light { background: var(--smh-white); border-color: var(--smh-white); color: var(--smh-ink); }
.smh .smh-btn--light:hover, .smh .smh-btn--light:focus-visible { background: transparent; color: var(--smh-white); }
.smh .smh-btn:focus-visible { outline: 2px solid var(--smh-orange); outline-offset: 3px; }

/* ───────── Brand logo (M = equipment cards, max 120×30) ───────── */
.smh .smh-brand { display: flex; align-items: center; flex: none; }
.smh .smh-brand__img { display: block; width: auto; height: auto; max-width: 120px; max-height: 30px; mix-blend-mode: multiply; }

/* ───────── 01 ציוד הרמה ───────── */
/* The site sets overflow-x:hidden on html/body, which makes them scroll containers and kills
   position:sticky. `clip` hides horizontal overflow the same way without creating one. */
html:has(.smh-eq), html:has(.smh-eq) body { overflow-x: clip; overflow-y: visible; }
.smh .smh-eq__split {
	display: flex; align-items: flex-start; gap: 86px; margin-top: 56px;
}
/* RTL: first child (aside) sits on the right, cards on the left — as in Figma */
.smh .smh-eq__aside { flex: 474 1 0; min-width: 0; align-self: stretch; }
.smh .smh-eq__items { flex: 664 1 0; min-width: 0; display: flex; flex-direction: column; gap: 80px; }
.smh .smh-eq__sticky {
	position: sticky; top: calc(var(--smh-sticky-top) + var(--smh-admin-bar));
	display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
}
.smh .smh-eq__index { width: 100%; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--smh-line); }
.smh .smh-eq__index li { margin: 0; padding: 0; }
.smh .smh-eq__index-link {
	position: relative; display: flex; align-items: baseline; gap: 14px; padding: 12px 0;
	border-bottom: 1px solid var(--smh-line); font-family: var(--smh-display); line-height: 1;
	color: var(--smh-index); text-decoration: none; transition: color .25s, padding .3s var(--smh-ease);
}
.smh .smh-eq__index-num { width: 22px; font-size: 18px; }
.smh .smh-eq__index-label { font-size: 30px; white-space: nowrap; }
.smh .smh-eq__index-link::before { /* Active Bar */
	content: ''; position: absolute; top: 0; bottom: -1px; inset-inline-start: 0; width: 4px;
	background: var(--smh-orange); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--smh-ease);
}
.smh .smh-eq__index-link:hover, .smh .smh-eq__index-link:focus-visible { color: var(--smh-ink); }
.smh .smh-eq__index-link[aria-current="true"] { padding-inline-start: 10px; color: var(--smh-ink); }
.smh .smh-eq__index-link[aria-current="true"]::before { transform: scaleY(1); }

.smh .smh-eq-item { display: flex; flex-direction: column; scroll-margin-top: calc(var(--smh-sticky-top) + var(--smh-admin-bar)); }
.smh .smh-eq-item__media {
	position: relative; display: block; aspect-ratio: 664 / 415; overflow: hidden; border-radius: 28px; background: #eee;
}
.smh .smh-eq-item__img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
	transition: transform .6s var(--smh-ease);
}
.smh a.smh-eq-item__media:hover .smh-eq-item__img { transform: scale(1.03); }
.smh .smh-eq-item--figures .smh-eq-item__media { background: var(--smh-ink); }
.smh .smh-eq-item__figures {
	position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 64px;
	padding: 0 48px 44px; white-space: nowrap;
}
.smh .smh-figure { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.smh .smh-figure__value { font: 400 112px/.8 var(--smh-display); color: var(--smh-orange); direction: ltr; }
.smh .smh-figure__label { font: 400 14px/1.5 var(--smh-font); color: rgba(255, 255, 255, .75); }

.smh .smh-eq-item__info { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; }
.smh .smh-eq-item__title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.smh .smh-eq-item__title { white-space: nowrap; }
.smh .smh-eq-item__text { max-width: 560px; }

/* ───────── 02 במות הרמה ───────── */
.smh .smh-xl { /* Desktop/Display/XL 138 */
	margin: 0; padding: 0; font: 400 clamp(64px, 9.58vw, 138px)/.86 var(--smh-display);
	letter-spacing: 0; text-transform: none; color: var(--smh-ink);
}
.smh .smh-h4 { margin: 0; padding: 0; font: 400 43px/.95 var(--smh-display); letter-spacing: 0; text-transform: none; color: var(--smh-ink); }
.smh .smh-h4 a { color: inherit; text-decoration: none; }
.smh .smh-pf__title { padding-top: 56px; }
.smh .smh-pf__lede { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 28px; }
.smh .smh-pf__text { width: 540px; max-width: 100%; }
.smh .smh-pf__stage {
	margin: 64px calc(var(--smh-pad-x) * -1) 0; padding: 48px var(--smh-pad-x);
	border-top: 1px solid var(--smh-line); border-bottom: 1px solid var(--smh-line);
	background: radial-gradient(1029px 766px at 50% -153px, #e7e3e0 0%, rgba(245, 244, 242, 0) 60%), #f5f4f2;
}
.smh .smh-pf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 58px; }
.smh .smh-machine { display: flex; flex-direction: column; }
.smh .smh-machine__media { position: relative; display: block; aspect-ratio: 583 / 389; }
.smh .smh-machine__img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain;
	mix-blend-mode: multiply; transition: transform .6s var(--smh-ease);
}
.smh a.smh-machine__media:hover .smh-machine__img { transform: translateY(-6px); }
.smh .smh-machine__caption { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; border-top: 1px solid var(--smh-line); }
.smh .smh-machine__title { white-space: nowrap; }
.smh .smh-machine__text { max-width: 480px; }
.smh .smh-machine__brand-row { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.smh .smh-machine__country { font: 600 13px/normal var(--smh-font); color: var(--smh-muted); white-space: nowrap; }
.smh .smh-brand--s .smh-brand__img { max-width: 120px; max-height: 13px; }
.smh .smh-brand--text { font: 700 15px/normal var(--smh-font); letter-spacing: .75px; color: var(--smh-ink); direction: ltr; }

/* ───────── 03 יד שנייה (Used Rail) ───────── */
.smh .smh-used__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 56px 0 36px; }
.smh .smh-used__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.smh .smh-used__title { white-space: nowrap; }

.smh .smh-rail { --card-w: 380px; --rail-gap: 24px; }
.smh .smh-rail__viewport {
	margin: 0 calc(var(--smh-pad-x) * -1); overflow-x: auto; overflow-y: hidden;
	scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
	-webkit-user-select: none; user-select: none;
}
.smh .smh-rail__viewport::-webkit-scrollbar { display: none; }
.smh .smh-rail__viewport.is-dragging { cursor: grabbing; }
.smh .smh-rail__viewport.is-dragging a { pointer-events: none; }
.smh .smh-rail__viewport:focus-visible { outline: 2px solid var(--smh-orange); outline-offset: -2px; }
.smh .smh-rail__track {
	display: flex; gap: var(--rail-gap); width: max-content; margin: 0; padding: 0 max(var(--smh-pad-x), calc((100vw - 1224px) / 2));
	list-style: none;
}
.smh .smh-listing { flex: none; width: var(--card-w); margin: 0; display: flex; flex-direction: column; }
.smh .smh-listing__media {
	position: relative; display: block; aspect-ratio: 380 / 285; overflow: hidden; border-radius: 28px; background: #f5f4f2;
}
.smh .smh-listing__img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
	-webkit-user-drag: none; transition: transform .6s var(--smh-ease);
}
.smh .smh-listing:hover .smh-listing__img { transform: scale(1.05); }
.smh .smh-badge {
	position: absolute; top: 14px; inset-inline-start: 14px; display: flex; align-items: center; padding: 6px 14px;
	border-radius: 999px; background: var(--smh-orange); font: 600 13px/1 var(--smh-font); color: var(--smh-ink); white-space: nowrap;
}
.smh .smh-card-title { /* Shared/Display/Card 35 */
	margin: 0; padding: 18px 0 0; font: 400 35px/1 var(--smh-display); letter-spacing: 0; text-transform: none; color: var(--smh-ink);
}
.smh .smh-listing__specs { display: flex; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--smh-ink); }
.smh .smh-listing__spec { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.smh .smh-listing__spec:first-child { padding-inline-start: 0; }
.smh .smh-listing__spec + .smh-listing__spec { border-inline-start: 1px solid var(--smh-line); }
.smh .smh-listing__spec dt { margin: 0; font: 600 12px/normal var(--smh-font); letter-spacing: .48px; color: var(--smh-muted); }
.smh .smh-listing__spec dd { margin: 0; font: 500 14px/normal var(--smh-font); color: var(--smh-ink); }
.smh .smh-listing__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--smh-line);
}
.smh .smh-listing__foot--nospecs { margin-top: 14px; border-top: 2px solid var(--smh-ink); }
.smh .smh-listing__price { font: 700 18px/normal var(--smh-font); color: var(--smh-ink); white-space: nowrap; }
.smh .smh-text-link {
	margin-inline-start: auto; display: inline-flex; flex-direction: column; gap: 3px;
	font: 600 15px/normal var(--smh-font); color: var(--smh-ink); text-decoration: none; white-space: nowrap;
}
.smh .smh-text-link::after {
	content: ''; height: 2px; background: var(--smh-orange); transform-origin: right; transition: transform .3s var(--smh-ease);
}
.smh .smh-text-link:hover, .smh .smh-text-link:focus-visible { color: var(--smh-ink); }
.smh .smh-text-link:hover::after { transform: scaleX(.55); }
.smh .smh-rail__progress { position: relative; height: 3px; margin-top: 28px; border-radius: 3px; background: var(--smh-line); overflow: hidden; }
.smh .smh-rail__thumb {
	position: absolute; top: 0; right: 0; height: 100%; width: 100%; border-radius: 3px; background: var(--smh-ink);
	transform-origin: right; will-change: transform;
}
.smh .smh-rail[data-overflow="false"] .smh-rail__progress { visibility: hidden; }

/* ───────── 04 מותגים ───────── */
.smh.smh-brands { --smh-pad-top: 96px; padding-bottom: 128px; }
.smh .smh-brands__title { /* Desktop/Display/Brands 54 */
	margin: 0; padding: 56px 0 40px; text-align: center;
	font: 400 54px/.95 var(--smh-display); letter-spacing: 0; text-transform: none; color: var(--smh-ink);
}
.smh .smh-brands__grid { display: flex; margin: 0; padding: 0; list-style: none; }
.smh .smh-brands__item { position: relative; flex: 1 0 0; min-width: 0; margin: 0; }
.smh .smh-brands__item + .smh-brands__item::before { /* Divider (on the right of each cell but the first) */
	content: ''; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 0; width: 1px; background: var(--smh-line);
	transition: opacity .25s;
}
.smh .smh-brands__item:hover::before, .smh .smh-brands__item:hover + .smh-brands__item::before { opacity: 0; }
.smh .smh-brands__cell {
	position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	height: 140px; padding: 18px 12px; border-radius: 22px; color: inherit; text-decoration: none;
	transition: background-color .25s var(--smh-ease);
}
.smh .smh-brands__logo { display: flex; align-items: center; justify-content: center; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.smh .smh-brands__img { display: block; width: auto; height: auto; max-width: 120px; max-height: 40px; mix-blend-mode: multiply; }
.smh .smh-brands__word { font: 700 26px/normal var(--smh-font); letter-spacing: 1.3px; color: var(--smh-ink); direction: ltr; }
.smh .smh-brands__cat { font: 400 13px/1.4 var(--smh-font); color: var(--smh-muted); text-align: center; white-space: nowrap; }
.smh .smh-brands__cell:hover, .smh .smh-brands__cell:focus-visible { background: #f5f4f2; color: inherit; }
.smh .smh-brands__cell:hover .smh-brands__logo, .smh .smh-brands__cell:focus-visible .smh-brands__logo { filter: none; opacity: 1; }

/* ───────── 05 אודות (dark) ───────── */
.smh.smh-about { padding-bottom: 120px; overflow: hidden; background: var(--smh-ink); color: var(--smh-white); }
.smh .smh-chapter--dark { border-color: rgba(255, 255, 255, .85); color: var(--smh-white); }
.smh .smh-chapter--dark .smh-chapter__num { color: var(--smh-orange); }
.smh .smh-about__wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.smh .smh-about__wrap > .smh-chapter { align-self: stretch; }
.smh .smh-about__giraffe {
	position: absolute; left: -43px; top: 190px; z-index: 0; width: 576px; height: auto; max-width: none;
	opacity: .95; pointer-events: none;
}
.smh .smh-about__body { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; width: 640px; max-width: 100%; padding-top: 56px; }
.smh .smh-about__title { color: var(--smh-white); white-space: nowrap; }
.smh .smh-about__text { margin: 0; font: 400 17px/1.8 var(--smh-font); color: rgba(255, 255, 255, .78); }
.smh .smh-about__facts { display: grid; grid-template-columns: repeat(4, 196px); margin: 0; padding: 80px 0 0; }
.smh .smh-fact { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.smh .smh-fact:first-child { padding-inline-start: 0; }
.smh .smh-fact + .smh-fact::before {
	content: ''; position: absolute; top: -1px; bottom: 0; inset-inline-start: 0; width: 1px; background: rgba(255, 255, 255, .12);
}
.smh .smh-fact__value { margin: 0; font: 400 58px/.9 var(--smh-display); color: var(--smh-orange); direction: ltr; text-align: right; } /* "25+" keeps its plus on the right */
.smh .smh-fact__label { margin: 0; font: 400 14px/1.5 var(--smh-font); color: rgba(255, 255, 255, .75); }

/* ───────── 06 השאירו פרטים (lead form) ───────── */
.smh.smh-leads { padding-bottom: 128px; scroll-margin-top: 80px; }
.smh .smh-leads__grid { display: flex; align-items: flex-start; gap: 86px; padding-top: 56px; }
.smh .smh-leads__intro { flex: 474 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.smh .smh-leads__title { white-space: nowrap; }
.smh .smh-leads__phone { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; }
.smh .smh-leads__phone-label { font: 400 14px/1.5 var(--smh-font); color: var(--smh-muted); }
.smh .smh-leads__phone-num {
	font: 400 51px/.9 var(--smh-display); color: var(--smh-ink); text-decoration: none; white-space: nowrap;
	border-bottom: 3px solid var(--smh-orange); transition: color .2s;
}
.smh .smh-leads__phone-num:hover, .smh .smh-leads__phone-num:focus-visible { color: var(--smh-orange); }

.smh .smh-form { flex: 664 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.smh .smh-form__row { display: flex; gap: 20px; }
.smh .smh-form__row > .smh-field { flex: 1 0 0; min-width: 0; }
.smh .smh-form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.smh .smh-field { display: flex; flex-direction: column; gap: 8px; }
.smh .smh-field__label { font: 600 14px/normal var(--smh-font); letter-spacing: .28px; color: var(--smh-ink); }
.smh .smh-field__input {
	width: 100%; height: 56px; margin: 0; padding: 0 18px;
	border: 2px solid var(--smh-line); border-radius: 999px; background: var(--smh-white); box-shadow: none; outline: 0;
	font: 400 17px/1.65 var(--smh-font); color: var(--smh-ink); text-align: start;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.smh .smh-field__input:hover { border-color: #c9c3bf; }
.smh .smh-field__input:focus { border-color: var(--smh-ink); box-shadow: 4px 4px 0 var(--smh-orange); outline: 0; }
.smh .smh-field__input[aria-invalid="true"] { border-color: #c62828; }
.smh .smh-field__error { min-height: 0; font: 400 13px/1.4 var(--smh-font); color: #c62828; }
.smh .smh-field__error:empty { display: none; }
.smh .smh-select { position: relative; }
.smh .smh-select__input { padding-inline-end: 46px; cursor: pointer; }
.smh .smh-select__icon { position: absolute; top: 50%; inset-inline-end: 16px; display: flex; transform: translateY(-50%); pointer-events: none; color: var(--smh-ink); }
.smh .smh-select__icon svg { width: 18px; height: 18px; }
.smh .smh-field__textarea { height: auto; min-height: 120px; padding: 14px 18px; border-radius: 24px; resize: vertical; }

.smh .smh-details { display: flex; flex-direction: column; gap: 12px; }
.smh .smh-details__summary {
	display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0; padding: 0; border: 0; background: none;
	font: 600 15px/normal var(--smh-font); color: var(--smh-ink); cursor: pointer;
}
.smh .smh-details__summary:hover, .smh .smh-details__summary:focus { background: none; color: var(--smh-ink); }
.smh .smh-details__summary:focus-visible { outline: 2px solid var(--smh-orange); outline-offset: 3px; }
.smh .smh-details__toggle {
	display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: var(--smh-ink);
	transition: transform .3s var(--smh-ease);
}
.smh .smh-details__toggle svg { width: 14px; height: 14px; }
.smh .smh-details__summary[aria-expanded="true"] .smh-details__toggle { transform: rotate(45deg); }

.smh .smh-consent { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.smh .smh-consent__box {
	flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1.5px solid #767070; border-radius: 4px; background: var(--smh-white);
	-webkit-appearance: none; appearance: none; cursor: pointer; display: grid; place-content: center;
}
.smh .smh-consent__box::before {
	content: ''; width: 11px; height: 6px; margin-top: -3px; border: solid var(--smh-white); border-width: 0 0 2px 2px;
	transform: rotate(-45deg) scale(0); transition: transform .15s;
}
.smh .smh-consent__box:checked { border-color: var(--smh-ink); background: var(--smh-ink); }
.smh .smh-consent__box:checked::before { transform: rotate(-45deg) scale(1); }
.smh .smh-consent__box:focus-visible { outline: 2px solid var(--smh-orange); outline-offset: 2px; }
.smh .smh-consent__box[aria-invalid="true"] { border-color: #c62828; }
.smh .smh-consent__label { flex: 1 0 0; min-width: 0; font: 400 15px/1.6 var(--smh-font); color: var(--smh-muted); cursor: pointer; }
.smh .smh-consent__label a { color: inherit; text-decoration: underline; }
.smh .smh-consent .smh-field__error { flex-basis: 100%; }

.smh .smh-form__submit { width: 100%; height: 64px; font-size: 17px; cursor: pointer; }
.smh .smh-form__submit[disabled] { opacity: .6; cursor: progress; }
.smh .smh-form__status { margin: 0; font: 400 15px/1.6 var(--smh-font); color: var(--smh-ink); }
.smh .smh-form__status:empty { display: none; }
.smh .smh-form__status.is-error { color: #c62828; }
.smh .smh-form.is-sent .smh-form__status {
	padding: 16px 20px; border-radius: 20px; background: #f5f4f2; font-weight: 600;
}

/* ───────── Footer ───────── */
.smh.smh-footer { --fx: 108px; background: var(--smh-ink); color: var(--smh-white); direction: rtl; text-align: start; }
.smh .smh-footer__grid {
	display: grid; grid-template-columns: 334fr 257fr 257fr 257fr; gap: 40px;
	max-width: calc(1224px + var(--fx) * 2); margin: 0 auto; padding: 72px var(--fx) 48px;
}
.smh .smh-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.smh .smh-footer__logo { display: block; line-height: 0; }
.smh .smh-footer__logo img { width: 94px; height: auto; }
.smh .smh-footer__tagline { max-width: 260px; margin: 0; font: 400 15px/1.6 var(--smh-font); color: rgba(255, 255, 255, .75); }
.smh .smh-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.smh .smh-footer__title { margin: 0; padding: 0; font: 400 30px/1 var(--smh-display); letter-spacing: 0; text-transform: none; color: var(--smh-white); }
.smh .smh-footer__title--sub { margin-top: 32px; }
.smh .smh-footer__title a { color: inherit; text-decoration: none; transition: color .2s; }
.smh .smh-footer__title a:hover, .smh .smh-footer__title a:focus-visible { color: var(--smh-orange); }
.smh .smh-footer__list { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.smh .smh-footer__list li { margin: 0; font: 400 15px/1.6 var(--smh-font); color: rgba(255, 255, 255, .75); }
.smh .smh-footer__list a, .smh .smh-footer__centre { color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .2s; }
.smh .smh-footer__list a:hover, .smh .smh-footer__list a:focus-visible { color: var(--smh-orange); }
.smh .smh-footer__centre strong { font-weight: 600; color: var(--smh-white); }
.smh .smh-footer__list .smh-footer__phone { font: 700 15px/normal var(--smh-font); color: var(--smh-orange); }
.smh .smh-footer__list .smh-footer__phone:hover { color: var(--smh-white); }
.smh .smh-footer__socials { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.smh .smh-footer__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 22px;
	max-width: 1224px; margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14);
	box-sizing: content-box;
}
.smh .smh-footer__bottom { margin-inline: max(var(--fx), calc((100% - 1224px) / 2)); }
.smh .smh-footer__copy { margin: 0; font: 400 14px/1.5 var(--smh-font); color: rgba(255, 255, 255, .75); white-space: nowrap; }
.smh .smh-footer__legal { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }
.smh .smh-footer__legal li { margin: 0; }
.smh .smh-footer__legal a { font: 400 14px/1.5 var(--smh-font); color: rgba(255, 255, 255, .75); text-decoration: none; white-space: nowrap; }
.smh .smh-footer__legal a:hover, .smh .smh-footer__legal a:focus-visible { color: var(--smh-white); text-decoration: underline; }
.smh .smh-footer__credit { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .6); text-decoration: none; }
.smh .smh-footer__credit span { font: 400 13px/1.4 var(--smh-font); white-space: nowrap; }
.smh .smh-footer__credit img { width: 80px; height: 18px; object-fit: contain; }
.smh a.smh-footer__credit:hover { color: var(--smh-white); }

/* ───────── Tablet: stack like mobile, keep desktop type a step down ───────── */
@media (max-width: 1279px) {
	.smh.smh-section { --smh-pad-x: 48px; }
	.smh.smh-footer { --fx: 48px; }
	.smh .smh-eq__split { gap: 56px; }
	.smh .smh-eq__index-label { font-size: 26px; }
	.smh .smh-about__giraffe { width: 34vw; top: auto; bottom: -12vw; }
}
@media (max-width: 1023px) {
	.smh .smh-eq__split { flex-direction: column; align-items: stretch; gap: 36px; margin-top: 36px; }
	.smh .smh-eq__sticky { position: static; }
	.smh .smh-eq__index { display: none; }
	.smh .smh-eq__items { gap: 64px; }
	.smh .smh-brands__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
	.smh .smh-brands__item:nth-child(4n+1)::before { display: none; }
	.smh .smh-about__giraffe { opacity: .3; }
	.smh .smh-about__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
	.smh .smh-leads__grid { flex-direction: column; align-items: stretch; gap: 36px; padding-top: 36px; }
	.smh .smh-leads__intro, .smh .smh-form { flex: none; width: 100%; }
	.smh.smh-footer { --fx: 48px; }
	.smh .smh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.smh .smh-footer__bottom { flex-wrap: wrap; }
}

/* ───────── Mobile (Figma 393 frame) ───────── */
@media (max-width: 767px) {
	.smh.smh-section { --smh-pad-x: 20px; --smh-pad-top: 72px; }
	.smh .smh-h2 { font-size: 51px; }                     /* Mobile/Display/H2 */
	.smh .smh-h3 { font-size: 38px; }                     /* Mobile/Display/H3 */
	.smh .smh-body { font-size: 16px; }                   /* Mobile/Body/Text */

	.smh .smh-eq__items { gap: 48px; }
	.smh .smh-eq-item__media { aspect-ratio: 353 / 221; }
	.smh .smh-eq-item__info { gap: 10px; }
	.smh .smh-eq-item__title-row { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
	.smh .smh-eq-item--figures .smh-eq-item__info { gap: 6px; }
	.smh .smh-eq-item__figures { gap: 28px; padding: 0 24px 28px; }
	.smh .smh-figure__value { font-size: 64px; }

	.smh .smh-xl { font-size: 54px; }                     /* Mobile/Display/XL */
	.smh .smh-h4 { font-size: 35px; }                     /* Mobile/Display/H4 */
	.smh .smh-pf__title { padding-top: 36px; }
	.smh .smh-pf__lede { flex-direction: column; align-items: flex-start; gap: 24px; }
	.smh .smh-pf__text { width: 100%; }
	.smh .smh-pf__stage {
		margin-top: 40px; padding: 32px var(--smh-pad-x);
		background: radial-gradient(281px 1058px at 50% -212px, #e7e3e0 0%, rgba(245, 244, 242, 0) 60%), #f5f4f2;
	}
	.smh .smh-pf__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.smh .smh-machine__media { aspect-ratio: 353 / 235; }

	.smh .smh-used__head { flex-direction: column; align-items: flex-start; gap: 24px; padding: 36px 0 32px; }
	.smh .smh-used__title { white-space: normal; }
	.smh .smh-rail { --card-w: 282px; --rail-gap: 16px; }
	.smh .smh-rail__progress { margin-top: 24px; }

	.smh.smh-brands { --smh-pad-top: 64px; padding-bottom: 72px; }
	.smh .smh-brands__title { padding: 36px 0 40px; font-size: 38px; }
	.smh .smh-brands__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.smh .smh-brands__grid.is-odd .smh-brands__item:last-child { grid-column: 1 / -1; }
	.smh .smh-brands__item + .smh-brands__item::before { display: none; }
	.smh .smh-brands__cell { height: 132px; background: #f5f4f2; }

	.smh.smh-about { padding-bottom: 72px; }
	.smh .smh-about__giraffe { left: -55px; top: 589px; width: 236px; opacity: .25; }
	.smh .smh-about__body { width: 100%; padding-top: 36px; }
	.smh .smh-about__text { font-size: 16px; }
	.smh .smh-about__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-top: 48px; width: 100%; }
	.smh .smh-fact:nth-child(odd) { padding-inline-start: 0; }
	.smh .smh-fact:nth-child(odd)::before { display: none; }
	.smh .smh-fact__value { font-size: 42px; }

	.smh.smh-leads { padding-bottom: 72px; }
	.smh .smh-leads__title { white-space: normal; }
	.smh .smh-form__row { flex-direction: column; }

	.smh.smh-footer { --fx: 20px; }
	.smh .smh-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 56px; }
	.smh .smh-footer__tagline { max-width: none; }
	.smh .smh-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.smh.smh-section *, .smh.smh-section *::before { transition-duration: 0s !important; }
}
