


.site-header{
  height: var(--header-h);
  background: #262626;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Noto Sans Georgian', sans-serif;
}
.site-header {
  position: relative;
  z-index: 1000;
  overflow: visible;
}

.lang-switcher {
  z-index: 1001;
}

.lang-menu {
  z-index: 1002;
}

.header-inner{
  height: 100%;
  width: 100%;
  padding: 0 24px;

  display: flex;
  align-items: center;
}

.brand-lockup{
  flex: 0 0 auto;
}

.nav{
  flex: 0 0 auto;
  margin-left: auto;
}

.lang-switcher{
  flex: 0 0 auto;
  margin-left: auto;
}

/* Logo */
.logo{
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.logo img{
  height: 62px;
  width: auto;
  display: block;
}

/* Nav */
.nav{
  display: flex;
  align-items: center;             /* matches logo vertical center */
  gap: 50px;
}

.nav a{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 22px;
  line-height: 1; 
  position: relative;
  z-index: 2;

  transition: color 0.5s ease;
}



.nav a:hover {
  color: #fff;
}




.brand-lockup {
  color: #fff;
  text-decoration: none;
  gap: 11px;
}

.brand-accent {
  width: 2px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #598560;
  box-shadow: 0 0 10px rgba(89, 133, 96, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-primary {
  font-family: 'Noto Sans Georgian', sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.96);
}

.brand-secondary {
  font-family: 'Noto Sans Georgian', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.63);
}

.brand-lockup,
.lang-switcher {
  width: 190px;
  flex: 0 0 190px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav {
  flex: 0 0 auto;
}

.lang-switcher {
  width: max-content;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 12px;
  position: relative;
}

.lang-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;

  color: rgba(255, 255, 255, 0.9);
  font-family: 'Noto Sans Georgian', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;

  display: inline-flex;
  align-items: center;
  gap: 5px;

  cursor: pointer;

  
}

.lang-toggle span {
  font-size: 12px;
  line-height: 1;
  opacity: 0.7;
  transform: translateY(-1px);
}

.lang-toggle:hover {
  color: #fff;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: -23px;

  min-width: 140px;
  padding: 7px;

  display: flex;
  flex-direction: column;
  gap: 2px;

  background: #202020;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;

  box-shadow: 0 14px 32px rgba(0,0,0,0.28);

  z-index: 20;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
  translateY(-12px)
  scale(0.92);

filter: blur(6px);

transition:
  opacity 220ms ease,
  transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
  filter 260ms ease,
  visibility 220ms ease;
}


.lang-switcher.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translateY(0)
    scale(1);

  filter: blur(0);
}

.lang-switcher.is-open .lang-option {
  opacity: 1;
  transform: translateY(0);
}

.lang-switcher.is-open .lang-option:nth-child(1) {
  transition-delay: 110ms;
}

.lang-switcher.is-open .lang-option:nth-child(2) {
  transition-delay: 170ms;
}

.lang-option {
  width: 100%;
  border: 0;
  background: transparent;

  padding: 10px 12px;
  border-radius: 5px;

  color: rgba(255, 255, 255, 0.78);
  font-family: 'Noto Sans Georgian', sans-serif;
  font-size: 14px;
  font-weight: 600;

  text-align: left;
  cursor: pointer;

  opacity: 0;
  transform: translateY(-7px);

  transition:
    opacity 180ms ease,
    transform 220ms ease,
    color 180ms ease,
    background 180ms ease;
}

.lang-option:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}



.nav {
  position: relative;
}

.nav {
  position: relative;
}

.nav-magic-line {
  position: absolute;
  left: -100px;
  bottom: -10px;

  width: 0;
  height: 2px;

  background: #598560;
  border-radius: 999px;

  opacity: 0;
  pointer-events: none;
  z-index: 3;

  transition:
    left 0.5s ease,
    width 0.5s ease,
    opacity 0.5s ease;
}

