:root{--teinvyta-nav-height:88px}
html{scroll-padding-top:115px}
.teinvyta-header,.teinvyta-header *{box-sizing:border-box}
.teinvyta-header{position:fixed;z-index:999;top:20px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:1360px;background:rgba(246,240,234,.65);-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);border:1px solid rgba(226,217,207,.3);border-radius:100px;box-shadow:0 4px 18px -12px hsla(350,45%,28%,.12);transition:background-color .3s ease,box-shadow .3s ease}
.teinvyta-header__inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 28px}
.teinvyta-header__brand{display:inline-flex;align-items:center;flex-shrink:0;text-decoration:none;color:#10353e;font-weight:700;font-size:22px}
.teinvyta-header__logo{display:block;width:auto;height:auto;max-height:45px;max-width:190px;object-fit:contain}
.teinvyta-header__nav{margin-left:auto}
.teinvyta-header__menu,.teinvyta-header__menu ul{margin:0;padding:0;list-style:none}
.teinvyta-header__menu{display:flex;align-items:center;gap:30px}
.teinvyta-header__menu a{font-family:"Montserrat",Arial,sans-serif;color:#282828;text-decoration:none;font-size:16px;line-height:1.4;font-weight:500;display:inline-flex;align-items:center;min-height:44px;transition:color .2s ease}
.teinvyta-header__menu a:hover,.teinvyta-header__menu .current-menu-item>a{color:#b9865f}
.teinvyta-header__menu>li.menu-item--cta>a{background:#103d43;border:1px solid #103d43;color:#fff;font-family:"Montserrat",Arial,sans-serif;font-size:16px;font-weight:500;line-height:1.2;border-radius:20px;padding:16px 24px;min-height:52px;box-shadow:0 8px 20px rgba(16,61,67,.16);transition:color .25s ease,background-color .25s ease,border-color .25s ease,transform .25s ease,box-shadow .25s ease}
.teinvyta-header__menu>li.menu-item--cta>a:hover{background:#0a3035;border-color:#0a3035;color:#fff;box-shadow:0 12px 26px rgba(16,61,67,.22)}
.teinvyta-header__menu>li.menu-item--cta>a:focus-visible{outline:2px solid #103d43;outline-offset:4px}
.teinvyta-header__menu li{position:relative}
.teinvyta-header__menu .sub-menu{position:absolute;top:100%;right:0;min-width:185px;background:#f6f0ea;border:1px solid #e2d9cf;border-radius:14px;padding:8px 14px;box-shadow:0 12px 26px rgba(0,0,0,.08);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility .2s}
.teinvyta-header__menu li:hover>.sub-menu,.teinvyta-header__menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.teinvyta-header__toggle{display:none}
body.admin-bar .teinvyta-header{top:52px}
@media(max-width:1024px){
  .teinvyta-header{top:12px;width:calc(100% - 24px)}
  .teinvyta-header__inner{padding:10px 18px;min-height:64px}
  .teinvyta-header__logo{max-height:38px;max-width:165px}
  .teinvyta-header__toggle{width:44px;height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;border:0;padding:0;background:transparent;color:#10353e;position:relative;z-index:1002}
  .teinvyta-header__toggle span{width:23px;height:2px;border-radius:2px;background:currentColor;transition:transform .25s,opacity .25s}
  .teinvyta-header.is-open .teinvyta-header__toggle span:first-child{transform:translateY(7px) rotate(45deg)}
  .teinvyta-header.is-open .teinvyta-header__toggle span:nth-child(2){opacity:0}
  .teinvyta-header.is-open .teinvyta-header__toggle span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .teinvyta-header__nav{display:none;position:fixed;top:0;left:0;right:0;width:100%;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding:94px 26px 30px;background:#f6f0ea;border-radius:26px;overflow-y:auto;z-index:1001;overscroll-behavior:contain}
  .teinvyta-header.is-open{background:#f6f0ea;border-radius:26px}
  .teinvyta-header.is-open .teinvyta-header__brand{position:relative;z-index:1002}
  .teinvyta-header.is-open .teinvyta-header__nav{display:block}
  .teinvyta-header__menu{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .teinvyta-header__menu>li{border-bottom:1px solid rgba(16,53,62,.1)}
  .teinvyta-header__menu>li>a{width:100%;min-height:62px;font-size:20px;color:#10353e}
  .teinvyta-header__menu>li.menu-item--cta{margin-top:22px;border:0}
  .teinvyta-header__menu>li.menu-item--cta>a{min-height:52px;justify-content:center;border-radius:20px;color:#fff;font-size:16px}
  .teinvyta-header__menu .sub-menu{position:static;visibility:visible;opacity:1;transform:none;background:transparent;box-shadow:none;border:0;padding:0 0 10px 15px;min-width:0}
  .teinvyta-header__menu .sub-menu a{font-size:16px;min-height:40px}
  body.teinvyta-menu-open{overflow:hidden}
  body.admin-bar .teinvyta-header{top:58px}
}
@media(max-width:782px){body.admin-bar .teinvyta-header{top:58px}}
@media(prefers-reduced-motion:reduce){.teinvyta-header,.teinvyta-header *{transition:none!important}}
