/* Shared navigation and the static three-language catalogue landing page. */
.hm-header,.hm-final,.hm-hero {background:#0a1b2b;color:#fff}
.hm-header {position:relative;z-index:65;border-bottom:1px solid #344451}
.hm-bar {position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;min-height:74px}
.hm-bar .brand {justify-self:start;color:white}
.hm-actions,.hm-nav,.hm-hero-copy>div,.hm-footline,.hm-footline>div {display:flex;align-items:center;gap:16px}
.hm-actions {justify-self:end}
.hm-fallback {display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding-block:14px}
.hm-actions select,.hm-menu {min-height:42px;color:white;background:#12283a;border:1px solid #506171;padding:0 10px;cursor:pointer}
.hm-button,.hm-outline {display:inline-flex;align-items:center;justify-content:center;padding:12px 21px;min-height:46px;font-weight:750;line-height:1.2}
.hm-button {background:#e77625;color:#101b24}
.hm-button:hover {background:#ff903e}
.hm-outline {color:#fff;border:1px solid #8b99a1}
.hm-outline:hover {background:#20394a}
.hm-nav {gap:30px}
.hm-nav summary,.hm-inline-form summary {cursor:pointer}
.hm-nav summary {list-style:none;padding:18px 0;font-weight:650}
.hm-nav summary::-webkit-details-marker {display:none}
.hm-nav summary::after {content:'';display:inline-block;width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);vertical-align:4px;margin-left:10px}
.hm-nav details[open]>summary {color:#ffa962}
.hm-panel {position:absolute;top:100%;left:0;right:0;background:#fff;color:#142636;padding:20px;box-shadow:0 14px 30px #0a1b2b22;border:1px solid #dae0e4}
.hm-nav details:not([open])>.hm-panel {display:none}
.hm-nav details[open]>.hm-panel,.hm-targets {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hm-panel a {display:block;padding:10px;font-weight:700}
.hm-panel a:hover {background:#f0f3f4;color:#a53c0a}
.hm-panel img {width:100%;height:100px;object-fit:contain;background:#fff;margin-bottom:8px}
.hm-menu,.hm-mobile-quote {display:none}
.hm-hero-inner {margin:auto;max-width:1600px;display:grid;grid-template-columns:1fr 1fr}
.hm-hero-copy {align-self:center;padding:clamp(50px,6vw,98px) clamp(28px,4vw,70px) clamp(50px,6vw,98px) max(24px,calc((100vw - 1180px)/2))}
.hm-hero h1 {font-size:clamp(3.1rem,4.7vw,5rem);line-height:1.015;letter-spacing:-.055em;max-width:13ch;margin:0;text-wrap:balance}
.hm-hero-copy p {color:#d3dce1;margin:22px 0 29px;font-size:1.08rem}
.hm-hero figure {margin:0;min-width:0;position:relative;min-height:420px}
.hm-hero figure img {width:100%;height:100%;position:absolute;object-fit:cover;object-position:50% 56%}
.hm-block {padding-block:clamp(48px,6vw,86px)}
.hm-home h2,.hm-targets h2 {font-size:clamp(2.2rem,3.4vw,3.45rem);margin:0 0 26px;letter-spacing:-.05em}
.hm-filters {display:flex;gap:7px;flex-wrap:wrap;margin-bottom:25px}
.hm-filters button {background:#fff;color:#334153;border:1px solid #cbd4d9;padding:8px 12px;min-height:42px;font-size:.86rem;font-weight:650;cursor:pointer}
.hm-filters button[aria-pressed=true] {color:white;background:#142637;border-color:#142637}
.hm-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hm-product {display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8dfe3;background:white}
.hm-product-picture {display:block;background:#f2f4f4}
.hm-product-picture img {width:100%;height:clamp(150px,14vw,225px);object-fit:contain;mix-blend-mode:multiply;padding:8px}
.hm-product>div {flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:19px 21px}
.hm-category {font-size:.77rem;color:#586774;font-weight:650}
.hm-product h3 {margin:6px 0 9px;font-size:1.25rem;line-height:1.2}
.hm-product p,.hm-farm p {margin:0 0 15px;color:#455769;font-size:.94rem}
.hm-more {margin-top:auto;color:#a3380c;font-weight:750}
.hm-product a:hover,.hm-footline a:hover,.hm-footer li a:hover {text-decoration:underline}
.hm-soft {background:#eff3f4}
.hm-solutions,.hm-works {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hm-farm {display:grid;grid-template-rows:auto 1fr auto;padding:23px;background:#fff;border-top:3px solid #cf681e}
.hm-farm h3 {margin:0 0 12px;font-size:1.34rem}
.hm-farm span,.hm-works b {color:#ab3d0d;font-size:1.2rem}
.hm-farm:hover,.hm-works a:hover {box-shadow:0 5px 17px #10243516}
.hm-works img {width:100%;aspect-ratio:4/3;object-fit:cover;background:#eff3f4}
.hm-works a {border:1px solid #dce2e6}
.hm-works span {padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:700}
.hm-final .container {display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px 40px;padding-block:48px}
.hm-final h2 {font-size:clamp(1.9rem,3vw,3rem);margin:0 0 14px}
.hm-final p {max-width:66ch;margin:0;color:#cbd7df}
.hm-inline-form {grid-column:1/-1}
.hm-inline-form summary {width:fit-content;text-decoration:underline;text-underline-offset:4px}
.hm-inline-form form {color:#132738;margin-top:18px;background:white;padding:24px}
.hm-inline-form form p {color:#314658}
.hm-footline {flex-wrap:wrap;justify-content:space-between;border-top:1px solid #39444e;padding-top:18px;margin-top:25px;color:#cbd7df;font-size:.88rem}
.hm-footer .footer-grid>* {min-width:0;overflow-wrap:anywhere}
.hm-targets {grid-template-columns:repeat(2,minmax(0,1fr))}
.hm-targets article {background:#f2f5f6;padding:24px}
.hm-targets a {display:block;margin-top:8px}
.hm-targets h3 {margin-bottom:8px}
.hm-farm-detail {padding-block:32px;border-top:1px solid #dae0e4}
.hm-farm-detail p,.hm-farm-detail ul {margin-block:12px}
.hm-farm-detail ul {padding-inline-start:24px;list-style:disc}
.hm-farm-detail .machine-link {display:inline-block;margin:0 16px 12px 0}
#farm-types [id] {scroll-margin-top:24px}
#farm-types [id]:target {outline:2px solid #c2410c;outline-offset:5px}
.hm-home [hidden] {display:none}
.hm-header :focus-visible,.hm-home :focus-visible,.hm-footer :focus-visible {outline:3px solid #ee914e;outline-offset:3px}
@media(min-width:1600px){.hm-hero-copy {padding-left:210px}}
@media(max-width:960px){
  .hm-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-solutions,.hm-works {grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-bar,.hm-actions,.hm-nav {gap:14px}
}
@media(max-width:760px){
  .hm-bar {grid-template-columns:1fr auto auto;min-height:64px;gap:10px}
  .hm-bar>.hm-menu {display:block;grid-column:3;grid-row:1;font-size:1.3rem;width:44px}
  .hm-actions {grid-column:2;grid-row:1}
  .hm-actions>.hm-button {display:none}
  .hm-nav {display:none;position:absolute;left:0;right:0;top:100%;padding:12px 16px;background:#0a1b2b;max-height:calc(100dvh - 64px);overflow:auto}
  .hm-header.menu-open .hm-nav,.hm-mobile-quote {display:block}
  .hm-mobile-quote {padding:10px 0}
  .hm-nav summary {padding:12px 0}
  .hm-panel {position:static;padding:8px}
  .hm-nav details[open]>.hm-panel {grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .hm-panel img {height:52px}
  .hm-panel a {font-size:.85rem}
  .hm-hero-inner {grid-template-columns:1fr}
  .hm-hero-copy {padding:36px max(16px,calc((100vw - 540px)/2)) 32px}
  .hm-hero h1 {font-size:clamp(2.65rem,7.2vw,3.65rem);max-width:17ch}
  .hm-hero-copy p {margin:15px 0 22px}
  .hm-hero figure {min-height:0;height:clamp(195px,47vw,280px)}
  .hm-hero-copy>div {flex-wrap:wrap;gap:10px}
  .hm-final .container {grid-template-columns:1fr;justify-items:start}
  .hm-inline-form {width:100%}
  .hm-footer .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(max-width:545px){
  .hm-grid,.hm-solutions,.hm-targets {grid-template-columns:1fr}
  .hm-product {display:grid;grid-template-columns:35% 1fr}
  .hm-product-picture {display:grid;align-items:center}
  .hm-product-picture img {height:125px;padding:0}
  .hm-product>div {padding:12px}
  .hm-product h3 {font-size:1.07rem}
  .hm-product p {margin-bottom:8px}
  .hm-grid,.hm-solutions,.hm-works {gap:12px}
  .hm-farm {padding:16px;grid-template-columns:1fr auto}
  .hm-farm h3 {grid-column:1}
  .hm-farm p {grid-column:1;margin:0}
  .hm-farm span {grid-row:1;grid-column:2}
  .hm-works span {font-size:.9rem}
}
