/* =========================================================
   SENA ER HEADER V11.6
   Isolated header component. Intentionally does not inherit
   legacy v6/v9 header/nav selectors.
   ========================================================= */

.se116-header {
  position: sticky;
  top: 0;
  z-index: 950;
  width: 100%;
  color: #393d47;
  background: #f8f5f2;
  border-bottom: 1px solid rgba(57, 61, 71, .10);
  box-shadow: 0 8px 30px rgba(57, 61, 71, .055);
  isolation: isolate;
}

.se116-header *,
.se116-header *::before,
.se116-header *::after {
  box-sizing: border-box;
}

.se116-topbar {
  height: 30px;
  background: #393d47;
  color: rgba(255, 255, 255, .82);
}

.se116-topbar-shell,
.se116-shell {
  width: min(1200px, calc(100vw - 40px));
  margin-inline: auto;
}

.se116-topbar-shell {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.se116-topbar-contact,
.se116-topbar-social {
  display: flex;
  align-items: center;
}

.se116-topbar-contact { gap: 24px; }
.se116-topbar-social { gap: 8px; }

.se116-topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.82) !important;
  text-decoration: none;
  font-size: .70rem;
  line-height: 1;
  letter-spacing: .025em;
}

.se116-topbar-contact a span {
  color: rgba(255,255,255,.50) !important;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.se116-topbar-social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.70) !important;
  text-decoration: none;
}

.se116-topbar-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.se116-main {
  position: relative;
  background: #f8f5f2;
}

.se116-shell {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(205px, .78fr) minmax(0, 1.65fr) auto;
  align-items: center;
  gap: 22px;
}

.se116-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #393d47 !important;
  text-decoration: none !important;
}

.se116-brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #957f76 !important;
}

.se116-brand-mark .v9-brand-inline {
  width: 100%;
  height: 100%;
  display: block;
  color: inherit !important;
}

.se116-brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.se116-brand-copy strong {
  color: #393d47 !important;
  font-size: .80rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .145em;
  white-space: nowrap;
}

.se116-brand-copy small {
  color: #79756f !important;
  font-size: .52rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .19em;
  white-space: nowrap;
}

.se116-nav {
  justify-self: center;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.se116-nav a {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 12px;
  color: #5c626d !important;
  background: transparent !important;
  text-decoration: none !important;
  font-size: .76rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.se116-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: #957f76;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.se116-nav a:hover,
.se116-nav a:focus-visible {
  color: #393d47 !important;
  background: rgba(149,127,118,.07) !important;
}

.se116-nav a.is-active {
  color: #393d47 !important;
  background: rgba(149,127,118,.095) !important;
}

.se116-nav a.is-active::after {
  transform: scaleX(1);
}

.se116-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
}

.se116-search,
.se116-lang-trigger,
.se116-menu {
  appearance: none;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid rgba(57,61,71,.11) !important;
  background: #fff !important;
  color: #393d47 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.se116-search {
  width: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 13px;
}

.se116-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor !important;
  stroke-width: 1.55;
}

.se116-search:hover,
.se116-lang-trigger:hover {
  background: #f2ece8 !important;
  border-color: rgba(149,127,118,.28) !important;
  transform: none !important;
}

.se116-lang {
  position: relative;
  z-index: 25;
  display: block !important;
}

.se116-lang-trigger {
  min-width: 62px !important;
  width: auto !important;
  padding: 0 10px !important;
  gap: 6px !important;
  border-radius: 13px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.se116-lang-code {
  color: #393d47 !important;
  font-size: .70rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .06em;
}

.se116-lang-chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #393d47 !important;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.se116-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 17px;
  border: 1px solid #957f76 !important;
  border-radius: 13px;
  background: #957f76 !important;
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(149,127,118,.20);
  text-decoration: none !important;
  font-size: .77rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.se116-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor !important;
}

.se116-cta:hover {
  background: #876f67 !important;
  border-color: #876f67 !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(149,127,118,.26);
}

.se116-menu {
  display: none !important;
  width: 42px;
  min-width: 42px;
  padding: 0 !important;
  border-radius: 13px !important;
  background: #393d47 !important;
  color: #fff !important;
  border-color: #393d47 !important;
}

.se116-menu > span {
  width: 18px;
  display: grid;
  gap: 4px;
}

.se116-menu i {
  display: block !important;
  width: 100% !important;
  height: 1.5px !important;
  margin: 0 !important;
  background: currentColor !important;
  border-radius: 999px;
  transform: none !important;
  opacity: 1 !important;
}

.se116-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  overflow: hidden;
  background: rgba(57,61,71,.06);
}

