:root{
  --bg:#0b0f14;
  --panel:#0f1620;
  --panel2:#101b26;
  --text:#e9eef5;
  --muted:#b7c2cf;
  --line:rgba(255,255,255,.12);
  --accent:#f08a24;
  --accent2:#ffb15a;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius:18px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans Ethiopic", "Noto Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(240,138,36,.25), transparent 60%),
    radial-gradient(900px 600px at 15% -20%, rgba(255,177,90,.18), transparent 55%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* Prevent body scroll when drawer open */
body.no-scroll{overflow:hidden}

/* ============================
   TOP BAR
============================ */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(11,15,20,.88);
  border-bottom:1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))){
  .topbar{
    background: rgba(11,15,20,.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

/* ============================
   DESKTOP HEADER LAYOUT (ONE ROW)
   - logo + brand text (left)
   - nav (center)
   - right pills/lang (right)
============================ */
.navwrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:12px 0;
  flex-wrap:nowrap;      /* IMPORTANT: no wrapping on desktop */
  min-height:170px;      /* supports 150x150 logo */
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  min-width:0;
}

/* 150x150 logo desktop */
.logo{
  width:150px;
  height:150px;
  object-fit:contain;
  background:#0b0f14;
  border-radius:50%;
  padding:8px;
  box-sizing:border-box;
  flex:0 0 auto;
}

/* Brand text */
.brandname{font-weight:800; letter-spacing:.2px}
.tagline{font-size:12px; color:var(--muted); margin-top:2px}

/* Nav (center) */
.nav{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-width:0;
  overflow:visible;
  white-space:nowrap; /* desktop stays one row */
}
.nav a{
  font-size:14px;
  color:rgba(233,238,245,.92);
  padding:8px 10px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.nav a:hover{background:rgba(255,255,255,.06)}

/* Right side (contact + lang) */
.right{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:flex-end;
  min-width:max-content;
}

.contact-mini{display:flex; flex-direction:column; gap:6px; text-align:right;}
.contact-mini .label{font-size:11px; letter-spacing:.14em; color:rgba(233,238,245,.75);}
.pillrow{display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap;}
.pill{
  font-size:12px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.04);
}
.pill:hover{border-color:rgba(240,138,36,.55)}

.lang{display:flex; flex-direction:column; gap:6px; text-align:right;}
.lang .label{font-size:11px; letter-spacing:.14em; color:rgba(233,238,245,.75);}
.lang .selector{display:flex; gap:6px; justify-content:flex-end; flex-wrap:wrap;}
.btn-flag{
  width:42px; height:30px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:800;
  line-height:1;
  letter-spacing:.06em;
}
.btn-flag.active{
  border-color:rgba(240,138,36,.8);
  background:rgba(240,138,36,.18);
}
.btn-flag:hover{border-color:rgba(240,138,36,.55)}

/* Safety: hide common “separator dash” elements if your HTML includes them */
.sep, .divider, .nav-sep, .brand-sep{display:none !important;}
/* also hide empty spans that sometimes render as tiny dashes */
.brand span:empty, .nav span:empty{display:none !important;}

/* ============================
   DROPDOWN SUPPORT (DESKTOP)
============================ */
.nav .dropdown,
.nav .has-dropdown,
.nav li{
  position:relative;
}

.nav .dropdown-menu,
.nav .submenu,
.nav ul ul{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  padding:10px;
  border-radius:14px;
  background: rgba(11,15,20,.96);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  display:none;
  z-index:9999;
}

.nav .dropdown:hover .dropdown-menu,
.nav .dropdown:hover .submenu,
.nav .has-dropdown:hover .dropdown-menu,
.nav .has-dropdown:hover .submenu,
.nav li:hover > ul{
  display:block;
}

.nav .dropdown:focus-within .dropdown-menu,
.nav .dropdown:focus-within .submenu,
.nav .has-dropdown:focus-within .dropdown-menu,
.nav .has-dropdown:focus-within .submenu,
.nav li:focus-within > ul{
  display:block;
}

.nav .open > .dropdown-menu,
.nav .open > .submenu,
.nav .is-open > .dropdown-menu,
.nav .is-open > .submenu{
  display:block;
}

.nav .dropdown-menu a,
.nav .submenu a,
.nav ul ul a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  white-space:nowrap;
}
.nav .dropdown-menu a:hover,
.nav .submenu a:hover,
.nav ul ul a:hover{
  background: rgba(255,255,255,.06);
}

/* ============================
   BURGER BUTTON (MOBILE ONLY)
============================ */
.nav-burger{
  display:none; /* desktop hidden */
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
}
.nav-burger span{
  display:block;
  width:20px;height:2px;
  background:rgba(233,238,245,.9);
  border-radius:999px;
}

/* ============================
   MOBILE NAV DRAWER
============================ */
.mobile-nav{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.mobile-nav.is-open{display:block;}

.mobile-nav-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.mobile-nav-panel{
  position:absolute;
  top:0; right:0; bottom:0;
  width:min(360px, 92vw);
  background:var(--panel);
  border-left:1px solid var(--line);
  box-shadow:0 25px 80px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
}

.mobile-nav-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  border-bottom:1px solid var(--line);
}
.mobile-nav-title{font-weight:900;color:var(--text);}

.mobile-nav-close{
  width:42px; height:38px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}

.mobile-nav-body{
  padding:12px 14px 16px;
  overflow:auto;
}

.mobile-nav-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  text-decoration:none;
  margin-bottom:10px;
}
.mobile-nav-accordion{cursor:pointer;}
.mobile-nav-accordion .chev{opacity:.7;}

