:root{--navy:#0b1731;--navy2:#122349;--navy3:#1b3665;--gold:#c9a15a;--gold2:#e5c887;--ink:#182033;--muted:#667085;--soft:#f5f7fa;--line:#e5e8ef;--white:#fff;--wrap:min(1180px,calc(100% - 40px));--shadow:0 24px 70px rgba(11,23,49,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans Georgian",Manrope,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65;overflow-x:hidden}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}.wrap{width:var(--wrap);margin:auto}.skip{position:fixed;left:10px;top:10px;transform:translateY(-150%);background:var(--navy);color:#fff;padding:10px;z-index:100}.skip:focus{transform:none}.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(11,23,49,.08);backdrop-filter:blur(14px)}.nav-wrap{min-height:88px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:32px}.logo-link img{width:170px;height:64px;object-fit:contain}.nav{display:flex;justify-content:center;gap:28px}.nav a{font-size:14px;font-weight:700;position:relative}.nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-10px;height:2px;background:var(--gold);transition:.2s}.nav a:hover:after{right:0}.nav-actions{display:flex;align-items:center;gap:12px}.langs{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}.langs button{border:0;background:#fff;padding:8px 10px;font-size:11px;font-weight:800}.langs .active{background:var(--navy);color:#fff}.menu{display:none;border:0;background:none}.menu span{display:block;width:26px;height:2px;background:var(--navy);margin:5px}.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,#fff 0%,#fff 48%,#edf1f6 100%)}.hero-grid{min-height:680px;display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:50px;padding:70px 0}.kicker{margin:0 0 14px;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.kicker.dark{color:#b17c24}.hero-logo{width:300px;max-height:170px;object-fit:contain;object-position:left center;margin-bottom:12px}.hero h1{font-family:"Noto Serif Georgian",serif;color:var(--navy);font-size:clamp(42px,5vw,68px);line-height:1.12;margin:0 0 16px;text-wrap:balance}.hero-accent{color:#b77a20;font-size:22px;font-weight:700;margin:0 0 20px}.lead{max-width:630px;color:var(--muted);font-size:18px}.hero-buttons{display:flex;gap:14px;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:8px;font-weight:800;border:1px solid transparent;transition:.2s}.primary{background:var(--navy);color:#fff}.primary:hover{background:var(--navy3);transform:translateY(-2px)}.outline{border-color:var(--gold);color:#a56e17;background:#fff}.hero-visual{height:560px;display:flex;align-items:center}.desk-card{position:relative;width:100%;height:100%;border-radius:30px;background:linear-gradient(145deg,#d8dee8,#fff 40%,#b8a58d 100%);box-shadow:var(--shadow);overflow:hidden}.folder{position:absolute;left:17%;top:15%;width:58%;height:66%;background:linear-gradient(145deg,#0b1731,#1c3767);border-radius:18px;transform:rotate(-8deg);box-shadow:0 28px 60px rgba(0,0,0,.35);display:grid;place-items:center}.folder img{width:62%;filter:brightness(1.8) sepia(.2)}.report{position:absolute;right:-3%;top:10%;width:40%;height:82%;background:#fff;transform:rotate(7deg);box-shadow:0 20px 50px rgba(0,0,0,.18);padding:34px}.bars{height:130px;display:flex;align-items:flex-end;gap:12px}.bars i{display:block;width:18%;background:var(--navy3)}.bars i:nth-child(1){height:30%}.bars i:nth-child(2){height:48%}.bars i:nth-child(3){height:67%;background:var(--gold)}.bars i:nth-child(4){height:82%}.bars i:nth-child(5){height:100%}.pie{width:120px;height:120px;border-radius:50%;margin:35px auto;background:conic-gradient(var(--navy) 0 38%,var(--gold) 38% 60%,#8797b5 60% 100%)}.lines{height:100px;background:repeating-linear-gradient(to bottom,#d8dde6 0 2px,transparent 2px 18px)}.pen{position:absolute;right:29%;bottom:9%;width:18px;height:60%;background:linear-gradient(90deg,#111,#d9aa50,#111);border-radius:10px;transform:rotate(20deg);box-shadow:0 10px 18px rgba(0,0,0,.3)}.trust{background:var(--navy);color:#fff}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.12)}.trust-grid div{padding:28px;background:var(--navy);display:flex;flex-direction:column}.trust-grid strong{color:var(--gold2);font-size:18px}.trust-grid span{color:#c7d0e0;font-size:12px}.section{padding:105px 0}.soft{background:var(--soft)}.two-col,.why-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}.section-head h2,.center-head h2,.contact h2{font-family:"Noto Serif Georgian",serif;color:var(--navy);font-size:clamp(34px,4vw,56px);line-height:1.18;margin:0;text-wrap:balance}.section-head>p:last-child{color:var(--muted)}.prose-card{padding:44px;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);background:#fff}.prose-card p{margin:0;color:var(--muted);font-size:18px}.prose-card blockquote{margin:30px 0 0;padding-left:18px;border-left:3px solid var(--gold);color:var(--navy);font-weight:800}.center-head{text-align:center;max-width:800px;margin:0 auto 52px}.center-head p:last-child{color:var(--muted)}.center-head.light h2{color:#fff}.center-head.light p:last-child{color:#b9c5d9}.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.timeline article{background:#fff;border:1px solid var(--line);padding:26px;border-radius:18px;text-align:center;min-height:145px}.timeline b,.process b{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;margin:0 auto 18px;background:#dce3ef;color:var(--navy)}.timeline .gold b{background:var(--gold);color:var(--navy)}.timeline h3{font-size:15px;margin:0}.services{background:linear-gradient(145deg,var(--navy),var(--navy3));color:#fff}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards article{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);padding:28px;border-radius:18px;min-height:225px;transition:.2s}.cards article:hover{transform:translateY(-4px);border-color:rgba(201,161,90,.6)}.cards span{color:var(--gold);font-weight:800}.cards h3{font-size:18px}.cards p{color:#b8c3d6;font-size:14px}.why-list{display:grid;gap:14px}.why-list article{display:flex;gap:20px;padding:22px;border:1px solid var(--line);border-radius:16px}.why-list b{color:var(--gold);font-size:22px}.why-list h3{margin:0}.why-list p{margin:5px 0 0;color:var(--muted)}.process{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.process article{background:#fff;border:1px solid var(--line);padding:26px;border-radius:18px;text-align:center}.process p{color:var(--muted);font-size:13px}.contact{padding:100px 0;background:var(--navy);color:#fff}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.contact-info img{width:250px;max-height:150px;object-fit:contain;object-position:left center;filter:brightness(2)}.contact h2{color:#fff}.contact-info>p:not(.kicker){color:#b8c4d7}.details{display:grid;gap:14px;margin-top:28px}.details>*{display:flex;flex-direction:column}.details small{color:#8fa2c2}.form{background:#fff;color:var(--ink);padding:34px;border-radius:22px}.form h3{color:var(--navy);font-size:28px;margin-top:0}.form label{display:block;margin-bottom:14px}.form label span{display:block;font-size:12px;font-weight:800;margin-bottom:6px}.form input,.form textarea{width:100%;padding:12px 14px;border:1px solid #dce1e9;border-radius:9px;background:#fbfcfd}.form input:focus,.form textarea:focus{outline:3px solid rgba(201,161,90,.18);border-color:var(--gold)}.form .btn{width:100%;border:0}.hp{position:absolute!important;left:-9999px!important}.form-status{font-size:13px;color:var(--muted)}.map-card{grid-column:1/-1;border:1px solid rgba(255,255,255,.12);border-radius:24px;overflow:hidden}.map-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;background:#132953}.map-head h3{margin:0}.map-head a{border:1px solid var(--gold);padding:10px 16px;border-radius:8px;color:var(--gold2);font-weight:800}.map-card iframe{display:block;width:100%;height:470px;border:0}footer{background:#071023;color:#9eacc2}.footer{min-height:120px;display:grid;grid-template-columns:1fr auto auto;gap:30px;align-items:center}.footer img{width:180px;max-height:80px;object-fit:contain;filter:brightness(2)}.footer a{width:42px;height:42px;border:1px solid rgba(201,161,90,.4);border-radius:50%;display:grid;place-items:center;color:var(--gold)}.reveal{opacity:1;transform:none}.js .reveal{opacity:0;transform:translateY(24px);transition:.7s}.js .reveal.visible{opacity:1;transform:none}.delay{transition-delay:.12s}@media(max-width:980px){.nav{position:fixed;inset:88px 0 0;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:.2s}.nav.open{opacity:1;visibility:visible}.menu{display:block}.nav-wrap{grid-template-columns:auto 1fr}.nav-actions{justify-self:end}.hero-grid,.two-col,.why-grid,.contact-grid{grid-template-columns:1fr}.hero-grid{padding:55px 0}.hero-visual{height:500px}.trust-grid{grid-template-columns:repeat(2,1fr)}.timeline{grid-template-columns:repeat(3,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.process{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){:root{--wrap:min(100% - 28px,1180px)}.nav-wrap{min-height:74px}.logo-link img{width:128px;height:52px}.langs button{padding:7px}.hero-grid{min-height:auto;padding:42px 0 65px}.hero-logo{width:220px}.hero h1{font-size:40px}.hero-accent{font-size:18px}.lead{font-size:16px}.hero-buttons{flex-direction:column}.btn{width:100%}.hero-visual{height:380px}.report{padding:18px}.pie{width:75px;height:75px}.trust-grid{grid-template-columns:1fr}.section{padding:76px 0}.two-col,.why-grid{gap:35px}.prose-card{padding:26px}.timeline,.cards,.process{grid-template-columns:1fr}.contact{padding:76px 0}.contact-grid{gap:24px}.form{padding:24px}.map-head{align-items:flex-start;flex-direction:column;gap:16px}.map-head a{width:100%;text-align:center}.map-card iframe{height:350px}.footer{grid-template-columns:1fr auto;padding:26px 0}.footer p{grid-column:1/-1;grid-row:2;font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.js .reveal{opacity:1;transform:none}}

/* Text-only Tercia identity — no emblem or monogram */
.logo-link img {
  width: 210px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
}
.hero-logo {
  width: 330px;
  max-height: 140px;
  border-radius: 18px;
  object-fit: contain;
  object-position: left center;
  box-shadow: 0 18px 42px rgba(11,23,49,.13);
}
.folder img {
  width: 72%;
  max-height: 48%;
  object-fit: contain;
  filter: none;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
}
.contact-info img {
  width: 300px;
  max-height: 118px;
  object-fit: contain;
  object-position: left center;
  filter: none;
  border-radius: 16px;
}
.footer img {
  width: 220px;
  max-height: 82px;
  object-fit: contain;
  filter: none;
  border-radius: 14px;
}
@media(max-width:680px){
  .logo-link img{width:150px;height:54px;border-radius:11px}
  .hero-logo{width:260px;max-height:112px;border-radius:14px}
  .contact-info img{width:250px;max-height:100px}
  .footer img{width:180px;max-height:70px}
}

/* Photo-based branding update */
.logo-link img,
.hero-logo,
.contact-info img,
.footer img {
  background: transparent;
}

.logo-link img {
  width: 220px;
  height: auto;
  box-shadow: 0 10px 24px rgba(11,23,49,.12);
}

.hero-photo {
  position: relative;
  background:
    linear-gradient(90deg, rgba(11,23,49,.84) 0%, rgba(11,23,49,.74) 28%, rgba(11,23,49,.34) 56%, rgba(11,23,49,.16) 100%),
    url('assets/tercia-banner-bg.png') center center / cover no-repeat;
}

.hero-photo .hero-shape {
  display: none;
}

.hero-photo .hero-grid {
  min-height: 720px;
  grid-template-columns: minmax(0, 670px);
  justify-content: flex-start;
  gap: 0;
}

.hero-photo .hero-copy {
  padding: 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 30px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 32px 70px rgba(5,12,24,.28);
  backdrop-filter: blur(10px);
}

.hero-photo .hero-visual {
  display: none;
}

.hero-photo .hero-logo {
  width: min(100%, 360px);
  max-height: 130px;
  margin-bottom: 18px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(7,18,40,.18);
}

.hero-photo h1 {
  color: var(--navy);
}

.hero-photo .lead {
  max-width: 100%;
}

.contact-info img {
  width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
}

.footer img {
  width: 220px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

@media(max-width:980px){
  .hero-photo .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media(max-width:680px){
  .logo-link img {
    width: 150px;
  }

  .hero-photo .hero-grid {
    padding: 40px 0 60px;
  }

  .hero-photo .hero-copy {
    padding: 24px;
    border-radius: 22px;
  }

  .hero-photo .hero-logo {
    width: min(100%, 260px);
    max-height: 96px;
    border-radius: 14px;
  }

  .contact-info img {
    width: 240px;
  }

  .footer img {
    width: 180px;
  }
}

/* Hero update: keep brand-color background, place banner image only on the right */
.hero-split {
  background:
    radial-gradient(circle at 20% 18%, rgba(201,161,90,.12), transparent 24%),
    linear-gradient(135deg, #0b1731 0%, #122349 56%, #1b3665 100%);
}

.hero-split .hero-grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .95fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0;
}

.hero-split .hero-copy {
  max-width: 100%;
}

.hero-split .kicker {
  color: var(--gold-light);
}

.hero-split .hero-logo {
  width: min(100%, 340px);
  max-height: 126px;
  margin-bottom: 18px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.24);
}

.hero-split h1 {
  color: #fff;
}

.hero-split .hero-accent {
  color: var(--gold-light);
}

.hero-split .lead {
  max-width: 620px;
  color: #d6dfec;
}

.hero-split .outline {
  background: transparent;
  color: #fff;
  border-color: rgba(229,200,135,.9);
}

.hero-split .outline:hover {
  background: rgba(255,255,255,.08);
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 34px 80px rgba(3,10,22,.42);
  background: rgba(255,255,255,.06);
}

.hero-banner-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,23,49,.04), rgba(11,23,49,.12));
}

