:root{
  --bg:#0b0f14;
  --panel:#0f1620;
  --panel2:#0d131c;
  --text:#eaf0f7;
  --muted:#b2c0d3;
  --line:rgba(255,255,255,.10);
  --accent:#5fb3ff;
  --accent2:#9b7bff;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(95,179,255,.18), transparent 55%),
    radial-gradient(800px 420px at 80% 20%, rgba(155,123,255,.14), transparent 60%),
    var(--bg);
}

a{color:inherit}
.wrap{max-width:var(--max);margin:0 auto;padding:0 18px}

/* TOP BAR */
.topbar{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.70);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.nav{display:flex;gap:10px;flex-wrap:wrap}
.nav a{
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;
  color:rgba(234,240,247,.92);
}
.nav a:hover{background:rgba(255,255,255,.06)}

.top-contact{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;
  font-size:14px;
}
.top-contact a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.top-contact a:hover{
  border-color: rgba(95,179,255,.40);
  box-shadow: 0 0 0 3px rgba(95,179,255,.12) inset;
}

.lang{display:flex;gap:6px;margin-left:6px}
.lang-btn{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:7px 10px;
  cursor:pointer;
  border-radius:12px;
  font-size:12px;
}
.lang-btn:hover{border-color: rgba(95,179,255,.35)}
.lang-btn.active{
  border-color: rgba(95,179,255,.55);
  box-shadow: 0 0 0 3px rgba(95,179,255,.15) inset;
}

/* HERO + CAD GRID */
.hero{
  margin-top:18px;
  padding:44px 22px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;

  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.10) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.10) 2px, transparent 2px),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    var(--panel);

  background-size:
    22px 22px,
    22px 22px,
    110px 110px,
    110px 110px,
    100% 100%,
    100% 100%;
}

.hero::before{
  content:"";
  position:absolute; inset:-40% -20% auto auto;
  width:520px; height:520px;
  background: radial-gradient(circle at 30% 30%, rgba(95,179,255,.22), transparent 60%);
  filter: blur(2px);
  pointer-events:none;
}

.brand{
  margin:0;
  font-size:46px;
  letter-spacing:1.1px;
  line-height:1.05;
}
.tagline{
  margin-top:10px;
  font-size:18px;
  color:var(--muted);
}
.intro{
  margin:14px 0 0;
  color:rgba(178,192,211,.95);
  line-height:1.65;
  max-width:58ch;
}
.hero-cta{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(95,179,255,.18);
}
.btn:hover{transform: translateY(-1px)}
.btn-outline{
  background: rgba(255,255,255,.04);
}

.hero-image{
  margin:0;
  padding:10px 32px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: var(--panel2);
}
.hero-image img{
  width:100%;
  height:280px;
  object-fit:contain;
  object-position:center center;
  display:block;
  border-radius:12px;
  transform: scale(1.12);
  filter: contrast(1.06) brightness(0.92);
}

/* SECTIONS */
.section{
  padding:34px 0;
}
.section-title{
  margin:0 0 16px;
  font-size:22px;
  letter-spacing:.8px;
  color:rgba(234,240,247,.95);
}

/* GALLERY */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}

.home-gallery{
  margin-top:18px;
}

.services-gallery{
  margin-top:18px;
}

.contact-gallery{
  margin-top:28px;
}

.gallery img{
  width:100%;
  height:165px;
  object-fit:cover;
  display:block;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  cursor:pointer;
  background: var(--panel2);
  filter: grayscale(20%);
  transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.gallery img:hover{
  transform: translateY(-2px) scale(1.02);
  filter: grayscale(0%);
  border-color: rgba(95,179,255,.28);
}

/* CONTACT */
.contact{
  padding-top:18px;
}
.contact-block{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.contact-name{
  font-weight:700;
  font-size:16px;
  margin-bottom:6px;
}
.contact-line{
  color:rgba(178,192,211,.98);
  line-height:1.65;
}
.contact-sub{
  margin-top:14px;
  font-size:13px;
  color:rgba(178,192,211,.90);
}
.contact-right{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
  justify-content:center;
}
.contact-big{
  text-decoration:none;
  font-size:18px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.contact-big:hover{
  border-color: rgba(95,179,255,.40);
  box-shadow: 0 0 0 3px rgba(95,179,255,.12) inset;
}

/* FOOTER */
.footer{
  padding:18px 0 26px;
  border-top:1px solid var(--line);
  margin-top:24px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:rgba(178,192,211,.95);
}
.footer-right{color:rgba(178,192,211,.75)}

/* LIGHTBOX */
.lightbox{
  position:fixed; inset:0;
  display:none; place-items:center;
  background: rgba(0,0,0,.78);
  padding:20px;
  z-index:50;
}
.lightbox.open{display:grid}
.lightbox img{
  max-width:min(1120px, 95vw);
  max-height:85vh;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.20);
  box-shadow: var(--shadow);
  background:#000;
}
.lb-close{
  position:fixed; top:12px; right:16px;
  font-size:38px; line-height:1;
  border:none; background:transparent; color:#fff;
  cursor:pointer;
}

/* GOOGLE MAP */
.map-wrap{
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.map-wrap img{
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
  object-fit:contain;
  background: var(--panel2);
}
@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
  .hero-image img{height:290px}
  .gallery{grid-template-columns: repeat(3, minmax(0, 1fr))}
  .contact-block{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .brand{font-size:34px}
  .gallery{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .gallery img{height:150px}
  .top-contact a{padding:7px 9px}
}
.custom-map{
  position:relative;
}
