:root{
  --bg:#0f1216;
  --panel:#141920;
  --muted:#0b0e12;
  --text:#e9eef5;
  --sub:#b8c0cc;
  --line:rgba(255,255,255,.10);
  --orange:#ff8a2a;
  --orange2:#ffb25a;
  --gray:#8e99a8;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(255,138,42,.20), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(142,153,168,.18), transparent 55%),
              #0b0e12;
  color:var(--text);
}

/* Helpers */
.container{
  width:min(1120px, calc(100% - 32px));
  margin-inline:auto;
}
.section{
  padding:70px 0;
}
.section--muted{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{
  margin-bottom:24px;
  display:flex;
  gap:10px;
  flex-direction:column;
}
.section__head h2{
  margin:0;
  font-size:28px;
  letter-spacing:.2px;
}
.section__head p{
  margin:0;
  color:var(--sub);
  max-width:70ch;
}

/* Topbar */
.topbar{
  background: rgba(0,0,0,.25);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  gap:12px;
  flex-wrap:wrap;
}
.topbar a{
  color:var(--sub);
  text-decoration:none;
}
.topbar a:hover{color:#fff}
.sep{color:rgba(255,255,255,.25); padding:0 8px}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(15,18,22,.55);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  gap:16px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  min-width:220px;
}
.brand__logo{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius:14px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  padding:6px;
}
.brand__text{display:flex; flex-direction:column; line-height:1.1}
.brand__name{
  font-weight:700;
  letter-spacing:.4px;
}
.brand__tag{
  font-size:12px;
  color:var(--sub);
}

/* Nav */
.nav{display:flex; align-items:center; gap:10px}
.nav__toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
}
.nav__toggle span{
  display:block;
  height:2px;
  width:18px;
  background:#fff;
  margin:5px auto;
  opacity:.85;
}
.nav__list{
  list-style:none;
  display:flex;
  gap:18px;
  padding:0;
  margin:0;
}
.nav__list a{
  color:var(--sub);
  text-decoration:none;
  font-weight:600;
}
.nav__list a:hover{color:#fff}

/* Hero */
.hero{
  padding:38px 0 54px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:stretch;
}
.badge{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,138,42,.13);
  border:1px solid rgba(255,138,42,.25);
  color:#ffd7b7;
  font-weight:700;
  font-size:13px;
  width:fit-content;
}
.hero h1{
  margin:14px 0 10px;
  font-size:40px;
  line-height:1.15;
}
.accent{
  display:block;
  color:transparent;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  -webkit-background-clip:text;
  background-clip:text;
}
.hero__desc{
  margin:0 0 18px;
  color:var(--sub);
  font-size:16px;
  line-height:1.9;
}
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.btn{
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: linear-gradient(135deg, var(--orange), #ff6f1f);
  border-color: rgba(255,138,42,.45);
  color:#1a110b;
}
.btn--primary:hover{filter:brightness(1.03)}
.btn--ghost{
  background: rgba(255,255,255,.04);
}
.btn--ghost:hover{background: rgba(255,255,255,.07)}

.hero__meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.meta-card{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:12px 14px;
}
.meta-card__k{display:block; color:var(--sub); font-size:12px}
.meta-card__v{display:block; font-weight:700; margin-top:2px}

/* Slider */
.hero__media{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.hero__slider{
  position:relative;
  height:100%;
  min-height: 420px;
}
.slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transform: scale(1.03);
  transition: opacity .35s ease, transform .55s ease;
}
.slide.is-active{
  opacity:1;
  transform: scale(1);
}

.slider-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28);
  color:#fff;
  font-size:28px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.slider-btn:hover{background: rgba(0,0,0,.38)}
.prev{left:12px}
.next{right:12px}

.dots{
  position:absolute;
  bottom:12px;
  left:50%;
  transform: translateX(-50%);
  display:flex;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.26);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background: rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.20);
  cursor:pointer;
}
.dot.is-active{
  background: var(--orange);
  border-color: rgba(255,138,42,.55);
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px 16px 14px;
}
.card h3{margin:0 0 10px}
.card p{margin:0; color:var(--sub); line-height:1.9}
.list{
  margin:0;
  padding:0 18px 0 0;
  color:var(--sub);
  line-height:2;
}
.kv{display:flex; flex-direction:column; gap:10px}
.kv__row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
}
.kv__row span{color:var(--sub)}

/* Features */
.features{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.feature{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
}
.feature__icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,138,42,.12);
  border:1px solid rgba(255,138,42,.22);
  margin-bottom:10px;
  font-size:20px;
}
.feature h3{margin:0 0 8px}
.feature p{margin:0; color:var(--sub); line-height:1.9}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.gallery__item{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  cursor:pointer;
}
.gallery__item img{
  width:100%;
  height:210px;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}
.gallery__item:hover img{transform: scale(1.04)}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.70);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:100;
}
.lightbox.is-open{display:flex}
.lightbox img{
  max-width:min(100%, 1100px);
  max-height:85vh;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
}
.lightbox__close{
  position:absolute;
  top:16px;
  right:16px;
  width:46px;
  height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:14px;
  align-items:start;
}
.contact-card{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
}
.contact-card h3{margin:0 0 12px}
.contact-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:10px;
}
.contact-line span{color:var(--sub)}
.phones{display:flex; flex-direction:column; gap:6px}
.contact-card a{color:#fff; text-decoration:none}
.contact-card a:hover{color:var(--orange)}
.note{
  margin-top:12px;
  color:var(--sub);
  font-size:13px;
  line-height:1.8;
  padding:10px 12px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,.02);
}

.form{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:12px}
label{color:var(--sub); font-weight:700; font-size:13px}
input, textarea{
  font-family:inherit;
  font-size:15px;
  color:var(--text);
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding:12px 12px;
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(255,138,42,.45);
  box-shadow: 0 0 0 4px rgba(255,138,42,.10);
}
textarea{resize:vertical}
.form__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.form__hint{
  margin:12px 0 0;
  color:var(--sub);
  min-height:22px;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  background: rgba(0,0,0,.18);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.footer__small{color:var(--sub); font-size:13px}

/* Back to top */
.backtop{
  position:fixed;
  left:14px;
  bottom:14px;
  width:44px;
  height:44px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.backtop:hover{background: rgba(0,0,0,.48)}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; }
  .hero__media{min-height: 360px}
  .cards{grid-template-columns: 1fr}
  .features{grid-template-columns: 1fr 1fr}
  .gallery{grid-template-columns: 1fr 1fr}
  .contact-grid{grid-template-columns: 1fr}
}
@media (max-width: 720px){
  .nav__toggle{display:block}
  .nav__list{
    position:absolute;
    top:72px;
    right:16px;
    left:16px;
    background: rgba(15,18,22,.92);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding:12px;
    display:none;
    flex-direction:column;
    gap:10px;
  }
  .nav__list.is-open{display:flex}
  .row{grid-template-columns: 1fr}
  .hero h1{font-size:34px}
}
