.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:80;
  padding-top:28px;
  background:transparent;
  transform:translateY(0);
  opacity:0;
  transition:background .36s ease, box-shadow .36s ease, padding .36s ease, transform .38s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.site-header.is-ready{opacity:1}
.site-header.is-hidden{transform:translateY(-115%)}
.site-header.is-scrolled{
  padding-top:0;
  background:#bf2c2c;
  box-shadow:0 16px 42px rgba(7,21,25,.18);
}
.nav-shell{
  width:min(1220px,calc(100vw - 52px));
  margin:auto;
  min-height:86px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:38px;
  padding:0;
  background:transparent;
  border:0;
  transition:min-height .36s ease, width .36s ease, padding .36s ease;
}
.site-header.is-scrolled .nav-shell{
  width:min(1220px,calc(100vw - 48px));
  min-height:120px;
}
.brand{
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
  width:206px;
  height:86px;
  padding:0;
}
.brand-logo{
  position:absolute;
  left:0;
  top:50%;
  width:202px;
  height:76px;
  object-fit:contain;
  object-position:left center;
  transform:translateY(-50%);
  transition:opacity .28s ease, width .36s ease, height .36s ease;
}
.site-header.is-scrolled .brand{width:226px;height:120px}
.site-header.is-scrolled .brand-logo{width:222px;height:90px}
.brand-logo--white{opacity:1}
.brand-logo--color{opacity:0}
/* Barevná varianta je připravená, ale na tmavém headeru zůstává čitelnější bílé logo. */
.brand span{
  position:absolute;
  width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.nav-center{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:30px;
}
.nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:54px;
  padding:0 0;
  color:#fff;
  font-size:16px;
  font-weight:900;
  letter-spacing:.015em;
  text-transform:uppercase;
  transition:color .2s ease, opacity .2s ease, transform .2s ease, font-size .36s ease;
}
.site-header.is-scrolled .nav-link{
  min-height:120px;
  font-size:18px;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:0;right:0;
  bottom:12px;
  height:2px;
  border-radius:2px;
  background:#fff;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .22s ease;
}
.site-header.is-scrolled .nav-link::after{bottom:35px;background:#fff}
.nav-link:hover{opacity:.78;transform:translateY(-1px)}
.nav-link:hover::after,
.nav-link.is-active::after{transform:scaleX(1)}
.nav-link.is-active{opacity:1}
.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
  justify-self:end;
}
.nav-phone,
.nav-cta{
  position:relative;
  height:55px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:16px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.site-header.is-scrolled .nav-phone,
.site-header.is-scrolled .nav-cta{height:60px;font-size:17px}
.nav-phone{
  padding:0 14px;
  color:#fff;
  border:1px solid rgba(255,255,255,.36);
  background:rgba(255,255,255,.08);
}
.nav-phone:hover{background:#fff;color:#bf2c2c;transform:translateY(-2px)}
.nav-cta{
  padding:0 24px;
  color:#fff;
  background:#bf2c2c;
  border:1px solid #bf2c2c;
  box-shadow:0 14px 28px rgba(0,0,0,.18);
}
.nav-cta::before{
  content:"";
  position:absolute;
  inset:-40% auto -40% -65%;
  width:55%;
  background:rgba(255,255,255,.22);
  transform:skewX(-18deg);
  transition:left .52s cubic-bezier(.2,.8,.2,1);
}
.nav-cta:hover{background:#a92525;border-color:#a92525;transform:translateY(-2px);box-shadow:0 20px 40px rgba(0,0,0,.24)}
.nav-cta:hover::before{left:120%}
.mobile-toggle{
  display:none;
  width:56px;
  height:56px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  position:relative;
  cursor:pointer;
}
.mobile-toggle span{
  position:absolute;
  left:16px;right:16px;
  height:2px;
  background:#fff;
  border-radius:99px;
  transition:.18s ease;
}
.mobile-toggle span:nth-child(1){top:19px}.mobile-toggle span:nth-child(2){top:27px}.mobile-toggle span:nth-child(3){top:35px}
.mobile-menu{
  position:fixed;
  inset:0;
  background:rgba(7,21,25,.54);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}
.mobile-menu.is-open{opacity:1;pointer-events:auto}
.mobile-panel{
  position:absolute;
  left:12px;right:12px;top:12px;
  background:#071519;
  border:1px solid rgba(255,255,255,.12);
  border-radius:26px;
  padding:16px;
  box-shadow:0 24px 70px rgba(7,21,25,.30);
  transform:translateY(-12px);
  transition:transform .22s ease;
}
.mobile-menu.is-open .mobile-panel{transform:none}
.mobile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.12)}
.mobile-top .brand{height:74px;width:168px}.mobile-top .brand-logo{width:164px;height:64px}
.mobile-close{
  width:48px;height:48px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);position:relative;cursor:pointer;
}
.mobile-close span{position:absolute;left:13px;right:13px;top:23px;height:2px;background:#fff;border-radius:99px}.mobile-close span:first-child{transform:rotate(45deg)}.mobile-close span:last-child{transform:rotate(-45deg)}
.mobile-links{display:grid;gap:0;margin:14px 0}
.mobile-links a{padding:14px 4px;border-bottom:1px solid rgba(255,255,255,.10);font-size:20px;font-weight:900;color:#fff}
.mobile-links a.is-active{color:#fff}
.mobile-panel .nav-cta,.mobile-panel .nav-phone{width:100%;height:50px;margin-top:8px;border-radius:999px}
@media (max-width:1180px){
  .nav-center,.nav-phone,.desktop-cta{display:none}
  .nav-shell{grid-template-columns:auto 1fr auto;width:min(100vw - 28px,1180px)}
  .site-header.is-scrolled .nav-shell{width:min(100vw - 28px,1180px);min-height:101px}
  .site-header.is-scrolled .brand{height:101px}
  .mobile-toggle{display:block}
}
@media (max-width:560px){
  .site-header{padding-top:12px}
  .nav-shell{width:min(100vw - 18px,1180px);min-height:66px}
  .site-header.is-scrolled .nav-shell{width:100%;padding:0 14px;min-height:94px}
  .brand,.site-header.is-scrolled .brand{width:138px;height:66px}
  .brand-logo,.site-header.is-scrolled .brand-logo{width:134px;height:54px}
  .mobile-toggle{width:46px;height:46px}
}


/* === Final navbar/mobile cleanup === */
.site-header.is-hidden{
  transform:translateY(0)!important;
  opacity:1!important;
}
.nav-shell{
  width:min(1280px,calc(100vw - 46px));
  gap:32px;
}
.site-header.is-scrolled .nav-shell{
  width:min(1280px,calc(100vw - 44px));
}
.nav-center{
  gap:26px;
  min-width:0;
}
.nav-link{
  white-space:nowrap;
  word-break:keep-all;
  line-height:1;
  flex:0 0 auto;
}
.nav-actions{
  flex:0 0 auto;
}
.mobile-menu{
  z-index:90;
  background:rgba(7,21,25,.62)!important;
  backdrop-filter:blur(10px);
  transition:opacity .28s ease!important;
}
.mobile-panel{
  left:auto!important;
  right:14px!important;
  top:14px!important;
  bottom:14px!important;
  width:min(430px,calc(100vw - 28px));
  display:flex;
  flex-direction:column;
  padding:18px!important;
  border-radius:28px!important;
  background:#fff!important;
  color:#071519!important;
  border:1px solid rgba(7,21,25,.08)!important;
  box-shadow:0 32px 90px rgba(7,21,25,.28)!important;
  transform:translateX(22px)!important;
  transition:transform .32s cubic-bezier(.2,.8,.2,1), opacity .26s ease!important;
  opacity:.98;
}
.mobile-menu.is-open .mobile-panel{
  transform:translateX(0)!important;
  opacity:1;
}
.mobile-top{
  padding:0 0 18px!important;
  border-bottom:1px solid rgba(7,21,25,.08)!important;
}
.mobile-top .brand{
  width:172px!important;
  height:74px!important;
}
.mobile-top .brand-logo{
  width:166px!important;
  height:64px!important;
}
.mobile-panel .brand-logo--white{opacity:0!important}
.mobile-panel .brand-logo--color{opacity:1!important}
.mobile-close{
  width:50px!important;
  height:50px!important;
  border-radius:16px!important;
  background:#f4f7f8!important;
  border:1px solid rgba(7,21,25,.08)!important;
  transition:background .2s ease, transform .2s ease!important;
}
.mobile-close:hover{
  background:#bf2c2c!important;
  transform:rotate(90deg);
}
.mobile-close span{
  background:#071519!important;
}
.mobile-close:hover span{background:#fff!important}
.mobile-links{
  display:grid!important;
  gap:7px!important;
  margin:18px 0!important;
}
.mobile-links a{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px!important;
  border:0!important;
  border-radius:16px;
  color:#071519!important;
  background:#fff;
  font-size:18px!important;
  font-weight:900!important;
  letter-spacing:-.02em;
  text-transform:none;
  transition:background .18s ease,color .18s ease,transform .18s ease!important;
}
.mobile-links a::after{
  content:"→";
  color:#bf2c2c;
  font-weight:900;
  opacity:0;
  transform:translateX(-6px);
  transition:opacity .18s ease, transform .18s ease;
}
.mobile-links a:hover,
.mobile-links a.is-active{
  background:#fff1f1!important;
  color:#bf2c2c!important;
  transform:translateX(2px);
}
.mobile-links a:hover::after,
.mobile-links a.is-active::after{
  opacity:1;
  transform:translateX(0);
}
.mobile-panel .nav-cta,
.mobile-panel .nav-phone{
  width:100%!important;
  min-height:54px!important;
  height:54px!important;
  margin-top:10px!important;
  border-radius:16px!important;
  font-size:16px!important;
  justify-content:center;
}
.mobile-panel .nav-cta{
  background:#bf2c2c!important;
  border-color:#bf2c2c!important;
  color:#fff!important;
  box-shadow:0 16px 32px rgba(191,44,44,.22)!important;
  margin-top:auto!important;
}
.mobile-panel .nav-phone{
  background:#f6f9fa!important;
  border-color:rgba(7,21,25,.08)!important;
  color:#071519!important;
  box-shadow:none!important;
}
.mobile-panel .nav-phone:hover{
  background:#071519!important;
  color:#fff!important;
}
@media (max-width:1320px){
  .nav-center{gap:20px}
  .nav-link{font-size:15px}
  .site-header.is-scrolled .nav-link{font-size:17px}
  .nav-shell,.site-header.is-scrolled .nav-shell{width:min(1240px,calc(100vw - 34px))}
}
@media (max-width:1180px){
  .nav-shell,.site-header.is-scrolled .nav-shell{width:min(100vw - 28px,1180px)}
  .site-header.is-hidden{transform:none!important}
}
@media (max-width:560px){
  .mobile-panel{
    left:10px!important;
    right:10px!important;
    top:10px!important;
    bottom:10px!important;
    width:auto;
    border-radius:24px!important;
  }
  .mobile-links a{font-size:17px!important;min-height:52px}
}

/* === Fix: final navbar contrast + clean mobile menu === */
.site-header{
  transform:none!important;
}
.site-header.is-hidden{
  transform:none!important;
  opacity:1!important;
}
.nav-center{
  gap:24px!important;
  flex-wrap:nowrap!important;
}
.nav-link{
  white-space:nowrap!important;
  min-width:max-content!important;
  word-break:keep-all!important;
  line-height:1!important;
}
@media (max-width:1380px){
  .nav-center{gap:18px!important}
  .nav-link{font-size:15px!important}
  .site-header.is-scrolled .nav-link{font-size:17px!important}
  .nav-phone,.nav-cta{font-size:15px!important}
  .site-header.is-scrolled .nav-phone,
  .site-header.is-scrolled .nav-cta{font-size:16px!important}
}
.site-header.is-scrolled .desktop-cta{
  background:#fff!important;
  border-color:#fff!important;
  color:#bf2c2c!important;
  box-shadow:0 16px 34px rgba(7,21,25,.16)!important;
}
.site-header.is-scrolled .desktop-cta:hover{
  background:#071519!important;
  border-color:#071519!important;
  color:#fff!important;
}
.site-header.is-scrolled .nav-phone{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.44)!important;
  color:#fff!important;
}
.site-header.is-scrolled .nav-phone:hover{
  background:#fff!important;
  color:#bf2c2c!important;
}
@media (max-width:1180px){
  .site-header.is-scrolled .nav-shell{min-height:94px!important}
  .site-header.is-scrolled .brand{height:94px!important}
}
.mobile-menu{
  z-index:120!important;
  background:rgba(7,21,25,.38)!important;
  backdrop-filter:blur(8px);
}
.mobile-panel{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  max-width:none!important;
  height:100dvh!important;
  min-height:100vh!important;
  display:flex!important;
  flex-direction:column!important;
  padding:22px 20px 26px!important;
  border-radius:0!important;
  background:#fff!important;
  color:#071519!important;
  border:0!important;
  box-shadow:none!important;
  opacity:1!important;
  transform:translateX(100%)!important;
  transition:transform .36s cubic-bezier(.2,.8,.2,1)!important;
}
.mobile-menu.is-open .mobile-panel{
  transform:translateX(0)!important;
}
.mobile-top{
  min-height:72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:0 0 20px!important;
  border-bottom:1px solid rgba(7,21,25,.08)!important;
}
.mobile-top .brand{
  position:relative!important;
  width:160px!important;
  height:64px!important;
  min-height:64px!important;
  padding:0!important;
  overflow:visible!important;
}
.mobile-top .brand-logo{
  position:absolute!important;
  left:0!important;
  top:50%!important;
  width:154px!important;
  height:58px!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:translateY(-50%)!important;
}
.mobile-panel .brand-logo--white{opacity:0!important}
.mobile-panel .brand-logo--color{opacity:1!important}
.mobile-close{
  flex:0 0 auto!important;
  width:52px!important;
  height:52px!important;
  border-radius:16px!important;
  background:#f4f7f8!important;
  border:1px solid rgba(7,21,25,.09)!important;
  box-shadow:none!important;
}
.mobile-close:hover{
  background:#071519!important;
  transform:none!important;
}
.mobile-close span{background:#071519!important}
.mobile-close:hover span{background:#fff!important}
.mobile-links{
  display:grid!important;
  gap:0!important;
  margin:26px 0 22px!important;
  border-top:1px solid rgba(7,21,25,.08);
}
.mobile-links a{
  min-height:62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:0 2px!important;
  border-radius:0!important;
  border:0!important;
  border-bottom:1px solid rgba(7,21,25,.08)!important;
  background:#fff!important;
  color:#071519!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
  text-transform:none!important;
  transform:none!important;
}
.mobile-links a::after{
  content:"→"!important;
  color:#bf2c2c!important;
  font-size:20px!important;
  opacity:.45!important;
  transform:none!important;
  transition:opacity .18s ease, transform .18s ease!important;
}
.mobile-links a:hover,
.mobile-links a.is-active{
  background:#fff!important;
  color:#bf2c2c!important;
  transform:none!important;
}
.mobile-links a:hover::after,
.mobile-links a.is-active::after{
  opacity:1!important;
  transform:translateX(4px)!important;
}
.mobile-panel .nav-cta,
.mobile-panel .nav-phone{
  width:100%!important;
  min-height:58px!important;
  height:58px!important;
  border-radius:16px!important;
  font-size:17px!important;
  margin-top:10px!important;
}
.mobile-panel .nav-cta{
  margin-top:auto!important;
  background:#bf2c2c!important;
  border-color:#bf2c2c!important;
  color:#fff!important;
  box-shadow:0 18px 38px rgba(191,44,44,.20)!important;
}
.mobile-panel .nav-cta:hover{
  background:#071519!important;
  border-color:#071519!important;
}
.mobile-panel .nav-phone{
  background:#fff!important;
  border:1px solid rgba(7,21,25,.16)!important;
  color:#071519!important;
  box-shadow:none!important;
}
.mobile-panel .nav-phone:hover{
  background:#f4f7f8!important;
  color:#bf2c2c!important;
}
@media (max-width:560px){
  .mobile-panel{padding:18px 18px 24px!important}
  .mobile-top .brand{width:150px!important;height:60px!important;min-height:60px!important}
  .mobile-top .brand-logo{width:144px!important;height:54px!important}
  .mobile-links{margin-top:22px!important}
  .mobile-links a{font-size:21px!important;min-height:59px!important}
}
