/* Shared Smet Software Solutions header: homepage and product pages. */
.smet-header {
  --text: #202124;
  --muted: #5f6368;
  --accent: #1a73e8;
  color: var(--text);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #dadce0;
  z-index: 100;
  display: flex;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.smet-header, .smet-header * { box-sizing: border-box; }
.smet-header.header-hidden { transform: translateY(-100%); }
.smet-header:focus-within { transform: none; }
.smet-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 16px;
}
.smet-header a { text-decoration: none; transition: color 0.15s ease; }
.smet-header a:focus-visible { outline: 3px solid #e8f0fe; outline-offset: 2px; }
.smet-header .brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); }
.smet-header .brand:hover { color: var(--text); }
.smet-header .brand-mark {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.smet-header .brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.smet-header .brand-name {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.2;
}
.smet-header .brand-name strong { font-weight: 700; color: var(--text); }
.smet-header nav { display: none; }
.smet-header .header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.smet-header .lang-toggle {
  display: flex;
  background: #f8f9fa;
  border: 1px solid #dadce0;
  border-radius: 9999px;
  padding: 2px;
}
.smet-header .lang-toggle a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.15s ease;
}
.smet-header .lang-toggle a[aria-current] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.smet-header .lang-toggle a:not([aria-current]):hover { color: var(--text); background: rgba(0, 0, 0, 0.05); }
@media (max-width: 899px) {
  /* Keep the whole name readable without competing with the mobile controls. */
  .smet-header .brand { gap: 9px; }
  .smet-header .brand-name {
    display: grid;
    gap: 2px;
    font-size: 0.75rem;
    line-height: 1.15;
    letter-spacing: 0;
  }
  .smet-header .brand-name strong { font-size: 1.125rem; letter-spacing: -0.025em; }
  .smet-header .brand-name span { display: block; }
}
@media (max-width: 560px) {
  .smet-header .header-inner { padding-inline: 12px; gap: 8px; }
  .smet-header .brand { gap: 7px; }
  .smet-header .brand-mark { width: 30px; height: auto; }
  .smet-header .brand-name { font-size: 0.6875rem; }
  .smet-header .brand-name strong { font-size: 1.0625rem; }
  .smet-header .header-actions { gap: 6px; }
  .smet-header .lang-toggle a { padding-inline: 9px; }
}
@media (min-width: 900px) {
  .smet-header nav { display: flex; gap: 4px; }
  .smet-header nav a {
    color: var(--muted);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 9999px;
    transition: all 0.15s ease;
    font-size: 0.9rem;
  }
  .smet-header nav a:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
  .smet-header > .header-inner > nav a[aria-current="page"] { color: var(--accent); background: #e8f0fe; }
}
@media (prefers-reduced-motion: reduce) {
  .smet-header, .smet-header .brand-mark { transition: none; }
}
