/* HORIZON HAWK 1.4.0 — product, inquiry and navigation refinement */
:root{
  --hh-140-radius:22px;
  --hh-140-soft:#f4faf6;
  --hh-140-border:#d8e6dd;
}

/* Keep major section headings authoritative without dominating the page. */
.hh-section-head h2,
.hh-copy-narrow h2,
.hh-media-split h2,
.hh-final-cta h2,
.hh-contact-band h2{
  font-size:clamp(34px,3.65vw,54px);
  line-height:1.06;
  letter-spacing:-.038em;
}
.hh-section{padding:82px 0}
.hh-section-head{margin-bottom:34px}

/* Header chevrons and compact dropdown panels. */
.hh-submenu-toggle{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:0;
  background:transparent!important;
  color:currentColor;
  box-shadow:none!important;
}
.hh-submenu-toggle svg{
  display:block;
  width:14px;
  height:14px;
  transition:transform .22s ease;
  pointer-events:none;
}
.hh-submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.hh-simple-panel{padding:24px!important}
.hh-simple-panel-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.hh-simple-panel-grid>a{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr);
  align-items:start;
  gap:12px;
  min-width:0;
  padding:15px!important;
  border:1px solid var(--hh-140-border);
  border-radius:15px;
  color:var(--hh-ink)!important;
  text-decoration:none;
  background:#fff;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.hh-simple-panel-grid>a:hover,
.hh-simple-panel-grid>a:focus-visible{
  border-color:#99c9aa;
  box-shadow:0 10px 26px rgba(17,66,44,.09);
  transform:translateY(-1px);
}
.hh-simple-panel-grid>a>span:first-child{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:var(--hh-mint);
  color:var(--hh-green);
  font-weight:900;
}
.hh-simple-panel-grid strong{display:block;margin:0 0 4px;font-size:15px;line-height:1.28}
.hh-simple-panel-grid small{display:block;color:var(--hh-muted);font-size:12px;line-height:1.45;font-weight:500}
.hh-mega-category-list>a{align-items:center}
.hh-mega-category-list img{
  object-fit:contain!important;
  background:#fff!important;
  padding:5px;
  border:1px solid var(--hh-140-border);
}
.hh-mega-category-list strong{line-height:1.22}
.hh-mega-category-list small{display:none!important}

/* Product hero: natural image height, balanced copy, no forced empty block. */
.hh-product-hero{padding:112px 0 66px}
.hh-product-hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(380px,.88fr);
  gap:48px;
  align-items:start;
}
.hh-gallery{min-width:0}
.hh-gallery-main{
  min-height:0!important;
  aspect-ratio:4/3;
  border-radius:var(--hh-140-radius);
  background:#fff;
}
.hh-gallery-main button{min-height:0}
.hh-gallery-main img{
  width:100%;
  height:100%;
  max-height:none!important;
  padding:10px!important;
  object-fit:contain;
}
.hh-product-summary h1{font-size:clamp(42px,4.7vw,66px);line-height:1;letter-spacing:-.046em}
.hh-product-model{font-size:15px}
.hh-product-summary .hh-page-lead{font-size:17px;line-height:1.66}
.hh-core-grid{margin:22px 0;gap:10px}
.hh-core-grid>div{min-height:74px;align-items:flex-start;padding:14px 16px}
.hh-core-grid p{font-size:14px}
.hh-product-summary .hh-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:24px;
}
.hh-product-summary .hh-actions .hh-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:13px 18px;
  text-align:center;
  white-space:normal;
  line-height:1.25;
}

