/* Home — editorial layout */
.hm-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 7vw, 84px) clamp(28px, 5vw, 56px); }
.hm-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 14px 0 16px; max-width: 18ch; }
html[lang="en"] .hm-hero h1 { max-width: 20ch; }
.hm-hero .lead { font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 56ch; margin: 0; }
.hm-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hm-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hm-facts > div { padding: 14px 0; margin-inline-end: 36px; }
.hm-facts dt { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.hm-facts dd { margin: 2px 0 0; font-size: .88rem; color: var(--ink-2); }

.hm-hero__media { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / .92; }
.hm-shot { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; }
.hm-shot--1 { grid-row: 1 / 3; }
.hm-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hm-shot:hover img { transform: scale(1.03); }
.hm-shot__cap { position: absolute; inset-inline: 10px; bottom: 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--surface); color: var(--ink); font-size: .82rem; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.hm-shot__cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-shot__cap b { flex: none; color: var(--brand); font-weight: 700; }
.hm-shot.is-noimg { display: grid; place-items: center; }
.hm-shot.is-noimg img { display: none; }
.hm-shot.is-noimg .hm-shot__cap { position: static; box-shadow: none; background: transparent; flex-direction: column; text-align: center; }
.hm-logo { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; place-items: center; }
.hm-logo img { width: min(260px, 70%); border-radius: 18px; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .hm-hero { grid-template-columns: 1fr; }
  .hm-hero__media { order: -1; aspect-ratio: 1 / .75; }
}

.hm-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); padding-inline: 0; }
.hm-area { position: relative; padding: 28px clamp(16px, 2.5vw, 28px); }
.hm-area + .hm-area { border-inline-start: 1px solid var(--line); }
.hm-area__no { position: absolute; top: 26px; inset-inline-end: clamp(16px, 2.5vw, 28px); font-size: .8rem; font-weight: 600; color: var(--ink-3); letter-spacing: .05em; }
.hm-area h3 { margin: 16px 0 8px; font-size: 1.15rem; }
.hm-area p { margin: 0 0 14px; color: var(--ink-2); font-size: .95rem; }
.hm-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hm-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); font-size: .93rem; }
.hm-links a:hover { color: var(--brand); border-color: var(--brand); }
@media (max-width: 860px) {
  .hm-areas { grid-template-columns: 1fr; margin-inline: var(--shell-gutter); width: auto; }
  .hm-area + .hm-area { border-inline-start: 0; border-top: 1px solid var(--line); }
  .hm-area { padding-inline: 0; }
  .hm-area__no { inset-inline-end: 0; }
}

.hm-section { padding-block: clamp(36px, 6vw, 72px) 0; }
.hm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hm-head .h-section { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.hm-more { color: var(--brand); text-decoration: none; font-weight: 600; font-size: .95rem; }
.hm-more:hover { text-decoration: underline; }

.hm-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hm-product { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.hm-product__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.hm-product__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hm-product:hover img { transform: scale(1.04); }
.hm-product__name { font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-product__price { font-weight: 700; color: var(--brand); font-size: .92rem; }
@media (max-width: 960px) { .hm-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hm-product:nth-child(n+4) { display: none; } }
@media (max-width: 520px) { .hm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-product:nth-child(n+3) { display: flex; } .hm-product:nth-child(n+5) { display: none; } }

.hm-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hm-tools a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.hm-tools a:hover { border-color: var(--line-strong); }
.hm-tools strong { display: block; font-size: .95rem; font-weight: 600; }
.hm-tools small { display: block; color: var(--ink-2); font-size: .82rem; }
@media (max-width: 960px) { .hm-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hm-tools { grid-template-columns: 1fr; } }

.hm-erp { margin-top: clamp(40px, 7vw, 84px); background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(36px, 6vw, 64px); }
.hm-erp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.hm-erp .h-section { margin: 12px 0 10px; }
.hm-erp .lead { margin: 0 0 22px; }
.hm-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hm-checks li { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hm-checks li:last-child { border-bottom: 0; }
.hm-checks .ico { color: var(--olive); margin-top: 3px; }
@media (max-width: 860px) { .hm-erp__grid { grid-template-columns: 1fr; } }

.hm-contact { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-block: clamp(36px, 6vw, 64px); }
.hm-contact .h-section { margin: 0 0 4px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.hm-contact p { margin: 0; }
.hm-hero > *, .hm-hero__media > * { min-width: 0; }
.hm-shot__cap span { min-width: 0; }
.hm-shot.is-noimg .hm-shot__cap span { white-space: normal; }
.hm-shot.is-noimg .hm-shot__cap { max-width: 100%; padding: 12px; }
