/* ──────────────────────────────────────────────────────────────
   header.css — styles for <nav> and the mobile drawer (#mob)
   ────────────────────────────────────────────────────────────── */

nav {
  position:fixed; top:0; inset-inline:0; z-index:1000;
  width:100%; box-sizing:border-box;
  height:62px; padding:0 5%;
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(255,255,255,.55);
  border-bottom:1px solid rgba(255,255,255,.30);
  box-shadow:0 1px 0 rgba(182,150,103,.08), 0 4px 24px rgba(24,54,48,.06);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  transition:background .3s, box-shadow .3s, border-color .3s;
}
nav.sc {
  background:rgba(255,255,255,.72);
  border-bottom-color:rgba(255,255,255,.45);
  box-shadow:0 4px 28px rgba(24,54,48,.12), 0 1px 0 rgba(182,150,103,.10);
}
/* iOS fix: prevent backdrop-filter blur from bleeding onto logo */
nav img, nav .logo {
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
  isolation:isolate;
  position:relative;
  z-index:1;
}

.logo { display:flex; align-items:center; gap:9px; text-decoration:none; isolation:isolate }
.logo-mark {
  width:32px; height:32px; border-radius:8px; flex-shrink:0;
  background:#183630; display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond',serif; font-size:14px; font-weight:600; color:#fff;
}
.logo-name { font-size:.85rem; font-weight:700; color:#1d1d1d; white-space:nowrap }

.nav-links { display:flex; list-style:none; gap:2px }
.nav-links a {
  color:rgba(29,29,29,.50); text-decoration:none;
  font-size:.80rem; font-weight:500; padding:6px 12px;
  border-radius:7px; transition:all .2s; white-space:nowrap;
}
.nav-links a:hover { color:#183630; background:rgba(24,54,48,.06) }

.nav-right { display:flex; align-items:center; gap:8px }

.nav-btn {
  padding:8px 18px; background:#183630; color:#fff;
  font-size:.80rem; font-weight:700; border-radius:50px;
  text-decoration:none; transition:all .25s;
}
.nav-btn:hover { background:#0f2218; transform:translateY(-1px); box-shadow:0 4px 16px rgba(24,54,48,.28) }

.lang-link {
  width:34px; height:34px; border-radius:50%; text-decoration:none;
  display:flex; align-items:center; justify-content:center;
  font-size:.90rem; color:rgba(29,29,29,.45);
  transition:all .2s;
}
.lang-link:hover { color:#183630; background:rgba(24,54,48,.07) }

.hbg { display:none; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; padding:4px }
.hbg span { width:22px; height:1.5px; background:rgba(29,29,29,.60); border-radius:2px; transition:.3s }

.mob {
  display:none; position:fixed; top:62px; inset-inline:0; z-index:999;
  width:100%; box-sizing:border-box;
  max-height:calc(100dvh - 62px); overflow-y:auto;
  background:rgba(255,255,255,.72);
  border-bottom:1px solid rgba(255,255,255,.35);
  box-shadow:0 12px 32px rgba(24,54,48,.12);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  padding:14px 5% 22px;
}
.mob.open { display:block }
.mob a { display:block; padding:10px 0; color:rgba(29,29,29,.55); text-decoration:none; font-size:.9rem; border-bottom:1px solid rgba(24,54,48,.06); transition:color .2s }
.mob a:hover { color:#183630 }
.mob .m-cta { display:block; margin-top:12px; padding:11px; text-align:center; background:#183630; color:#fff; font-weight:700; border-radius:10px; text-decoration:none }

/* Mobile breakpoint — show hamburger, hide desktop nav links/CTA */
@media(max-width:768px){
  .nav-links, .nav-btn, .nav-right { display:none }
  .hbg { display:flex }
  /* keep lang link tappable on mobile */
  .lang-link { min-height:36px; display:flex; align-items:center }
}