.nav-hover-bg {
  position: absolute;
  left: 0;
  top: 50%;

  transform: translateY(-50%) scaleY(0);
  transform-origin: bottom center;

  width: 0;
  height: 42px;

  background: rgba(255, 255, 255, 0.055);
  border-radius: 6px;

  opacity: 0;
  pointer-events: none;
  z-index: 1;

  transition:
    opacity 0.14s ease-out,
    transform 0.18s ease-out;
}

.nav a {
  transition:
    opacity 0.22s ease,
    color 0.22s ease;
}

.nav a.lang-changing {
  opacity: 0;
}

html[lang="en"] .site-header .brand-primary {
  font-family: 'Nunito Sans', sans-serif;
}

html[lang="en"] .site-header .brand-secondary {
  font-family: 'Nunito Sans', sans-serif;
}

html[lang="en"] .site-header .brand-copy {
  gap: 1px;
}

html[lang="en"] .site-header .brand-copy {
  gap: 2px;
  transform: translateY(3px);
}

html[lang="en"] .site-header .nav a {
  font-family: 'Inter', sans-serif;
}


/* English active language toggle */
html[lang="en"] .lang-toggle {
  font-family: 'Inter', sans-serif;
}

/* Each language keeps its correct font */
.lang-option[data-lang="en"] {
  font-family: 'Inter', sans-serif;
}

.lang-option[data-lang="ka"] {
  font-family: 'Noto Sans Georgian', sans-serif;
}


