/* Small CMS states; the original html-v2 visual design remains unchanged. */
[hidden] { display: none !important; }
.cms-empty { padding: 24px; color: var(--muted); line-height: 1.7; border: 1px solid var(--line); border-radius: 8px; }
.primary-card, .secondary-card, .application-grid > a, .factory-title, .strength-item > span, .project-copy, .contact-inner > div { min-width: 0; }
.factory-title .factory-more { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-top:16px; color:#fff; font-size:16px; text-decoration:underline; text-underline-offset:4px; }
.factory-title > strong { font-size:24px; line-height:1.3; }
.factory-title > span { margin-top:8px; line-height:1.65; }
@media(min-width:1101px) { .factory-panel { grid-template-rows:minmax(260px,1fr) auto; } }
.primary-copy h3, .secondary-card strong, .application-grid strong, .factory-title, .strength-item strong, .project-copy h3, .contact-inner h2 { overflow-wrap: anywhere; }
.footer-social .social-placeholder { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 14px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Both languages stay visible; the native CMS link remains the only action. */
.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 4px;
  color: #145b57;
  background: #f0f7f6;
  border: 1px solid #a5c9c4;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1;
}
.language-switch__label { display: inline-flex; align-items: center; gap: 8px; padding-left: 7px; }
.language-switch__label > svg { width: 19px; height: 19px; flex-shrink: 0; }
.language-switch__label > span { display: none; }
.language-switch__options { display: flex; align-items: center; gap: 4px; }
.language-switch .language-switch__option {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 6px;
  color: #145b57;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
}
.language-switch .language-switch__option.is-current { color: #fff; background: #086e6b; box-shadow: 0 2px 5px rgb(8 110 107 / 15%); }
.language-switch a.language-switch__option { transition: background-color var(--ease), color var(--ease); }
.language-switch a.language-switch__option:hover { color: #10423f; background: #d7ebe7; }
.language-switch a.language-switch__option:focus-visible { outline: 3px solid #086e6b; outline-offset: 2px; }
@media (min-width: 1101px) and (max-width: 1280px) {
  .language-switch { gap: 0; }
  .language-switch__label { display: none; }
}
@media (max-width: 1100px) {
  .site-nav .nav-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .site-nav .language-switch { width: 100%; justify-content: space-between; gap: 12px; padding: 8px 10px; }
  .language-switch__label { padding-left: 2px; font-size: 16px; font-weight: 600; }
  .language-switch__label > span { display: inline; }
  .site-nav .nav-quote { width: 100%; }
}
.project-header button:focus-visible, .nav-toggle:focus-visible, .dropdown-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.cms-home .cms-case-empty p { margin: 0 0 16px; }
.cms-home .cms-case-empty a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; color: var(--deep-teal, #087f84); }
.cms-home .cms-case-empty a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.project-copy p { overflow-wrap: anywhere; }
.cms-home .project-header { flex-wrap: wrap; }
.cms-home .project-header h2 { min-width: 0; overflow-wrap: anywhere; }
.cms-home .project-header button { min-width: 44px; min-height: 44px; }
.cms-home .project-image-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; padding: 20px; background: #edf6f3; color: #4d6972; font-size: 16px; line-height: 1.6; text-align: center; }
.cms-home .cms-case-all { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 14px; color: var(--deep-teal, #087f84); font-size: 16px; font-weight: 650; }
.cms-home .cms-case-all svg { width: 18px; height: 18px; }

/* Readable supporting copy without enlarging the homepage display headings. */
.cms-home .benefit strong, .cms-home .secondary-card strong { font-size:16px; line-height:1.4; }
.cms-home .benefit small, .cms-home .secondary-card > span, .cms-home .application-grid span { font-size:15px; line-height:1.6; }
.cms-home .strength-item strong { font-size:17px; }
.cms-home .strength-item small { font-size:16px; line-height:1.6; }
.cms-home .project-copy p { font-size:17px; line-height:1.75; }
@media (max-width:700px) {
  .cms-home .hero--cinematic .hero-copy { padding-bottom:230px; }
  .cms-home .hero--cinematic .hero-background { height:260px; }
  .cms-home .hero--cinematic::after { height:262px; }
  .cms-home .hero--cinematic .hero-eyebrow { font-size:12px; letter-spacing:.08em; }
  .cms-home .hero--cinematic .hero-trust { font-size:11px; letter-spacing:.04em; flex-wrap:wrap; }
  .cms-home .hero--cinematic .hero-actions .button { min-width:0; font-size:15px; line-height:1.4; white-space:normal; }
}

/* Shared utility bar; it scrolls away while the existing main header stays sticky. */
.header_bar { color:#eef8f7; background:#153e47; border-bottom:1px solid rgb(255 255 255 / 9%); font-size:15px; line-height:1.45; }
.header_bar-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 24px; width:min(calc(100% - 80px),var(--max)); min-height:44px; margin-inline:auto; }
.header_bar-contact { display:flex; flex-wrap:wrap; align-items:center; gap:0 28px; min-width:0; }
.header_bar-link { display:inline-flex; align-items:center; gap:9px; min-width:0; max-width:100%; min-height:44px; padding-block:8px; transition:color var(--ease); }
.header_bar-link > span { min-width:0; overflow-wrap:anywhere; }
.header_bar-link > svg { width:19px; height:19px; flex-shrink:0; color:#78d8c9; }
.header_bar-number { font-variant-numeric:tabular-nums; }
.header_bar-social { display:flex; flex-wrap:wrap; align-items:center; gap:2px; margin-left:auto; }
.header_bar-social a { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:3px; transition:background-color var(--ease),color var(--ease); }
.header_bar-social svg { width:19px; height:19px; }
.header_bar a:hover { color:#91eddb; }
.header_bar-social a:hover { background:rgb(255 255 255 / 8%); }
.header_bar a:focus-visible { outline:2px solid #91eddb; outline-offset:-2px; border-radius:3px; }
@media (max-width:1100px) {
  .header_bar-inner { width:calc(100% - 40px); }
  .site-nav { top:var(--navigation-top,var(--header)); }
}
@media (max-width:700px) {
  .header_bar { font-size:14px; }
  .header_bar-inner { gap:0 12px; }
  .header_bar-contact { gap:0 16px; }
  .header_bar-number { display:none; }
  .header_bar-link { gap:7px; }
  .header_bar-link > svg { width:17px; height:17px; }
}
@media (max-width:380px) {
  .header_bar-contact { gap:0 10px; }
  .header_bar-link { gap:5px; }
}
