/* A compact native dropdown keeps all four languages available on every screen. */
.site-header { height: auto; min-height: 92px; }
.tm-language-select {
  flex: 0 0 auto;
  display: none !important;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
}
.tm-language-select label {
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #333;
}
.tm-language-select select {
  width: 142px;
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  background-color: #fff;
  color: #191919;
  font: 800 12px/1.2 Arial, sans-serif;
  cursor: pointer;
}
.tm-language-select select:hover { border-color: #bd2722; }
.tm-language-select select:focus-visible { outline: 3px solid #bd2722; outline-offset: 2px; }
.hero h1, .service-hero h1, .section h2, .about h2, .contact h2, .service-cta h2 { overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 6.5rem); }
.type-grid h3, .class-row > *, .service-card { min-width: 0; overflow-wrap: anywhere; }
.type-grid article { height: auto; }
.hero-strip { flex-wrap: wrap; gap: 12px; }
.header-cta { white-space: nowrap; }
@media(max-width:1050px) {
  .tm-language-select {
    order: 2;
    flex: 0 0 100%;
    justify-content: flex-end;
    margin: 0;
    padding: 5px 0 8px;
  }
  .site-header nav { order: 3; }
  .site-header .brand { flex: 1 1 auto; min-width: 0; }
}
@media(max-width:650px) {
  .site-header .brand {
    width: auto;
    max-width: calc(100% - 102px);
    height: 74px;
    overflow: hidden;
  }
  .site-header .brand img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }
  .tm-language-select { justify-content: flex-end; }
  .tm-language-select label { font-size: 10px; }
  .tm-language-select select { width: 164px; min-height: 44px; font-size: 13px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .service-hero h1 { font-size: clamp(2rem, 9vw, 3.8rem); }
  .site-header nav a { font-size: 12px; }
  .hero .eyebrow { line-height: 1.6; }
}