.hero-banner-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.hero-split .hero-visual {
  height: auto;
  display: block;
}

@media(max-width:980px){
  .hero-split .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
  }

  .hero-banner-frame img {
    min-height: 420px;
  }
}

@media(max-width:680px){
  .hero-split .hero-grid {
    padding: 46px 0 62px;
    gap: 26px;
  }

  .hero-split .hero-logo {
    width: min(100%, 260px);
    max-height: 96px;
  }

  .hero-banner-frame {
    border-radius: 20px;
  }

  .hero-banner-frame img {
    min-height: 280px;
  }
}

/* Final refinement: logo only in header, lighter hero, right-side image only */
.hero-clean {
  background:
    radial-gradient(circle at 16% 12%, rgba(201,161,90,.14), transparent 20%),
    linear-gradient(135deg, #f7f9fc 0%, #eef2f7 48%, #e6edf7 100%);
}

.hero-clean .hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(320px, .96fr);
  align-items: center;
  gap: 56px;
  padding: 70px 0;
}

.hero-clean .hero-copy {
  max-width: 100%;
}

.hero-clean .kicker {
  color: #b17c24;
}

.hero-clean h1 {
  color: var(--navy);
}

.hero-clean .hero-accent {
  color: #b77a20;
}

.hero-clean .lead {
  max-width: 620px;
  color: var(--muted);
}