.mobile-nav-sub{
  display:none;
  padding:6px 0 10px;
  margin:-6px 0 10px;
}
.mobile-nav-sub.is-open{display:block;}

.mobile-nav-subitem{
  width:100%;
  text-align:left;
  padding:10px 12px;
  margin:8px 0 0;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  color:var(--text);
  cursor:pointer;
}

.mobile-nav-divider{
  height:1px;
  background:var(--line);
  margin:14px 0;
}

.mobile-nav-pills{display:flex; flex-wrap:wrap; gap:10px;}
.mobile-nav-lang .label{color:var(--muted);font-size:12px;margin-bottom:8px;}

/* ============================
   MOBILE HEADER MODE
============================ */
@media (max-width: 980px){
  .navwrap{
    gap:12px;
    padding:10px 0;
    min-height:0;
  }

  .logo{
    width:56px;
    height:56px;
    padding:5px;
  }

  /* Hide desktop nav + right; show burger */
  .nav{display:none !important;}
  .right{display:none !important;}
  .nav-burger{display:inline-flex; margin-left:auto;}
}

/* ============================
   HERO
============================ */
.hero{padding:48px 0 22px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 980px){ .hero-grid{grid-template-columns:1fr} }
@media (max-width: 520px){ .hero{padding:28px 0 16px} }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy{padding:28px}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(240,138,36,.35);
  background: rgba(240,138,36,.10);
  font-size:12px;
  color:rgba(233,238,245,.92);
}
.title{font-size:44px; line-height:1.05; margin:14px 0 10px; font-weight:900}
@media (max-width: 520px){ .title{font-size:34px} }
.sub{color:var(--muted); font-size:15px; line-height:1.6}

.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  background: rgba(255,255,255,.04);
}
.btn.primary{
  border-color: rgba(240,138,36,.8);
  background: linear-gradient(135deg, rgba(240,138,36,.95), rgba(255,177,90,.85));
  color:#0b0f14;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

.trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:18px;
}
@media (max-width: 520px){ .trust{grid-template-columns:1fr} }
.trust .chip{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.14);
  color: rgba(233,238,245,.90);
  font-size:13px;
}

/* HERO SLIDER */
.hero-media{overflow:hidden; position:relative}
.slider{position:relative; height:100%; min-height:320px;}
@media (max-width: 520px){ .slider{min-height:260px} }

