:root{
  --page-line:#d1d5db;
  --bg:#f4f4f4;
  --maxw:1200px;
  --page-pad:24px;
}

.header{
  position:static;
  background:transparent;
  border-bottom:none;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.bar{
  display:grid;
  align-items:center;
  grid-template-columns:auto 1fr auto;
  padding:20px 16px 0;
  max-width:var(--maxw);
  margin:0 auto;
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  justify-self:end;
}
.logo img{height:36px;width:auto;display:block;}
.menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  font-weight:500;
  color:#111;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.menu a{
  padding:0;
  border-radius:0;
  position:relative;
  transition:color .15s ease;
}
.menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background:#111;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}
.menu a:hover{color:#111;}
.menu a:hover::after{transform:scaleX(1);}

.btn-primary{
  color:#fff;
  background:linear-gradient(180deg,#2f2f2f,#232323);
  font-weight:600;
  border-radius:12px;
  font-size:1rem;
  line-height:1.2;
  padding:.45rem 1.2rem;
  cursor:pointer;
  text-align:center;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  border:1px solid #3a3a3a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.45),
    0 8px 18px rgba(0,0,0,.18);
  transition:background-color .2s ease, opacity .2s ease;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.btn-primary:hover{background:linear-gradient(180deg,#333,#262626);}
.btn-primary svg{
  display:inline;
  width:1.2rem;
  height:1.2rem;
  color:#c9c9c9;
  vertical-align:middle;
}
.btn-primary .icon-swap{width:16px;height:16px;}
.icon-swap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.2rem;
  height:1.2rem;
  line-height:0;
}
.icon-swap svg{
  position:absolute;
  inset:0;
  margin:auto;
  stroke:currentColor;
  stroke-width:2;
  fill:none;
  transition:opacity .3s ease,transform .3s ease;
}
.icon-swap .icon-chevron{opacity:1;transform:translateX(0);}
.icon-swap .icon-arrow{opacity:0;transform:translateX(-2px);}
.btn-primary:hover .icon-chevron{opacity:0;transform:translateX(2px);}
.btn-primary:hover .icon-arrow{opacity:1;transform:translateX(4px);}
.btn-primary .icon-arrow{display:block;}

.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border:none;
  background:transparent;
  cursor:pointer;
  position:relative;
}
.menu-toggle span{width:20px;height:2px;background:transparent;position:relative;display:block;}
.menu-toggle span::before,.menu-toggle span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:#111;}
.menu-toggle span::before{transform:translateY(-6px);} 
.menu-toggle span::after{transform:translateY(6px);} 
.menu-close-icon{
  position:absolute;
  inset:0;
  margin:auto;
  width:22px;
  height:22px;
  color:#111;
  opacity:0;
  transform:scale(0.9);
  transition:opacity .2s ease, transform .2s ease;
}
body.nav-open .menu-close-icon{
  opacity:1;
  transform:scale(1);
}
body.nav-open .menu-toggle span{
  opacity:0;
}

.section-separator{
  position: relative;
  height: 32px;
  width: 100vw;
  margin: 16px 0;
  left: 50%;
  transform: translateX(-50%);
}
.section-separator::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background: var(--page-line);
  transform: translateY(-50%);
}
.section-separator .plus{
  position:absolute;
  top:50%;
  width:28px;
  height:28px;
  transform: translateY(-50%);
  background: var(--bg);
  z-index: 1;
  color:#d1d5db;
  display:flex;
  align-items:center;
  justify-content:center;
}
.section-separator .plus.left{
  left: calc(50% - (var(--maxw) / 2) - var(--page-pad) + 0.5px);
  transform: translate(-50%, -50%);
}
.section-separator .plus.right{
  left: calc(50% + (var(--maxw) / 2) + var(--page-pad) + 0.5px);
  transform: translate(-50%, -50%);
}
.section-separator .plus svg{width:20px;height:20px;}
.header-separator{height:4px;margin:20px 0;}

.drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:9;}
.mobile-drawer{
  position:fixed;top:0;right:0;height:100vh;width:280px;background:var(--bg);border-left:1px solid #e5e7eb;
  padding:88px 24px 24px;display:flex;flex-direction:column;gap:16px;opacity:0;transform:translateX(100%);
  transition:transform .25s ease,opacity .25s ease;z-index:10;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.mobile-drawer a{font-weight:600;color:#111;}
body.nav-open .drawer-backdrop{opacity:1;pointer-events:auto;}
body.nav-open .mobile-drawer{opacity:1;transform:translateX(0);}





/* Footer */
.footer-wrap{background:transparent;color:#111;padding:36px 32px 32px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;}
.footer-inner{max-width:var(--maxw);margin:0 auto;}
.footer-top{display:grid;grid-template-columns:1fr;gap:28px;}
@media(min-width:1024px){.footer-top{grid-template-columns:1.2fr 1fr;gap:40px;}}
.footer-brand{display:flex;flex-direction:column;gap:14px;}
.footer-logo-img{width:110px;height:auto;display:block;border-radius:12px;}
.footer-note{font-size:16px;color:#6b7280;max-width:420px;}
.footer-form{display:flex;gap:10px;max-width:520px;align-items:center;}
.footer-input{height:48px;border-radius:10px;border:1px solid #e5e7eb;padding:0 12px;font-size:16px;background:#f8fafc;color:#111;flex:1 1 auto;}
.footer-btn{height:48px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;color:#111;font-size:14px;font-weight:600;cursor:pointer;padding:0 14px;white-space:nowrap;}
@media(max-width:640px){.footer-form{flex-direction:column;align-items:stretch;}.footer-btn{width:100%;height:46px;font-size:15px;}}
.footer-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;}
@media(min-width:900px){.footer-links-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
.footer-heading{font-size:17px;font-weight:700;margin-bottom:14px;color:#111;}
.footer-links{display:grid;gap:12px;font-size:16px;color:#6b7280;}
.footer-links a{color:#6b7280;text-decoration:none;}
.footer-links a:hover{color:#111;}
.footer-bottom{margin-top:26px;padding-top:18px;border-top:1px solid #e5e7eb;display:flex;flex-direction:column;gap:12px;align-items:flex-start;font-size:12px;color:#6b7280;}
.footer-copy{font-size:15px;font-weight:400;color:#6b7280;}
@media(min-width:900px){.footer-bottom{flex-direction:row;justify-content:space-between;align-items:center;}}
.footer-social{display:flex;gap:14px;color:#6b7280;}
.footer-social a{color:inherit;}

@media (max-width: 860px){
  .bar { grid-template-columns: auto 1fr; gap: 12px; }
  .menu { display: none; }
  .menu-toggle{ display:inline-flex; }
}