.hero-clean .outline {
  color: #9f6f22;
  border-color: rgba(201,161,90,.9);
  background: rgba(255,255,255,.65);
}

.hero-clean .outline:hover {
  background: #fff;
}

.hero-clean .hero-visual {
  height: auto;
  display: block;
}

.hero-side-frame {
  width: 100%;
  background: #fff;
  border: 1px solid #e4e9f1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(18,35,73,.16);
}

.hero-side-frame img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

/* Disable hero logo everywhere outside header */
.hero-logo,
.contact-info img,
.footer img {
  display: none !important;
}

.contact-info {
  padding-top: 8px;
}

.footer {
  grid-template-columns: 1fr auto auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  color: #fff;
  letter-spacing: .08em;
  font-size: 18px;
}

.footer-brand span {
  color: #c4cfdf;
  font-size: 13px;
}

@media(max-width:980px){
  .hero-clean .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .hero-side-frame img {
    min-height: 340px;
  }
}

@media(max-width:680px){
  .hero-clean .hero-grid {
    padding: 44px 0 58px;
    gap: 24px;
  }

  .hero-side-frame {
    border-radius: 20px;
  }

  .hero-side-frame img {
    min-height: 220px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Hero right-side panel refined to text only */
.hero-text-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 42px 36px;
  background: linear-gradient(180deg, #21385f 0%, #162846 100%);
}

.hero-panel-ka-top,
.hero-panel-ka-bottom,
.hero-panel-en-top,
.hero-panel-en-bottom {
  margin: 0;
  max-width: 100%;
  color: #f7f3ea;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-panel-ka-top {
  font-family: "Noto Serif Georgian", serif;
  font-size: clamp(26px, 2.45vw, 42px);
  line-height: 1.2;
  font-weight: 700;
}

.hero-panel-en-top {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.25;
}

.hero-panel-line {
  width: min(100%, 560px);
  height: 2px;
  margin: 6px 0;
  background: linear-gradient(90deg, transparent 0%, #d8b472 16%, #d8b472 84%, transparent 100%);
}

.hero-panel-ka-bottom {
  font-family: "Noto Serif Georgian", serif;
  font-size: clamp(24px, 2.25vw, 40px);
  line-height: 1.22;
  font-weight: 700;
}

.hero-panel-en-bottom {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.2;
  color: #fffdf7;
}

.hero-side-frame.hero-text-panel {
  border-radius: 30px;
  box-shadow: 0 28px 72px rgba(18,35,73,.14);
}

.hero-side-frame img {
  display: none;
}

@media(max-width:980px){
  .hero-text-panel {
    min-height: 340px;
    padding: 34px 24px;
  }
}

@media(max-width:680px){
  .hero-text-panel {
    min-height: auto;
    padding: 28px 18px;
    border-radius: 22px;
    gap: 10px;
  }

  .hero-panel-ka-top {
    font-size: clamp(22px, 7vw, 30px);
  }

  .hero-panel-en-top {
    font-size: clamp(18px, 5.8vw, 24px);
  }

  .hero-panel-ka-bottom {
    font-size: clamp(21px, 6.4vw, 28px);
  }

  .hero-panel-en-bottom {
    font-size: clamp(21px, 6vw, 27px);
  }
}

/* Premium mobile navigation */
body.menu-open {
  overflow: hidden;
}

.menu {
  position: relative;
  z-index: 1202;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(18,35,73,.10);
  border-radius: 14px;
  background: #f4f7fb;
  box-shadow: 0 8px 22px rgba(18,35,73,.10);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.menu:hover {
  transform: translateY(-1px);
  background: #eef3f9;
}

.menu span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--navy);
  transform: translateX(-50%);
  transition: top .28s ease, transform .28s ease, opacity .2s ease, background .25s ease;
}

.menu span:nth-child(1) { top: 14px; }
.menu span:nth-child(2) { top: 22px; }
.menu span:nth-child(3) { top: 30px; }

.menu.active {
  border-color: rgba(229,200,135,.38);
  background: rgba(255,255,255,.10);
  box-shadow: none;
}

.menu.active span { background: #fff; }
.menu.active span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.menu.active span:nth-child(2) { opacity: 0; }
.menu.active span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

@media(max-width:980px){
  .header {
    z-index: 1200;
  }

  .nav-wrap {
    position: relative;
    z-index: 1201;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1199;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 118px max(22px, calc((100vw - 560px)/2)) 42px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background:
      radial-gradient(circle at 85% 8%, rgba(201,161,90,.18), transparent 25%),
      linear-gradient(155deg, #0b1731 0%, #122349 62%, #1b3665 100%);
    transform: translateY(-18px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  }

  .nav::before {
    content: "TERCIA";
    display: block;
    margin: 4px 4px 18px;
    color: var(--gold-light);
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .22em;
  }

  .nav::after {
    content: "ციფრები ჩვენი, სიმშვიდე თქვენი";
    display: block;
    margin: 22px 4px 0;
    padding-top: 20px;
    color: #aebbd0;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 12px;
    text-align: center;
  }

  .nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 16px 50px 16px 20px;
    color: #f7f9fc;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 17px;
    background: rgba(255,255,255,.06);
    box-shadow: 0 14px 32px rgba(0,0,0,.10);
    font-size: clamp(17px, 4.5vw, 21px);
    font-weight: 700;
    line-height: 1.35;
    transform: translateY(12px);
    opacity: 0;
    transition: background .2s ease, border-color .2s ease, transform .3s ease, opacity .3s ease;
  }

  .nav a::after {
    content: "→";
    position: absolute;
    right: 20px;
    color: var(--gold-light);
    font-size: 20px;
    transition: transform .2s ease;
  }

  .nav a:hover,
  .nav a:focus-visible {
    border-color: rgba(229,200,135,.42);
    background: rgba(255,255,255,.10);
    outline: none;
  }

  .nav a:hover::after,
  .nav a:focus-visible::after {
    transform: translateX(4px);
  }

  .nav.open a {
    opacity: 1;
    transform: none;
  }

  .nav.open a:nth-of-type(1) { transition-delay: .05s; }
  .nav.open a:nth-of-type(2) { transition-delay: .09s; }
  .nav.open a:nth-of-type(3) { transition-delay: .13s; }
  .nav.open a:nth-of-type(4) { transition-delay: .17s; }
  .nav.open a:nth-of-type(5) { transition-delay: .21s; }

  .menu {
    display: block;
  }
}

@media(max-width:680px){
  .nav {
    padding-top: 100px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .nav a {
    min-height: 58px;
    border-radius: 15px;
    font-size: 17px;
  }

  .menu {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .menu span:nth-child(1) { top: 12px; }
  .menu span:nth-child(2) { top: 20px; }
  .menu span:nth-child(3) { top: 28px; }
  .menu.active span:nth-child(1),
  .menu.active span:nth-child(3) { top: 20px; }
}


/* Compact translucent mobile navigation refinement */
@media(max-width:980px){
  .nav {
    inset: 78px 14px auto auto;
    width: min(86vw, 340px);
    max-height: calc(100dvh - 96px);
    padding: 18px;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    overflow-y: auto;
    background: rgba(11,23,49,.88);
    box-shadow: 0 24px 70px rgba(3,10,22,.34);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
  }

  .nav::before,
  .nav::after {
    display: none;
  }

  .nav.open {
    transform: none;
  }

  .nav a {
    min-height: 46px;
    padding: 11px 14px;
    color: rgba(255,255,255,.94);
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    font-family: "Noto Sans Georgian", Manrope, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(255,255,255,.09);
    border-color: transparent;
  }

  .menu.active {
    background: rgba(11,23,49,.90);
    border-color: rgba(201,161,90,.35);
  }
}

@media(max-width:680px){
  .nav {
    inset: 70px 10px auto auto;
    width: min(88vw, 310px);
    padding: 14px;
    border-radius: 18px;
  }

  .nav a {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

.back-to-top {
  cursor: pointer;
}