/* Specification and configuration block. */
.hh-vehicle-specs{padding-top:76px;padding-bottom:76px}
.hh-spec-grid-compact{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:22px}
.hh-spec-grid-compact>section{
  padding:26px;
  border:1px solid var(--hh-140-border);
  border-radius:var(--hh-140-radius);
  background:#fff;
}
.hh-spec-grid-compact>section>h3{margin:0 0 18px;font-size:24px}
.hh-spec-grid-compact dl{margin:0}
.hh-spec-grid-compact dl>div{padding:11px 0;border-bottom:1px solid #e7efe9}
.hh-spec-grid-compact dl>div:last-child{border-bottom:0}
.hh-inline-directions{display:grid;gap:9px;margin-top:18px}
.hh-inline-directions a{
  display:grid;
  gap:3px;
  padding:13px 14px;
  border:1px solid var(--hh-140-border);
  border-radius:13px;
  background:var(--hh-140-soft);
  color:var(--hh-ink);
  text-decoration:none;
}
.hh-inline-directions a:hover{border-color:#9acbab}
.hh-inline-directions span{color:var(--hh-muted);font-size:13px;line-height:1.45}

/* Application grids never leave an accidental empty fourth column. */
.hh-application-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hh-application-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hh-application-card{display:flex;flex-direction:column;min-width:0}
.hh-application-card img{aspect-ratio:4/3;object-fit:cover}
.hh-application-card>div{display:flex;flex:1;flex-direction:column;padding:20px}
.hh-application-card h3{font-size:19px;line-height:1.25}
.hh-application-card p{margin:0 0 14px}
.hh-application-card .hh-text-link{margin-top:auto}

/* Product quality block is exactly three equal cards. */
.hh-process-visual-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.hh-quality-compact .hh-process-visual-grid article{height:100%}
.hh-quality-compact .hh-process-visual-grid img{aspect-ratio:16/9;object-fit:cover}
.hh-quality-compact .hh-process-visual-grid div{padding:20px}

/* Compact, balanced product inquiry: 35/65 with useful left context. */
.hh-vehicle-contact{padding:74px 0}
.hh-vehicle-contact .hh-contact-band-grid{
  grid-template-columns:minmax(270px,.7fr) minmax(0,1.3fr);
  gap:34px;
  align-items:start;
}
.hh-inquiry-product-card{
  position:sticky;
  top:calc(var(--hh-admin,0px) + 102px);
  overflow:hidden;
  border:1px solid var(--hh-140-border);
  border-radius:var(--hh-140-radius);
  background:#fff;
  box-shadow:0 16px 38px rgba(17,66,44,.08);
}
.hh-inquiry-product-card img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:contain;
  padding:14px;
  background:#fff;
}
.hh-inquiry-product-card>div{padding:22px}
.hh-inquiry-product-card h2{margin:0 0 9px;font-size:clamp(27px,2.4vw,38px);line-height:1.08;letter-spacing:-.03em}
.hh-inquiry-product-card p{margin:7px 0;color:var(--hh-muted);line-height:1.55}
.hh-inquiry-tips{display:grid;gap:8px;margin:18px 0 0;padding:0;list-style:none}
.hh-inquiry-tips li{position:relative;padding-left:23px;color:var(--hh-muted);font-size:13px;line-height:1.5}
.hh-inquiry-tips li:before{content:"✓";position:absolute;left:0;color:var(--hh-green);font-weight:900}
.hh-vehicle-contact .hh-inline-form{padding:24px;border-radius:var(--hh-140-radius);box-shadow:0 16px 38px rgba(17,66,44,.08)}
.hh-vehicle-contact .hh-inquiry-summary{margin:0 0 20px;padding:17px;border-radius:15px;background:var(--hh-140-soft)}
.hh-vehicle-contact .hh-inquiry-summary h2{font-size:23px}
.hh-vehicle-contact .fluentform form,
.hh-vehicle-contact form.frm-fluent-form,
.hh-vehicle-contact .hhb-fluent-wrap form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px 16px;
}
.hh-vehicle-contact .ff-t-container,
.hh-vehicle-contact .ff-t-cell{display:contents!important}
.hh-vehicle-contact .ff-el-group{margin:0!important;min-width:0}
.hh-vehicle-contact .ff-el-group:has(textarea),
.hh-vehicle-contact .ff-el-group:has([name="product_category"]),
.hh-vehicle-contact .ff-el-group:has([type="checkbox"]),
.hh-vehicle-contact .ff-el-group:has(.ff-btn-submit),
.hh-vehicle-contact .ff-el-group:has(button[type="submit"]),
.hh-vehicle-contact .ff-el-group:last-child{
  grid-column:1/-1;
}
.hh-vehicle-contact textarea{min-height:150px!important;resize:vertical}
.hh-vehicle-contact .fluentform .ff-el-form-control{padding:12px 14px!important}
.hh-vehicle-contact .ff-el-input--label{margin-bottom:6px!important}
.hh-vehicle-contact .ff-el-input--label label{font-size:14px!important;line-height:1.3!important}
.hh-vehicle-contact .ff-el-form-check{display:flex;align-items:flex-start;gap:9px}
.hh-vehicle-contact .ff-el-form-check input{flex:0 0 auto;margin-top:4px}
.hh-vehicle-contact .ff-el-form-check label{font-size:13px!important;line-height:1.45!important;font-weight:650!important}
.hh-vehicle-contact .ff-btn-submit{width:auto;min-width:180px}
.hh-vehicle-contact [name="company"],
.hh-vehicle-contact [name="company_name"],
.hh-vehicle-contact [name="organization"],
.hh-vehicle-contact [name="organisation"]{display:none!important}