.slides{position:absolute; inset:0}
.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition: opacity .6s ease, transform 1.0s ease;
  filter: saturate(1.05) contrast(1.03);
}
.slide.is-active{opacity:1; transform:scale(1.0);}
.slider .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(11,15,20,.18), rgba(11,15,20,.78));
  z-index:2;
}

.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.28);
  color: rgba(233,238,245,.95);
  font-size:22px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.slider-btn:hover{border-color: rgba(240,138,36,.55)}
.slider-btn.prev{left:12px}
.slider-btn.next{right:12px}

.dots{
  position:absolute;
  left:18px;
  bottom:62px;
  display:flex;
  gap:7px;
  z-index:3;
}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.26);
  background: rgba(0,0,0,.22);
  cursor:pointer;
}
.dot.is-active{
  border-color: rgba(240,138,36,.9);
  background: rgba(240,138,36,.55);
}

/* Sections */
section{padding:52px 0}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.h2{font-size:28px; margin:0; font-weight:900}
.desc{color:var(--muted); margin:0; max-width:820px; line-height:1.6}

.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
@media (max-width: 980px){ .grid3{grid-template-columns:1fr} }

.tile{
  padding:18px;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.tile h3{margin:2px 0 8px; font-size:16px}
.tile p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
  flex:1;
}
.tile-actions{
  margin-top:40px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.soft-actions{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}

.icon-img{
  width:180px;
  height:120px;
  border-radius:18px;
  border:1px solid rgba(240,138,36,.35);
  background: linear-gradient(135deg, rgba(240,138,36,.18), rgba(255,177,90,.08));
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-bottom:16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.icon-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.45));
}

.wide-tile{padding:18px}
.wide-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 980px){ .wide-grid{grid-template-columns:1fr} }

.wide-title{font-size:22px; margin:0 0 10px; font-weight:900; letter-spacing:.2px;}
.wide-desc{margin:0; color:var(--muted); line-height:1.7; font-size:15px;}

.soft-bullets{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.soft-pill{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.14);
  color: rgba(233,238,245,.92);
  font-size:13px;
}

.software-media{
  position:relative;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.12);
  padding:12px;
  overflow:hidden;
}
.media-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.media-grid img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  filter: saturate(1.05) contrast(1.03);
}
@media (max-width: 520px){
  .media-grid img{height:130px}
}
.media-note{
  margin-top:10px;
  color: rgba(233,238,245,.78);
  font-size:12px;
  line-height:1.5;
}

/* Technology grid */
.tech-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 980px){ .tech-grid{grid-template-columns:1fr} }

.tech-tile{
  overflow:hidden;
  display:grid;
  grid-template-columns: 190px 1fr;
  gap:0;
}
@media (max-width: 520px){
  .tech-tile{grid-template-columns:1fr}
}
.tech-img{
  position:relative;
  border-right:1px solid rgba(255,255,255,.10);
}
@media (max-width: 520px){
  .tech-img{border-right:none; border-bottom:1px solid rgba(255,255,255,.10)}
}
.tech-img img{
  width:100%;
  height:100%;
  min-height:160px;
  object-fit:cover;
  filter: saturate(1.02) contrast(1.03);
}
.tech-copy{padding:16px}
.tech-copy h3{margin:0 0 8px; font-size:16px}
.tech-copy p{margin:0; color:var(--muted); line-height:1.7; font-size:14px}

/* Contact */
.contact-grid{display:grid; grid-template-columns: .9fr 1.1fr; gap:16px;}
@media (max-width: 980px){ .contact-grid{grid-template-columns:1fr} }
.contact-box{padding:18px}
.contact-links{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.contact-links a{display:inline-flex}

form{display:grid; gap:10px}
.field{display:grid; gap:6px}
label{font-size:13px; color:rgba(233,238,245,.88)}
.req{color:rgba(255,177,90,.95); font-weight:900; margin-left:4px}

.field-error{
  min-height:16px;
  font-size:12px;
  color: rgba(255,160,160,.95);
}

input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}