.header-menu-toggle {
  width: 18px;
  height: 18px;

  padding: 0;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.header-menu-toggle span {
  width: 12px;
  height: 1.4px;

  display: block;

  background: rgba(255,255,255,0.82);
  border-radius: 999px;

  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

/* Desktop proportional header scaling — 2048px master */
/* 1366 desktop header — 12% smaller */
@media (min-width: 1025px) and (max-width: 1500px) {

  .header-inner {
    padding-left: 21px;
    padding-right: 21px;
  }

  .logo {
    margin-left: 9px;
  }

  .brand-lockup {
    gap: 10px;
    width: 167px;
    flex-basis: 167px;
  }

  .brand-accent {
    height: 44px;
  }

  .brand-copy {
    gap: 5px;
  }

  .brand-primary {
    font-size: 27.3px;
  }

  .brand-secondary {
    font-size: 12.3px;
  }

  .nav {
    gap: 44px;
  }

  .nav a {
    font-size: 19.4px;
  }

  .lang-switcher {
    margin-right: 10.5px;
  }

  .lang-toggle {
    font-size: 13.2px;
    gap: 4.4px;
  }

  .lang-toggle span {
    font-size: 10.5px;
  }
}

/* 1230–1300 desktop — tighter navigation */
@media (min-width: 1025px) and (max-width: 1300px) {

  .nav {
    gap: 34px;
  }

  .nav a {
    font-size: 17px;
  }

  .lang-toggle {
    font-size: 12px;
  }
}

/* ===============================
   TABLET HEADER — 1024px AND BELOW
   =============================== */




@media (max-width: 1024px) {

  .header-inner {
    position: relative;

    padding-left: 22px;
    padding-right: 22px;
  }

  /* Navigation stays horizontal */

.nav {
  position: relative;
  margin-left: auto;

  display: flex;
  flex-direction: row;
  align-items: center;

  gap: 24px;
}

.nav a {
  padding: 0;
  font-size: 15px;
}


  /* Brand */

  .brand-lockup {
    width: auto;
    flex-basis: auto;
    gap: 9px;
  }

  .logo {
    margin-left: 0;
  }

  .brand-accent {
    height: 40px;
  }

  .brand-primary {
    font-size: 24px;
  }

  .brand-secondary {
    font-size: 11px;
  }

  .brand-copy {
    gap: 4px;
  }


  /* Language */

 .lang-switcher {
  margin-left: auto;
  margin-right: 5px;
}

  .lang-toggle {
    font-size: 13px;
  }


  /* Hamburger */

  .header-menu-toggle {
  width: 18px;
  height: 18px;

  padding: 0;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.header-menu-toggle span {
  width: 12px;
  height: 1.4px;

    display: block;

    background:
      rgba(255,255,255,0.82);

    border-radius: 999px;

    transition:
      transform 220ms ease,
      opacity 220ms ease;
  }
}

/* Touch devices — disable header hover effects */
@media (hover: none) and (pointer: coarse) {

  .nav-magic-line,
  .nav-hover-bg {
    display: none !important;
  }

  .nav a:hover {
    background: transparent;
  }

  .lang-option:hover {
    background: transparent;
  }

  .header-menu-toggle:hover {
    background: transparent;
  }
}

/* 768 portrait tablet — smaller nav */
@media (min-width: 700px) and (max-width: 768px) {

  .nav a {
    font-size: 13px;
  }

}

/* 800 portrait tablet — smaller nav */
@media (min-width: 769px) and (max-width: 820px) {

  .nav a {
    font-size: 15px;
  }

}

/* =========================================
   MOBILE HEADER — 430 / 390 / 375
   ========================================= */

@media (max-width: 699px) {

  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }


  /* Brand */

  .brand-lockup {
    width: auto;
    flex: 0 0 auto;
    gap: 6px;
  }

  .logo {
    margin-left: 0;
  }

  .brand-accent {
    width: 1.5px;
    height: 30px;
  }

  .brand-copy {
    gap: 2px;
  }

  .brand-primary {
    font-size: 17px;
    line-height: 0.95;
    letter-spacing: 0.08em;
  }

  .brand-secondary {
    font-size: 7px;
    line-height: 1.3;
    letter-spacing: 0.08em;
  }


  /* Navigation */

  .nav {
    margin-left: auto;
    gap: 10px;
  }

  .nav a {
    font-size: 9px;
    white-space: nowrap;
  }


  /* Language */

  .lang-switcher {
    margin-left: auto;
    margin-right: 2px;
  }

  .lang-toggle {
    font-size: 9px;
    gap: 2px;
  }


  /* Hamburger */

  .header-menu-toggle {
    width: 15px;
    height: 15px;
    gap: 2.5px;
  }

  .header-menu-toggle span {
    width: 11px;
    height: 1.2px;
  }


  /* Language popup */

  .lang-menu {
    right: -18px;
    min-width: 110px;
  }

  .lang-option {
    padding: 8px 10px;
    font-size: 11px;
  }
}


/* ===============================
   430 MOBILE — HEADER
   =============================== */

@media (max-width: 430.99px) {

  .site-header {
    height: 82px;
  }

  .header-inner {
    height: 100%;
    padding: 0 14px;

    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;

    row-gap: 5px;
  }


  /* Brand */

  /* Brand — upper left corner */
.brand-lockup {
  order: 1;

  width: auto;
  flex: 0 0 auto;

  gap: 6px;

  transform: translate(-8px, -12px);
}
  .logo {
    margin-left: 0;
  }

  .brand-accent {
    height: 29px;
  }

  .brand-copy {
    gap: 2px;
  }

  .brand-primary {
    font-size: 18px;
  }

  .brand-secondary {
    font-size: 7px;
  }


  /* Language */

  .lang-switcher {
  order: 2;

  margin-left: auto;
  margin-right: 5px;

  transform: translateY(-18px);
}

  .lang-toggle {
    font-size: 12px;
  }


  /* Hamburger */

 /* Hamburger — upper right corner */
.header-menu-toggle {
  order: 3;

  transform: translate(8px, -18px);
}


  /* Navigation row */

.nav {
  order: 4;

  width: 90%;
  flex: 0 0 90%;

  margin-left: auto;
  margin-right: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 5px;
}

.nav a {
  font-size: 12px;
  white-space: nowrap;
}

.brand-primary {
  font-size: 16px;
  transform: translateY(-3px);
}
}



@media (min-width: 350px) and (max-width: 390px) {

  .nav a {
    font-size: 10px;
  }

}