/* Front-page and general form sections: compact and no duplicated CTA/floating obstruction. */
.hh-home .hh-contact-band{padding:74px 0}
.hh-home .hh-contact-band-grid{grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);gap:36px}
.hh-home .hh-final-cta{display:none!important}
.hh-home .hhb-floating-quote,
.hh-vehicle-page .hhb-floating-quote,
.hh-page-contact .hhb-floating-quote{display:none!important}

/* OEM and quality image blocks: reduce excessive vertical whitespace. */
.hh-home .hh-oem-strip,
.hh-home .hh-media-split{gap:48px;align-items:center}
.hh-home .hh-oem-strip img,
.hh-home .hh-media-split img{
  width:100%;
  aspect-ratio:16/10;
  max-height:none;
  object-fit:cover;
  object-position:center;
  border-radius:24px;
}
.hh-home .hh-oem-strip{padding-block:0}
.hh-home .hh-section:has(.hh-oem-strip),
.hh-home .hh-section:has(.hh-media-split){padding-top:72px;padding-bottom:72px}
.hh-home .hh-section-dark:has(.hh-media-split){padding-top:70px;padding-bottom:70px}

/* Card text truncation uses whole-word visual clipping rather than half-word ellipsis. */
.hh-vcard-copy>p,
.hh-card-copy>p{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  min-height:4.65em;
}

/* Resources use the actual number of cards rather than an artificial empty column. */
.hh-resource-grid:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px}
.hh-resource-grid:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}

@media(min-width:1051px){
  .hh-simple-panel{
    width:min(620px,calc(100vw - 48px))!important;
    right:24px!important;
    left:auto!important;
    transform:none!important;
  }
  .hh-nav-parent{gap:6px}
  .hh-submenu-toggle{width:28px;height:42px;padding:0}
}

@media(max-width:1050px){
  .hh-section{padding:74px 0}
  .hh-simple-panel{padding:0 0 18px!important}
  .hh-simple-panel-grid{grid-template-columns:1fr;gap:8px}
  .hh-simple-panel-grid>a{grid-template-columns:34px minmax(0,1fr);padding:12px!important}
  .hh-simple-panel-grid>a>span:first-child{width:34px;height:34px}
  .hh-product-hero-grid,
  .hh-spec-grid-compact,
  .hh-vehicle-contact .hh-contact-band-grid,
  .hh-home .hh-contact-band-grid{grid-template-columns:1fr}
  .hh-gallery-main{aspect-ratio:16/11}
  .hh-inquiry-product-card{position:static;display:grid;grid-template-columns:220px minmax(0,1fr)}
  .hh-inquiry-product-card img{height:100%;aspect-ratio:auto}
  .hh-application-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hh-application-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hh-process-visual-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
  .hh-section{padding:66px 0}
  .hh-section-head h2,
  .hh-copy-narrow h2,
  .hh-media-split h2,
  .hh-final-cta h2,
  .hh-contact-band h2{font-size:36px}
  .hh-product-hero{padding:96px 0 52px}
  .hh-product-summary h1{font-size:43px}
  .hh-product-summary .hh-actions{grid-template-columns:1fr}
  .hh-application-grid-3,
  .hh-application-grid-4,
  .hh-process-visual-grid-three{grid-template-columns:1fr}
  .hh-inquiry-product-card{display:block}
  .hh-inquiry-product-card img{aspect-ratio:16/10}
  .hh-vehicle-contact .fluentform form,
  .hh-vehicle-contact form.frm-fluent-form,
  .hh-vehicle-contact .hhb-fluent-wrap form{grid-template-columns:1fr}
  .hh-vehicle-contact .ff-el-group{grid-column:1!important}
  .hh-home .hh-oem-strip img,
  .hh-home .hh-media-split img{aspect-ratio:4/3}
  .hh-resource-grid:has(> :nth-child(2):last-child),
  .hh-resource-grid:has(> :nth-child(3):last-child){grid-template-columns:1fr;max-width:none}
}