select option{color:#000; background:#fff;}
select{color: var(--text);}
textarea{min-height:120px; resize:vertical}

.ok{
  margin-top:10px; padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(80,220,150,.35);
  background: rgba(80,220,150,.10);
  color: rgba(220,255,236,.95);
  font-size:13px;
}
.bad{
  margin-top:10px; padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,120,120,.35);
  background: rgba(255,120,120,.10);
  color: rgba(255,230,230,.95);
  font-size:13px;
}

/* Google map placeholder */
.map-wrap{
  margin-top:14px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  height:260px;
}
.map-wrap iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* LEFT VERTICAL "CHAT" TAB */
.ai-tab{
  position:fixed;
  left:0;
  top:50%;
  transform:translateY(-50%);
  z-index:80;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:12px 10px;
  border-radius:0 16px 16px 0;
  border:1px solid rgba(240,138,36,.35);
  border-left:none;
  background: rgba(11,15,20,.75);
  color: rgba(233,238,245,.92);
  box-shadow: 0 14px 34px rgba(0,0,0,.55);
  cursor:pointer;
}
.ai-tab:hover{border-color: rgba(240,138,36,.7)}

.ai-tab-dot{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(240,138,36,.9);
  box-shadow: 0 0 0 6px rgba(240,138,36,.14);
}
.ai-tab-text{
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  writing-mode:vertical-rl;
  transform: rotate(180deg);
}

/* Drawer */
.ai-drawer{
  position:fixed;
  inset:0;
  z-index:90;
  pointer-events:none;
}
.ai-drawer.is-open{pointer-events:auto;}

.ai-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  opacity:0;
  transition: opacity .2s ease;
}
.ai-drawer.is-open .ai-backdrop{opacity:1;}

.ai-drawer-inner{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:min(420px, 92vw);
  background: rgba(11,15,20,.92);
  border-right: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateX(-102%);
  transition: transform .22s ease;
  box-shadow: 18px 0 60px rgba(0,0,0,.65);
  display:flex;
  flex-direction:column;
}
.ai-drawer.is-open .ai-drawer-inner{transform: translateX(0);}

.ai-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.ai-drawer-title{font-weight:900; letter-spacing:.2px;}

.ai-close{
  width:40px; height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,245,.95);
  cursor:pointer;
  font-size:20px;
  line-height:1;
}
.ai-close:hover{border-color: rgba(240,138,36,.55)}

.ai-drawer-body{padding:14px; overflow:auto;}
.ai-muted{color: var(--muted); font-size:13px; line-height:1.6; margin:0 0 12px}
.ai-slot{
  min-height:240px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
}

.ai-chat{display:flex;flex-direction:column;gap:10px}
.ai-log{height:360px;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:10px;background:rgba(0,0,0,.12)}
.ai-msg{max-width:88%;padding:10px 12px;border-radius:14px;line-height:1.5;font-size:14px;white-space:pre-wrap}
.ai-msg.is-user{margin-left:auto;background:rgba(240,138,36,.18);border:1px solid rgba(240,138,36,.35)}
.ai-msg.is-bot{margin-right:auto;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}
.ai-row{display:flex;gap:10px}
.ai-input{flex:1;border-radius:14px;border:1px solid var(--line);background:rgba(0,0,0,.10);color:var(--text);padding:10px 12px;outline:none}
.ai-input:focus{border-color:rgba(240,138,36,.6)}
.ai-suggest{display:flex;flex-wrap:wrap;gap:8px}
.ai-suggest .pill{cursor:pointer}

footer{
  padding:20px 0 34px;
  color:rgba(233,238,245,.7);
  border-top:1px solid var(--line);
  margin-top:40px;
  font-size:13px;
}

.machine-categories{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.cat-btn{
  padding:26px;
  font-size:20px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  cursor:pointer;
  font-weight:800;
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
}

.modal-box{
  background:#fff;
  max-width:900px;
  padding:30px;
  border-radius:22px;
  color:#000;
  max-height:85vh;
  overflow:auto;
}

.modal-item img{
  width:100%;
  max-width:500px;
}

