/* ================= ROOT ================= */

:root{
  --nav-h: 0px;
  --radius: 18px;
  --shadow: 0 10px 26px rgba(0,0,0,0.12);
}

@media(max-width:900px){
  :root{ --nav-h: 2px; }
}

html, body{
  margin:0;
  width:100%;
  height:100%;
  overflow-x:hidden;
  font-family: Inter, Arial;
}

/* ================= HEADER ================= */

.topbar{
  position:fixed;
  top:0; left:0; right:0;
  height: var(--nav-h);
  z-index:50;

  display:flex;
  align-items:center;
  padding:0 24px;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(17,24,39,0.08);
  box-shadow: var(--shadow);
}

.left{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 14px;
  background:#fff;
  border-radius: var(--radius);
  border:1px solid rgba(17,24,39,0.08);
}

.logo{
  height:74px;
  width:auto;
}

.desktop-menu{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:48px;
  height:64px;
  margin-left:28px;

  background: rgb(255 255 255 / 70%);
  border-radius:999px;
}

.desktop-menu a{
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  color:#111827;
  padding:12px 16px;
  border-radius:999px;
}

.desktop-menu a:hover{
  background: rgba(11,58,120,0.08);
  color:#0b3a78;
}

.search{
  width:52px;
  height:52px;
  margin-left:18px;
  border-radius:14px;
  border:1px solid rgba(17,24,39,0.1);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.search img{width:22px;height:22px;}

.burger{
  display:none;
  background:none;
  border:none;
  font-weight:700;
}

/* ================= HERO (FULL SCREEN, NO SCROLL) ================= */

.hero{
  position:relative;
  height: calc(100svh - var(--nav-h));   /* exact visible screen */
  margin-top: var(--nav-h);
  overflow:hidden;
}

/* fallback */
@supports not (height: 100svh){
  .hero{ height: calc(100vh - var(--nav-h)); }
}

/* banner background */
.bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position:center center;
  background-repeat:no-repeat;
  transition: opacity .9s ease;
}

.bg-b{opacity:0}
.hero.fade .bg-a{opacity:0}
.hero.fade .bg-b{opacity:1}

/* hero content */
.hero-content{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.btn{
  padding:14px 28px;
  background:#f4b000;
  border-radius:30px;
  font-weight:800;
}

/* ================= MOBILE ================= */

@media(max-width:900px){
  .desktop-menu{display:none}
  .burger{display:block}
  .search{width:44px;height:44px}
  .logo{height:56px}
}

/* ================= DRAWER ================= */

.drawer{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}

.drawer.open{display:block}

.drawer-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.55);
}

.drawer-panel{
  position:absolute;
  left:0;
  top:0;
  width:78%;
  max-width:320px;
  height:100%;
  background:#0b3a78;
  color:#fff;
  padding:18px;
  box-shadow:18px 0 40px rgba(0,0,0,0.25);
}

.drawer-panel nav a{
  display:block;
  color:#fff;
  margin:14px 0;
  text-decoration:none;
  font-weight:600;
}

/* burger always clickable */
@media(max-width:900px){
  .burger{
    position:relative;
    z-index:60;
    cursor:pointer;
  }
}

/* MOBILE: show full banner without cutting */

@media (max-width: 900px){
  .hero{
    height: calc(100svh - var(--nav-h)) !important;
    margin-top: var(--nav-h);
  }

  .bg{
    background-size: cover !important;
    background-position: center 35% !important; /* adjust 20–60% as needed */
  }
}