:root {
  --ink: #383838;
  --muted: #6d6d6d;
  --paper: #f8f8f7;
  --green: #ec3223;
  --lime: #424242;
  --line: #e1e1df;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.offerings { background: #efefed; }
.product-section { background: #383838; }
.product-copy .section-kicker { color: #ff777b; }
.product-copy h2 em { color: #ff777b; }
.product-overline { color: #c9c9c7; }
.product-desc { color: #e0e0de; }
.product-foot { color: #bdbdbb; }
.button-light { color: #fff; background: var(--green); }
.hero-visual:after { background: linear-gradient(180deg, transparent 55%, rgba(30, 30, 30, .58)); }
.hero-stamp { background: var(--green); color: #fff; }
.hero-stamp small { color: #fff; }
.button-dark span { color: #fff; }
.contact { background: #f4e4e4; }
.contact-foot { border-color: #ddcaca; }
.principle { border-color: #cfcfcd; }

@media (max-width: 620px) {
  .brand-logo { width: 42px; height: 42px; }
}

.partners { padding-top: 65px; padding-bottom: 65px; border-bottom: 1px solid var(--line); }
.partners h2 { font-size: clamp(25px, 3vw, 36px); margin: 20px 0 30px; }
.partner-marquee { display: grid; gap: 10px; overflow: hidden; width: 100%; padding: 8px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.partner-row { overflow: hidden; width: 100%; }
.partner-track { display: flex; width: max-content; animation: partner-scroll 38s linear infinite; }
.partner-track--reverse { animation-direction: reverse; animation-duration: 44s; }
.partner-group { display: flex; align-items: center; flex: 0 0 auto; gap: clamp(38px, 6vw, 88px); padding-right: clamp(38px, 6vw, 88px); }
.partner-logo { display: grid; place-items: center; width: 150px; height: 152px; flex: 0 0 150px; }
.partner-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.partner-logo img[src*="bliiot"] { width: 100%; height: 100%; object-fit: contain; }
.partner-logo:has(img[src*="standart-pompa"]) { width: 166px; flex-basis: 166px; padding: 10px; border-radius: 6px; background: #696e78; }
.partner-logo:has(img[src*="standart-pompa"]) img { width: 146px; height: 60px; }
.partner-logo:has(img[src*="marelli-motori"]) { width: 166px; flex-basis: 166px; border-radius: 4px; background: #202c3c; }
.partner-logo:has(img[src*="marelli-motori"]) img { width: 140px; height: 104px; }
.partner-wordmark { color: #006b3f; font: 800 32px Arial, sans-serif; }
.partner-wordmark span { margin-left: 5px; font-size: 11px; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes partner-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; } .partner-group[aria-hidden="true"] { display: none; } }
.office-grid { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 36px; }
.office-grid article { border-top: 1px solid #ddcaca; padding-top: 22px; }
.office-grid h3 { margin-bottom: 8px; font-size: 20px; }
.office-grid p { margin-bottom: 10px; font-size: 13px; }
.office-grid a { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 620px) { .office-grid { grid-template-columns: 1fr; } .partner-logo { width: 120px; height: 128px; flex-basis: 120px; } }

/* Keep the language switch visible beside the mobile menu button. */
.site-header { gap: 22px; }
.main-nav { margin-left: auto; }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; font-size: 11px; font-weight: 700; border-radius: 3px; }
.language-switch a[aria-current="true"] { background: var(--green); color: #fff; }
.language-switch a:not([aria-current]):hover { background: #e9e9e7; }
@media (min-width: 621px) and (max-width: 1000px) {
  .site-header { padding-left: 4%; padding-right: 4%; gap: 14px; }
  .main-nav { gap: 16px; }
  .main-nav .nav-cta { padding: 12px; }
  .main-nav .nav-cta span { margin-left: 6px; }
  .language-switch a { min-width: 30px; }
}
@media (max-width: 620px) {
  .header-tools { margin-left: auto; gap: 6px; }
  .site-header { gap: 8px; }
  .language-switch a { min-width: 30px; }
}

/* Small, consistent rounding for interactive and framed UI. */
.nav-cta,
.button,
.catalog-card,
.selection-panel,
.product-reference,
.related-products > div a,
.catalog-logo--dark,
.language-switch,
.language-switch a { border-radius: 6px; }
.hero-visual,
.product-image { overflow: hidden; border-radius: 8px; }
.hero-visual > img,
.product-image img { border-radius: inherit; }
.nav-cta,
.button { transition: transform .2s, background-color .2s, color .2s; }
.nav-cta:hover,
.button:hover { transform: translateY(-2px); }
.related-products > div a { transition: background-color .2s, color .2s; }

/* Office contact section. */
.contact { grid-template-columns: minmax(0, 1fr); }
.office-grid address { font-style: normal; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }

.office-contact { margin: 18px 0 0; display: grid; gap: 12px; }
.office-contact > div { display: flex; align-items: baseline; gap: 8px; }
.office-contact dt { font-size: 11px; color: var(--muted); }
.office-contact dt { flex: 0 0 48px; }
.office-contact dt::after { content: ":"; }
.office-contact dd { margin: 0; white-space: nowrap; }
.office-contact a:hover { color: #b62218; }
