/* Language controls extend the site's existing navigation. */
nav { gap: 16px; }
nav .nav-logo, nav .nav-cta { white-space: nowrap; }
nav .nav-links { gap: 24px; }
.language-switch {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px;
  border: 1px solid rgba(180,154,110,.45); border-radius: 3px; padding: 2px;
  font-family: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .04em;
}
.language-switch a { display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; min-height: 34px; padding: 7px 5px;
  color: rgba(255,255,255,.85); text-decoration: none; border-radius: 1px;
}
.language-switch a[aria-current="page"] { background: #b08f5c; color: #0e0e0e; }
.language-switch a:hover { background: rgba(180,154,110,.2); color: #fff; }
.language-switch a[aria-current="page"]:hover { background: #d4bc94; color: #0e0e0e; }
.language-switch a:focus-visible { outline: 2px solid #f5efe4; outline-offset: 3px; }
@media (max-width: 1199px) {
  nav { padding: 12px 20px; gap: 12px; }
  nav .nav-cta { display: none; }
  nav .hamburger { display: flex; flex: 0 0 auto; }
  nav .language-switch { margin-left: auto; }
  nav .nav-links { display: none; position: fixed; top: var(--site-nav-height, 68px);
    left: 0; right: 0; background: rgba(14,14,14,.98); flex-direction: column;
    padding: 26px 24px 30px; gap: 22px; border-bottom: 1px solid rgba(180,154,110,.2);
    max-height: calc(100dvh - var(--site-nav-height, 68px)); overflow-y: auto;
  }
  nav .nav-links.open { display: flex; }
  nav .nav-links a { font-size: .82rem; }
}
@media (max-width: 380px) {
  nav { padding: 10px 12px; gap: 8px; }
  nav .nav-logo { font-size: 1.35rem; }
  .language-switch a { min-width: 30px; }
}
html[lang="en"] .page-hero h1 { overflow-wrap: break-word; }
/* Keep the existing grids within narrow viewports in both languages. */
.contact-grid > *, .form-row > *, .contact-method > :last-child,
.detail-wrap > *, .cat-text, .blog-card { min-width: 0; }
.contact-method a { overflow-wrap: anywhere; }
.form-group input, .form-group select, .form-group textarea { min-width: 0; max-width: 100%; width: 100%; }
@media (max-width: 900px) {
  .contact-grid, .detail-wrap { grid-template-columns: minmax(0, 1fr); }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-content h2, .blog-card h3 { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  .category-header { flex-wrap: wrap; gap: 14px; align-items: center; }
  .category-header .cat-num { font-size: 3.5rem; }
  .category-header .cat-ico { width: 52px; height: 52px; }
  .category-header .cat-text { flex: 1 1 100%; }
}
