/* ============ HEADER ============ */
.site-header{
  position:fixed; top:0; left:0; right:0;
  height:var(--header-h);
  background:rgba(247,249,252,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1.5px solid var(--line);
  z-index:1000;
  display:flex;
  align-items:center;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-head);
  font-size:1.15rem;
  color:var(--ink);
  letter-spacing:0.5px;
}
.brand .mark{
  width:38px; height:38px;
  border:2px solid var(--ink);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  flex-shrink:0;
}
.brand .mark::before{
  content:'';
  position:absolute; inset:4px;
  border:1.5px solid var(--blue);
  border-radius:4px;
}
.brand .mark svg{ width:16px; height:16px; color:var(--blue); position:relative; z-index:1; }
.brand span.accent{ color:var(--blue); }

.nav-desktop{
  display:flex; align-items:center; gap:6px;
}
.nav-desktop a{
  font-weight:600; font-size:0.94rem;
  padding:10px 16px;
  color:var(--ink);
  position:relative;
  transition:color .2s ease;
}
.nav-desktop a::after{
  content:'';
  position:absolute; left:16px; right:16px; bottom:6px; height:2px;
  background:var(--blue);
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
.nav-desktop a:hover{ color:var(--blue); }
.nav-desktop a:hover::after, .nav-desktop a.active::after{ transform:scaleX(1); }
.nav-desktop a.active{ color:var(--blue); }

.header-actions{ display:flex; align-items:center; gap:12px; }

.contact-chip{
  display:flex; align-items:center; gap:10px;
  border:1.5px solid var(--line-strong);
  border-radius:var(--radius);
  padding:8px 14px;
  font-size:0.85rem;
  font-weight:600;
  color:var(--slate);
  transition: border-color .2s ease, background .2s ease;
}
.contact-chip:hover{ border-color:var(--blue); background:var(--blue-tint); color:var(--blue); }
.contact-chip svg{ width:16px; height:16px; color:var(--blue); }

.menu-toggle{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px;
  border:1.5px solid var(--line-strong);
  border-radius:var(--radius);
  flex-shrink:0;
  position:relative;
}
.menu-toggle:hover{ border-color:var(--blue); }
.menu-toggle .bars{ width:18px; height:12px; position:relative; }
.menu-toggle .bars span{
  position:absolute; left:0; width:100%; height:2px; background:var(--ink);
  transition:all .3s ease;
}
.menu-toggle .bars span:nth-child(1){ top:0; }
.menu-toggle .bars span:nth-child(2){ top:5px; width:70%; }
.menu-toggle .bars span:nth-child(3){ top:10px; }
.menu-toggle.open .bars span:nth-child(1){ transform:rotate(45deg); top:5px; }
.menu-toggle.open .bars span:nth-child(2){ opacity:0; }
.menu-toggle.open .bars span:nth-child(3){ transform:rotate(-45deg); top:5px; width:100%; }

/* Sidebar menu */
.sidebar-overlay{
  position:fixed; inset:0;
  background:rgba(10,22,40,0.45);
  z-index:1200;
  opacity:0; pointer-events:none;
  transition:opacity .3s ease;
}
.sidebar-overlay.open{ opacity:1; pointer-events:auto; }

.sidebar{
  position:fixed; top:0; right:0; bottom:0;
  width:min(380px, 88vw);
  background:var(--card);
  border-left:1.5px solid var(--line);
  z-index:1300;
  transform:translateX(100%);
  transition:transform .35s cubic-bezier(.2,.9,.25,1);
  display:flex; flex-direction:column;
  overflow-y:auto;
}
.sidebar.open{ transform:translateX(0); }

.sidebar-top{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 24px;
  border-bottom:1.5px solid var(--line);
}
.sidebar-close{
  width:38px; height:38px;
  border:1.5px solid var(--line-strong);
  border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
}
.sidebar-close svg{ width:16px; height:16px; }
.sidebar-close:hover{ border-color:var(--blue); color:var(--blue); }

.sidebar-nav{ padding:20px 24px; flex:1; }
.sidebar-nav .s-label{
  font-size:0.72rem; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--slate-light); font-weight:600; margin:22px 0 10px;
}
.sidebar-nav .s-label:first-child{ margin-top:0; }
.sidebar-nav a{
  display:flex; align-items:center; justify-content:space-between;
  font-family:var(--font-head);
  font-size:1.05rem;
  padding:16px 4px;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  transition: color .2s ease, padding-left .2s ease;
}
.sidebar-nav a svg{ width:16px; height:16px; color:var(--slate-light); transition:transform .2s ease, color .2s ease; }
.sidebar-nav a:hover{ color:var(--blue); padding-left:10px; }
.sidebar-nav a:hover svg{ color:var(--blue); transform:translateX(4px); }

.sidebar-services{ display:flex; flex-direction:column; }
.sidebar-services a{ font-family:var(--font-body); font-weight:600; font-size:0.92rem; padding:11px 4px; }

.sidebar-bottom{
  padding:22px 24px;
  border-top:1.5px solid var(--line);
}
.sidebar-contact-box{
  border:1.5px solid var(--line-strong);
  border-radius:var(--radius);
  padding:16px;
  margin-bottom:14px;
  position:relative;
  overflow:hidden;
}
.sidebar-contact-box::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--blue);
}
.sidebar-contact-box .row{ display:flex; align-items:center; gap:10px; font-size:0.88rem; color:var(--slate); margin-bottom:8px; }
.sidebar-contact-box .row:last-child{ margin-bottom:0; }
.sidebar-contact-box svg{ width:16px; height:16px; color:var(--blue); flex-shrink:0; }

@media (min-width: 1025px){
  .menu-toggle{ display:none; }
}
@media (max-width: 1024px){
  .nav-desktop{ display:none; }
  .contact-chip span.txt{ display:none; }
  .contact-chip{ padding:10px; }
}
@media (max-width: 560px){
  .brand span.text{ font-size:0.98rem; }
  .header-actions{ gap:8px; }
}
