/* MENIUL DE NAVIGARE PE TELEFON — stiluri, sursă unică pt pagina de prezentare ȘI blog/ghiduri (03.10.2026).
   Pereche cu public/nav-mobile.js. Vezi comentariul de acolo pentru DE CE și pentru capcana de divergență.
   ⚠️ Regula de siglă îngustă țintește `.nav .navlogo{height:…}` DIRECT, nu `--logoh` — fiindcă marketingul
      ține `--logoh` pe `.rb`, iar blogul pe alt scope; o înălțime directă merge pe ambele. */

/* Butonul de limbă pe mobil (glob → listă) + sigla mai mică pe telefon îngust. */
@media (max-width: 430px) { .nav .navlogo { height: 30px } .nav .wrap { gap: 10px } .nav .right { gap: 8px } }

.langwrap { display: none; position: relative }
.langbtn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: #e6ebf7; background: rgba(255,255,255,.06); border: 1px solid var(--line-dk); border-radius: 999px; padding: 7px 12px; cursor: pointer; line-height: 1 }
.langbtn:hover { background: rgba(255,255,255,.12); color: #fff }
.langmenu { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; background: #0F1C3A; border: 1px solid var(--line-dk); border-radius: 12px; padding: 6px; min-width: 128px; box-shadow: 0 22px 50px -22px rgba(0,0,0,.65) }
.langmenu.on { display: block }
.langmenu a { display: block; padding: 9px 12px; border-radius: 8px; font-family: var(--mono); font-size: 13px; color: #c3cbe0; font-weight: 500 }
.langmenu a:hover { background: rgba(255,255,255,.06); color: #fff }
.langmenu a.on { color: #fff; background: rgba(2,86,255,.2) }

/* Comutatorul de limbă pe DESKTOP = <select> compact cu glob + caret (identic cu marketingul). */
.nav .lang { appearance: none; -webkit-appearance: none; font-family: var(--mono); font-size: 12px; font-weight: 600; color: #e6ebf7; background-color: rgba(255,255,255,.06); border: 1px solid var(--line-dk); border-radius: 999px; padding: 7px 27px 7px 31px; cursor: pointer; line-height: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.5' stroke='%23aab4cf' stroke-width='1.2'/%3E%3Cpath d='M1.5 8h13' stroke='%23aab4cf' stroke-width='1.2'/%3E%3Cellipse cx='8' cy='8' rx='3' ry='6.5' stroke='%23aab4cf' stroke-width='1.2'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%23aab4cf' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 10px center, right 10px center }
.nav .lang:hover { background-color: rgba(255,255,255,.12); color: #fff }
.nav .lang option { background: #0F1C3A; color: #eaf0ff }

/* Hamburgerul. Apare exact unde dispar linkurile (900px). */
.burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; background: none; border: 1px solid var(--line-dk); border-radius: 10px; cursor: pointer; padding: 0 }
.burger span { display: block; width: 17px; height: 1.5px; background: #cfd8ee; border-radius: 2px; position: relative }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 17px; height: 1.5px; background: #cfd8ee; border-radius: 2px; transition: transform .18s ease, top .18s ease }
.burger span::before { top: -5.5px }
.burger span::after { top: 5.5px }
.burger[aria-expanded="true"] span { background: transparent }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg) }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg) }

/* Panoul derulant. */
.mnav { display: none; border-top: 1px solid var(--line-dk); background: rgba(11,26,56,.97); backdrop-filter: blur(14px); max-height: calc(100vh - var(--navh)); overflow-y: auto }
.mnav.on { display: block }
.mnav .mwrap { padding: 10px 20px 18px; max-width: 1200px; margin: 0 auto }
.mnav a { display: block; padding: 12px 2px; color: #dbe3f5; text-decoration: none; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06) }
.mnav a:last-child { border-bottom: 0 }
.mnav a b { font-weight: 600 }
.mnav a span { display: block; font-size: 12.5px; color: #8f9ab7; margin-top: 2px }

@media (max-width: 900px) { .burger { display: flex } .langwrap { display: block } }