@media(max-width:620px){
  .hh-section{padding:60px 0}
  .hh-gallery-main{aspect-ratio:1/1}
  .hh-gallery-main img{padding:6px!important}
  .hh-product-summary h1{font-size:40px}
  .hh-core-grid{grid-template-columns:1fr}
  .hh-spec-grid-compact>section{padding:20px}
  .hh-vehicle-contact{padding:58px 0}
  .hh-vehicle-contact .hh-inline-form{padding:17px}
  .hh-inquiry-product-card>div{padding:18px}
  .hh-inquiry-product-card h2{font-size:29px}
}

/* Actual homepage component classes used by the 1.3.0 template. */
.hh-home-oem .hh-split{
  gap:48px;
  align-items:center;
}
.hh-home-oem .hh-media>img:first-child{
  width:100%;
  aspect-ratio:16/10;
  max-height:560px;
  object-fit:cover;
  object-position:center;
}
.hh-home-oem{padding-top:72px;padding-bottom:72px}
.hh-home-quality{padding-top:72px;padding-bottom:72px}
.hh-home-quality .hh-quality-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:46px;
  align-items:center;
  margin-top:34px;
}
.hh-home-quality .hh-media>img:first-child{
  width:100%;
  aspect-ratio:16/10;
  max-height:530px;
  object-fit:cover;
  object-position:center;
}
.hh-home-quality .hh-process article{padding:17px}
.hh-home-inquiry{padding-top:72px;padding-bottom:72px}
.hh-home-inquiry .hh-contact-grid{
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);
  gap:38px;
  align-items:start;
}
.hh-home-inquiry .hh-form{
  display:block;
  padding:24px;
}
.hh-home-inquiry .hhb-fluent-wrap{width:100%}
.hh-home-inquiry .fluentform form,
.hh-home-inquiry form.frm-fluent-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px 16px;
}
.hh-home-inquiry .ff-t-container,
.hh-home-inquiry .ff-t-cell{display:contents!important}
.hh-home-inquiry .ff-el-group{margin:0!important;min-width:0}
.hh-home-inquiry .ff-el-group:has(textarea),
.hh-home-inquiry .ff-el-group:has([name="product_category"]),
.hh-home-inquiry .ff-el-group:has([type="checkbox"]),
.hh-home-inquiry .ff-el-group:has(.ff-btn-submit),
.hh-home-inquiry .ff-el-group:has(button[type="submit"]),
.hh-home-inquiry .ff-el-group:last-child{grid-column:1/-1}
.hh-home-inquiry textarea{min-height:140px!important}
.hh-home-inquiry .ff-el-form-control{padding:12px 14px!important}
.hh-home-inquiry .ff-el-form-check label{font-size:13px!important;line-height:1.45!important;font-weight:650!important}

@media(max-width:1050px){
  .hh-home-oem .hh-split,
  .hh-home-quality .hh-quality-grid,
  .hh-home-inquiry .hh-contact-grid{grid-template-columns:1fr;gap:34px}
  .hh-home-oem .hh-media>img:first-child,
  .hh-home-quality .hh-media>img:first-child{aspect-ratio:16/9;max-height:520px}
}
@media(max-width:760px){
  .hh-home-oem,
  .hh-home-quality,
  .hh-home-inquiry{padding-top:58px;padding-bottom:58px}
  .hh-home-inquiry .fluentform form,
  .hh-home-inquiry form.frm-fluent-form{grid-template-columns:1fr}
  .hh-home-inquiry .ff-el-group{grid-column:1!important}
  .hh-home-oem .hh-media>img:first-child,
  .hh-home-quality .hh-media>img:first-child{aspect-ratio:4/3}
}
