/* VALTERRA Navigation UX v1.0.0-rc3 — scope exclusively to Site Core header */
.vtg-header.vtne-ready .vtg-nav { display:none!important; }
.vtg-header .vtne-desktop-nav { margin-left:auto; display:flex; align-items:center; gap:clamp(6px, .85vw, 15px); position:relative; z-index:10002; flex:0 1 auto; }
.vtg-header .vtne-group { position:relative; }
.vtg-header .vtne-trigger { display:inline-flex; justify-content:center; align-items:center; gap:9px; min-height:44px; padding:9px 13px; border:1px solid transparent; border-radius:999px; background:transparent; color:#f6f3ec; font-family:Manrope,Arial,sans-serif; font-size:clamp(11px, .9vw, 13px); line-height:1.15; font-weight:650; letter-spacing:.005em; white-space:nowrap; cursor:pointer; transition: background .18s ease,border-color .18s ease,color .18s ease; }
.vtg-header .vtne-trigger:hover,.vtg-header .vtne-group.is-open .vtne-trigger,.vtg-header .vtne-trigger:focus-visible { background:rgba(255,255,255,.075); border-color:rgba(199,174,122,.35); color:#fff; }
.vtg-header .vtne-chevron { width:7px; height:7px; border-right:1.6px solid #d5bc88; border-bottom:1.6px solid #d5bc88; transform:translateY(-2px) rotate(45deg); transition:transform .16s ease; }
.vtg-header .vtne-group.is-open .vtne-chevron { transform:translateY(2px) rotate(225deg); }
.vtg-header .vtne-panel[hidden] { display:none!important; }
.vtg-header .vtne-panel { position:absolute; z-index:10005; left:50%; top:calc(100% + 12px); transform:translateX(-50%); width:min(345px,calc(100vw - 40px)); padding:17px; overflow:hidden; border-radius:15px; background:linear-gradient(135deg,rgba(17,47,40,.985),rgba(7,29,25,.99)); color:#fff; border:1px solid rgba(199,174,122,.3); box-shadow:0 23px 58px rgba(1,15,11,.35); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.vtg-header .vtne-panel::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background:linear-gradient(90deg,transparent,#c7ae7a,transparent); }
.vtg-header .vtne-eyebrow { margin:0 0 9px!important; padding:2px 10px 11px; font:700 10px/1.5 Manrope,Arial,sans-serif; letter-spacing:.15em; text-transform:uppercase; color:#cbb789; border-bottom:1px solid rgba(255,255,255,.12); }
.vtg-header .vtne-panel-link { display:flex; flex-wrap:wrap; align-items:center; column-gap:8px; row-gap:2px; padding:12px 11px; margin:2px 0; text-align:left; text-decoration:none!important; border-radius:9px; color:#f9f8f3!important; transition:background .18s ease; }
.vtg-header .vtne-panel-link:hover,.vtg-header .vtne-panel-link:focus-visible { background:rgba(255,255,255,.09); }
.vtg-header .vtne-panel-link .vtne-link-title { font-family:Manrope,Arial,sans-serif; font-size:13px; line-height:1.45; font-weight:750; letter-spacing:0; }
.vtg-header .vtne-panel-link .vtne-link-desc { flex:0 0 100%; font:400 11px/1.6 Manrope,Arial,sans-serif; color:rgba(250,248,243,.68); }
.vtg-header .vtne-badge { display:inline-flex; align-items:center; justify-content:center; padding:3px 8px; border:1px solid rgba(199,174,122,.58); border-radius:999px; background:rgba(199,174,122,.15); color:#f0d399; font:800 9px/1.3 Manrope,Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; vertical-align:middle; }
.vtg-header .vtne-desktop-nav :is(a,button):focus-visible { outline:2px solid #d7bf8d; outline-offset:3px; }
/* Keep Site Core language switcher and consultation CTA prominent. */
.vtg-header.vtne-ready .vtg-header__inner { gap:clamp(10px,1.2vw,22px); }
.vtg-header.vtne-ready .vtg-logo { flex-shrink:0; }
.vtg-header.vtne-ready .vtg-language { flex-shrink:0; }
.vtg-header.vtne-ready .vtg-header-cta { flex-shrink:0; white-space:nowrap; }
/* Unified status labels: restrained gold, consistent geometry in menus and cards. */
.vtg-header.vtne-ready .vtne-badge,
.vtg-header.vtne-ready .vtg-mobile-menu .vtne-info-badge {
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  box-sizing:border-box; flex:0 0 auto; min-height:30px;
  margin:0!important; padding:5px 11px!important;
  border:1px solid rgba(199,174,122,.65)!important; border-radius:8px!important;
  color:#ebcb91!important; background:rgba(199,174,122,.105)!important;
  font:750 10px/1.3 Manrope,Arial,sans-serif!important; letter-spacing:.09em!important;
  text-transform:uppercase!important; white-space:nowrap!important;
  position:static!important; transform:none!important; float:none!important; inset:auto!important;
}
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature {
  display:flex!important; align-items:center!important; justify-content:flex-start!important;
  flex-wrap:nowrap!important; gap:clamp(9px,2.2vw,18px)!important;
  min-width:0; width:100%; padding:13px 15px!important;
  border-bottom:1px solid rgba(255,255,255,.11)!important;
  text-decoration:none!important;
}
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-link-title {
  display:inline-block; min-width:0; flex:0 1 auto!important; width:auto!important; overflow-wrap:normal; word-break:normal;
  line-height:1.15;
}
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-badge {
  margin-left:0!important; flex-shrink:0; align-self:center;
}
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-valuation {
  border-left:2px solid #c7ae7a!important; background:rgba(199,174,122,.065);
  border-radius:8px; margin-block:2px;
}
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-international { border-radius:8px; }
.vtg-header.vtne-ready .vtg-mobile-menu nav :is(.vtne-mobile-feature,.vtne-mobile-feature:hover):focus-visible {
  outline:2px solid #d7bf8d!important; outline-offset:3px;
}
.vtg-header.vtne-ready .vtg-mobile-menu .vtne-mobile-contact { color:#e7ca93!important; }
/* Keep original DE/EN routing and selected language in the header row. */
.vtg-header.vtne-ready.vtne-lang-in-header .vtg-header__inner { position:relative; z-index:10002; }
@media (max-width:1199px) {
  .vtg-header.vtne-ready .vtne-desktop-nav {display:none!important;}
  .vtg-header.vtne-ready .vtg-nav,.vtg-header.vtne-ready .vtg-header-cta {display:none!important;}
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-header__inner > .vtg-language {
    display:flex!important; align-items:stretch!important; position:relative; z-index:10004;
    flex:0 0 auto; margin-left:auto!important; margin-right:0!important;
    border:1px solid rgba(199,174,122,.4)!important; border-radius:8px;
    overflow:hidden; background:rgba(5,25,21,.25);
  }
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-header__inner > .vtg-language .vtg-lang {
    display:grid!important; place-items:center; min-width:36px!important; width:36px; height:42px!important;
    padding:0!important; line-height:1!important; font-size:11px!important;
    text-decoration:none!important; border:0!important;
  }
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-header__inner > .vtg-language .vtg-lang.is-active {
    color:#0b241f!important; background:#f6f3ec!important;
  }
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-header__inner > .vtg-language .vtg-lang:not(.is-active) {
    color:#f6f3ec!important; background:transparent!important;
  }
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-mobile-menu .vtg-mobile-language {display:none!important;}
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-menu-toggle {
    margin-left:8px!important; margin-right:0!important; z-index:10005;
    flex:0 0 46px; width:46px;height:46px; border-radius:50%!important;
  }
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-logo {margin-right:auto;}

  .vtg-header.vtne-ready .vtg-menu-toggle {display:block!important; flex:0 0 46px; margin-left:auto;}
  .vtg-header.vtne-ready .vtg-header__inner {justify-content:space-between;}
}
@media (min-width:1200px) and (max-width:1365px) {
  .vtg-header.vtne-ready .vtg-logo { width:clamp(134px,12vw,160px); }
  .vtg-header.vtne-ready .vtne-trigger {padding-inline:8px;}
  .vtg-header.vtne-ready .vtne-desktop-nav {gap:4px;}
  .vtg-header.vtne-ready .vtg-header__inner {gap:12px;}
}
@media (max-width:600px) {
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature {padding-inline:12px!important; gap:9px!important;}
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-link-title {
    font-size:clamp(25px,6.6vw,33px)!important; line-height:1.15!important;
    letter-spacing:-.025em!important;
  }
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-badge {
    padding-inline:8px!important; min-height:29px; font-size:9px!important;
  }
}
@media (max-width:380px) {
  .vtg-header.vtne-ready .vtg-container {width:calc(100% - 30px)!important;}
  .vtg-header.vtne-ready .vtg-header__inner {gap:7px!important;}
  .vtg-header.vtne-ready .vtg-logo {width:clamp(110px,38vw,128px)!important; min-width:0;}
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-header__inner > .vtg-language .vtg-lang {width:32px!important;min-width:32px!important;height:38px!important;}
  .vtg-header.vtne-ready.vtne-lang-in-header .vtg-menu-toggle {width:42px;height:42px;flex-basis:42px; margin-left:5px!important;}
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-link-title {font-size:clamp(22px,6.5vw,27px)!important; overflow-wrap:anywhere!important; hyphens:auto!important;}
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature {padding-inline:8px!important;gap:7px!important;}
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-badge {padding-inline:7px!important; font-size:9px!important;}
  /* At <=380px allow natural wrap only when the full word and badge cannot fit. */
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-valuation {flex-wrap:wrap!important;row-gap:5px!important;}
  .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-valuation .vtne-mobile-link-title {
    flex:0 1 auto!important; width:auto!important; overflow-wrap:normal!important; hyphens:manual!important;
    font-size:clamp(22px,7.2vw,26px)!important;
  }

}
@media (prefers-reduced-motion:reduce) {
  .vtg-header.vtne-ready .vtne-trigger,.vtg-header.vtne-ready .vtne-panel-link,.vtg-header.vtne-ready .vtne-chevron { transition:none!important; }
}

/* RC3: label sits directly after its menu text, not at the right viewport edge. */
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature { column-gap:clamp(9px,2vw,14px)!important; }
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-link-title {
  flex:0 1 auto!important; width:auto!important; max-width:100%!important;
}
.vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-feature .vtne-mobile-badge {
  margin-left:0!important; margin-right:0!important; place-self:auto!important;
}
/* Native SVG strokes: iOS cannot substitute colored emoji for these arrows. */
.vtne-text-arrow {display:inline-block!important;width:1em!important;height:1em!important;vertical-align:-.14em!important;flex:0 0 1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}
.vtne-text-arrow[aria-hidden="true"] {speak:none;}
.vtne-arrow-pseudo-after::after,.vtne-arrow-pseudo-before::before {
  content:""!important;display:inline-block!important;width:1em!important;height:1em!important;
  background-color:currentColor!important;background-repeat:no-repeat!important;
  -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;mask-position:center!important;
  -webkit-mask-size:contain!important;mask-size:contain!important;
  font-size:1em!important;pointer-events:none!important;
}
.vtne-arrow-pseudo-after.vtne-pseudo-ne::after,.vtne-arrow-pseudo-before.vtne-pseudo-ne::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7 M7 7h10v10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7 M7 7h10v10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.vtne-arrow-pseudo-after.vtne-pseudo-right::after,.vtne-arrow-pseudo-before.vtne-pseudo-right::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14 m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14 m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.vtne-arrow-pseudo-after.vtne-pseudo-left::after,.vtne-arrow-pseudo-before.vtne-pseudo-left::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 12H5 m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 12H5 m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
@media (max-width:380px) {
 .vtg-header.vtne-ready .vtg-mobile-menu nav .vtne-mobile-valuation .vtne-mobile-badge { margin-left:0!important; }
}