.se116-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(149,127,118,.65), transparent);
  opacity: .45;
}

/* Make the legacy language dropdown visually compatible, but keep its behavior. */
.se116-lang .v85-lang-menu {
  top: calc(100% + 10px);
  right: 0;
  color: #393d47;
  background: #faf8f6;
  border-color: rgba(57,61,71,.11);
}

/* Laptop: trim spacing before switching to drawer. */
@media (max-width: 1280px) and (min-width: 1081px) {
  .se116-shell {
    width: min(1180px, calc(100vw - 28px));
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .se116-brand-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .se116-brand-copy strong { font-size: .72rem; }
  .se116-brand-copy small { font-size: .47rem; }
  .se116-nav a { padding: 0 8px; font-size: .70rem; }
  .se116-cta { padding-inline: 13px; }
  .se116-lang { display: none !important; }
}

/* Tablet/mobile: legacy drawer opens, desktop nav is removed. */
@media (max-width: 1080px) {
  .se116-topbar { display: none; }

  .se116-shell {
    width: min(100% - 24px, 1200px);
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .se116-nav,
  .se116-lang,
  .se116-cta {
    display: none !important;
  }

  .se116-actions { gap: 7px; }

  .se116-menu {
    display: inline-flex !important;
  }
}

@media (max-width: 560px) {
  .se116-shell {
    min-height: 64px;
  }

  .se116-brand {
    gap: 9px;
  }

  .se116-brand-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .se116-brand-copy strong {
    font-size: .72rem;
    letter-spacing: .11em;
  }

  .se116-brand-copy small {
    font-size: .47rem;
    letter-spacing: .14em;
  }

  .se116-search,
  .se116-menu {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .se116-nav a,
  .se116-nav a::after,
  .se116-cta,
  .se116-search,
  .se116-lang-trigger {
    transition: none !important;
  }
}

/* =========================================================
   V11.6.1 — NATIVE, ISOLATED LANGUAGE MENU
   No dependency on legacy v84/v85 language selectors.
   ========================================================= */
.se116-lang {
  position: relative;
  z-index: 60;
  display: block;
  margin: 0;
  padding: 0;
}

.se116-lang > summary {
  list-style: none;
}

.se116-lang > summary::-webkit-details-marker {
  display: none;
}

.se116-lang > summary::marker {
  display: none;
  content: "";
}

.se116-lang-trigger {
  user-select: none;
  -webkit-user-select: none;
}

.se116-lang[open] .se116-lang-trigger {
  background: #f2ece8 !important;
  border-color: rgba(149,127,118,.28) !important;
}

.se116-lang[open] .se116-lang-chevron {
  transform: rotate(180deg);
}

.se116-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 216px;
  padding: 8px;
  border: 1px solid rgba(57,61,71,.10);
  border-radius: 16px;
  background: #fffdfb;
  box-shadow: 0 22px 55px rgba(57,61,71,.16);
  color: #393d47;
  overflow: hidden;
}

.se116-lang-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #957f76, rgba(149,127,118,.18));
}

.se116-lang-menu a {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px !important;
  border-radius: 10px;
  border: 0 !important;
  background: transparent !important;
  color: #393d47 !important;
  text-decoration: none !important;
  transform: none !important;
}

.se116-lang-menu a:hover,
.se116-lang-menu a:focus-visible {
  background: #f5f0ec !important;
  color: #393d47 !important;
}

.se116-lang-menu a.is-active {
  background: rgba(149,127,118,.13) !important;
}

.se116-lang-meta {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.se116-lang-meta strong {
  color: #393d47 !important;
  font-size: .82rem !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.se116-lang-meta small {
  color: #8b817d !important;
  font-size: .62rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .10em !important;
}

.se116-lang-check {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #957f76;
  color: #fff;
  font-size: .65rem;
  line-height: 1;
  opacity: 0;
}

.se116-lang-menu a.is-active .se116-lang-check {
  opacity: 1;
}

/* Ensure no legacy language rule can leak back into the new component. */
.se116-header .se116-lang-menu,
.se116-header .se116-lang-menu * {
  box-sizing: border-box;
}

@media (max-width: 1280px) and (min-width: 1081px) {
  .se116-lang {
    display: none !important;
  }
}

@media (max-width: 1080px) {
  .se116-lang {
    display: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .se116-lang-chevron {
    transition: transform .18s ease;
  }
}

.se116-lang:not([open]) > .se116-lang-menu {
  display: none !important;
}

.se116-lang[open] > .se116-lang-menu {
  display: block !important;
}
