.ty-company {
  --ty-company-ink: #252624;
  --ty-company-muted: #575a56;
  --ty-company-gold: #4a505b;
  --ty-company-accent: #ffc107;
  --ty-company-border: #d9dde3;
  --ty-company-gutter: clamp(12px, 2.5vw, 24px);
  --ty-company-space: clamp(44px, 7vw, 96px);
  color: var(--ty-company-ink);
  font: 16px/1.55 "Segoe UI", Arial, sans-serif;
}
.ty-company-wrap { width: calc(100% - var(--ty-company-gutter) * 2); max-width: 1200px; margin-inline: auto; }
.ty-company h2 { margin: 10px 0 14px; color: inherit; font-size: clamp(32px, 4.65vw, 51px); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; }
.ty-company h3 { margin: 0; color: inherit; line-height: 1.2; font-weight: 700; }
.ty-company p { color: var(--ty-company-muted); }
.ty-company a { color: inherit; text-decoration: none; }
.ty-company a:focus-visible { outline: 2px solid var(--ty-company-gold); outline-offset: 3px; border-radius: 2px; }
.ty-company .ty-company-kicker { margin: 0; color: var(--ty-company-gold); font-size: 13px; font-weight: 750; letter-spacing: 1.4px; text-transform: uppercase; }
.ty-company-photo { display: block; width: 100%; height: 330px; object-fit: cover; border-radius: 9px; }
.ty-company .ty-company-caption { margin: 8px 0 0; color: var(--ty-company-muted); font-size: 13px; }

.ty-dealer { padding-block: var(--ty-company-space); background: #F2F3F5; }
.ty-dealer .ty-company-heading { margin: 0 0 31px; padding: 0; }
.ty-dealer-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.ty-dealer-factory { margin: 0; }
.ty-dealer-certificate {
  display: flex; flex-direction: column; justify-content: center; min-height: 330px; padding: 31px;
  border: 1px dashed #a39e8e; border-radius: 9px; background: #fff;
}
.ty-dealer-certificate h3 { margin: 8px 0; font-size: clamp(22px, 2.7vw, 28px); }
.ty-dealer-certificate p:last-child { margin: 0; }
.ty-dealer-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin: 22px 0 0; padding: 0; list-style: none;
  border: 1px solid var(--ty-company-border); border-radius: 9px; overflow: hidden; background: var(--ty-company-border);
}
.ty-dealer-metrics li { padding: 19px 21px; min-height: 108px; background: #F2F3F5; }
.ty-dealer-metrics strong { display: block; margin-bottom: 8px; color: var(--ty-company-gold); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; }
.ty-dealer-metrics span { font-size: 14px; }

.ty-parts { padding-bottom: var(--ty-company-space); background: #eef0f3; }
.ty-parts-intro { color: #fff; background: #272925; }
.ty-parts-intro .ty-company-wrap { position: relative; min-height: 274px; padding-block: var(--ty-company-space) 62px; }
.ty-parts-intro h2 { font-size: clamp(30px, 4.65vw, 44px); }
.ty-parts-intro .ty-company-kicker { color: var(--ty-company-accent); }
.ty-parts-intro .ty-parts-description { margin: 0; color: #dfe2e7; }
.ty-parts .ty-parts-equipment {
  position: absolute; z-index: 1; bottom: -23px; right: 0;
  display: inline-flex; align-items: center; gap: 5px; min-height: 47px; padding: 8px 18px;
  border: 1px solid var(--ty-company-accent); border-radius: 6px; background: var(--ty-company-accent);
  box-shadow: 0 7px 18px #241b141f; color: #21160f; font-size: 14px; font-weight: 700;
}
.ty-parts-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; padding-top: 54px; }
.ty-part-card {
  display: flex; flex-direction: column; grid-column: span 4; min-width: 0;
  border: 1px solid #dce0e5; border-radius: 9px; overflow: hidden; background: #fff;
}
.ty-part-card:nth-child(-n+2) { grid-column: span 6; display: grid; grid-template-columns: 45% minmax(0, 55%); }
.ty-part-card:nth-child(n+9) { grid-column: span 3; }
.ty-part-picture { display: grid; place-items: center; height: 146px; background: #eceef1; }
.ty-part-picture img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.ty-part-card:nth-child(-n+2) .ty-part-picture { height: 100%; min-height: 230px; }
.ty-part-card:nth-child(n+9) .ty-part-picture { height: 124px; }
.ty-part-body { min-width: 0; padding: 16px 18px 18px; }
.ty-part-body h3 { margin: 0 0 10px; font-size: 18px; }
.ty-part-body h3 a { display: flex; justify-content: space-between; align-items: flex-start; gap: 7px; }
.ty-part-body h3 a span { color: var(--ty-company-gold); font-size: 14px; }
.ty-part-card:nth-child(-n+2) h3 { font-size: 23px; }
.ty-part-body ul { list-style: none; margin: 0; padding: 0; color: var(--ty-company-muted); font-size: 13px; }
.ty-part-body li { margin: 5px 0; }
.ty-part-body .ty-part-more { display: inline-block; margin-top: 6px; color: var(--ty-company-gold); font-size: 13px; font-weight: 700; }

.ty-about { padding-block: var(--ty-company-space); background: #fff; }
.ty-about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr); align-items: center; gap: clamp(22px, 5vw, 62px); }
.ty-about .ty-about-description { margin: 0; font-size: 17px; }
.ty-about-list { margin: 31px 0 0; padding: 0; list-style: none; }
.ty-about-list li { display: flex; gap: 15px; padding-block: 11px; border-top: 1px solid #d8dce2; font-weight: 700; }
.ty-about-list span { color: var(--ty-company-gold); }
.ty-about-figure { position: relative; margin: 0; padding-bottom: 23px; }
.ty-about-figure figcaption {
  position: absolute; bottom: 0; left: 24px; max-width: calc(100% - 35px); padding: 14px 22px;
  border-radius: 6px; background: var(--ty-company-accent); color: var(--ty-company-ink); font-weight: 800;
}

@media (hover: hover) {
  .ty-company a { transition: color .16s ease, background-color .16s ease; }
  .ty-part-body a:hover { color: var(--ty-company-gold); text-decoration: underline; text-underline-offset: 2px; }
  .ty-parts .ty-parts-equipment:hover { background: #e9ebef; }
}
@media (max-width: 950px) {
  .ty-dealer-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ty-parts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ty-parts-grid .ty-part-card { grid-column: auto; display: flex; }
  .ty-parts-grid .ty-part-card .ty-part-picture { height: 146px; min-height: 0; }
}
@media (max-width: 720px) {
  .ty-dealer-grid, .ty-about-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ty-company .ty-company-photo { height: clamp(190px, 50vw, 300px); }
  .ty-dealer-certificate { min-height: 150px; padding: 20px; }
  .ty-dealer-metrics li { padding: 14px 12px; }
  .ty-parts-intro .ty-company-wrap { min-height: 0; padding-bottom: 25px; }
  .ty-parts .ty-parts-equipment { position: relative; right: auto; bottom: auto; margin-top: 17px; }
  .ty-parts-grid { padding-top: 22px; }
}
@media (max-width: 500px) {
  .ty-parts-grid { grid-template-columns: minmax(0, 1fr); }
  .ty-about-figure figcaption { left: 12px; padding: 10px 13px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ty-company a { transition: none; }
}

.ty-company { --ochre: #765500; }
.ty-dealer-metrics li { background: white; }
.ty-parts-grid .ty-part-card {
  background: #fff;
  border-color: #cdd2db;
  box-shadow: 0 2px 6px rgb(34 42 56 / 7%);
}
.ty-parts-grid .ty-part-picture {
  background: #f2f3f5;
  isolation: isolate;
}
.ty-parts-grid .ty-part-picture img {
  filter: brightness(1.15);
  mix-blend-mode: multiply;
}
.ty-part-body .ty-part-more, .ty-part-body .ty-part-more:hover,
.ty-part-body h3 a span { color: var(--ochre); }
