:root{
  --bg:#0b0f14;
  --bg2:#0f141b;
  --card:#141a22;
  --line:rgba(255,255,255,.08);
  --text:#ffffff;
  --muted:rgba(255,255,255,.75);
  --blue:#3da9ff;
  --yellow:#ffd24d;
  --shadow: 0 16px 40px rgba(0,0,0,.45);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: var(--yellow); text-decoration:none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.accent{ color: var(--yellow); }
.center{ text-align:center; }

.h2{
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 18px;
  letter-spacing: .2px;
}

.lead{
  color: var(--muted);
  max-width: 900px;
  margin: 0 0 28px;
}

/* HEADER */
.header{
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
}

.brand__logo{
  height: 46px;
  width:auto;
}

.brand__name{
  font-weight: 800;
  letter-spacing:.4px;
  color:#fff;
}

.nav a{
  color:#fff;
  font-weight: 600;
  opacity:.95;
  margin-left: 18px;
}
.nav a:hover{ opacity:1; text-decoration:none; }

.nav--desktop{ display:flex; align-items:center; }

/* Mobile burger hidden on desktop */
.burger{ display:none; }

/* HERO */
.hero{
  position: relative;
  padding: 78px 0 54px;
  overflow: hidden;

  /* твой фон (fon_bg.png в корне) */
  background-image:
    radial-gradient(800px 320px at 50% 0%, rgba(61,169,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.72)),
    url("fon_bg.png");
  background-size: cover;
  background-repeat:no-repeat;
  background-position: center center;
  border-bottom: 1px solid var(--line);
}

.hero__content{ padding: 46px 0 10px; }

.hero__title{
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900;
  text-align:center;
  line-height: 1.08;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}

.hero__subtitle{
  margin: 14px auto 24px;
  max-width: 900px;
  text-align:center;
  color: rgba(255,255,255,.85);
  font-size: 16px;
}

.hero__buttons{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing:.2px;
  border:1px solid transparent;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  min-width: 150px;
}
.btn--primary{ background: var(--yellow); color:#000; }
.btn--outline{
  background: rgba(0,0,0,.35);
  border-color: rgba(61,169,255,.75);
  color: var(--blue);
}
.btn--ghost{
  background: rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

.hero__meta{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 10px;
}
.metaCard{
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 35px rgba(0,0,0,.35);
}
.metaCard__k{ font-size: 12px; color: rgba(255,255,255,.70); text-transform: uppercase; letter-spacing:.6px;}
.metaCard__v{ font-weight: 800; margin-top: 4px;}
.metaCard__v a{ color:#fff; }

/* SECTION */
.section{ padding: 70px 0; }
.section--dark{ background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.prose{
  max-width: 980px;
  margin: 0 auto;
  color: rgba(255,255,255,.86);
  font-size: 16px;
}
.prose p{ margin: 12px 0; }

/* WHY */
.whyGrid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.whyCard{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.whyCard__icon{ font-size: 26px; margin-bottom: 10px; }
.whyCard h3{ margin: 0 0 8px; font-size: 18px; }
.whyCard p{ margin:0; color: rgba(255,255,255,.78); }

/* SERVICES */
.servicesGrid{
  margin-top: 20px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.serviceCard{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.serviceCard__top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 8px;
}
.serviceCard h3{ margin:0; font-size: 18px; color: var(--blue); }
.serviceCard p{ margin: 10px 0 0; color: rgba(255,255,255,.82); }

/* Lightning icon */
.bolt{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background:
    conic-gradient(from 210deg, rgba(61,169,255,1), rgba(255,210,77,1), rgba(61,169,255,1));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2L3 14h7l-1 8 12-14h-7l-1-6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2L3 14h7l-1 8 12-14h-7l-1-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}

/* ✅ GALLERY (починено под картинки) */
.galleryGrid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.ph{
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  aspect-ratio: 1 / 1;
  position: relative;
}
.ph img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(1.05) contrast(1.02);
}
.ph:hover img{
  transform: scale(1.07);
}

/* CONTACTS */
.contactCard{
  background: #10161f;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.contactCard__row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.contactItem{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px 16px;
}
.contactItem__k{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing:.6px;
  color: rgba(255,255,255,.70);
}
.contactItem__v{ font-weight: 900; margin-top: 6px; }
.contactItem__v a{ color: #fff; }

.contactCard__cta{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
}
.smallNote{
  margin: 16px 0 0;
  color: rgba(255,255,255,.70);
  text-align:center;
}

/* FOOTER */
.footer{
  border-top: 1px solid var(--line);
  background: #000;
  padding: 18px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: rgba(255,255,255,.65);
}
.footer__links a{
  margin-left: 14px;
  color: rgba(255,255,255,.75);
}
.footer__links a:hover{ color:#fff; text-decoration:none; }

/* MOBILE MENU hidden on desktop */
.mobileMenu{ display:none; }
/* MOBILE BAR hidden on desktop */
.mobileBar{ display:none; }

/* RESPONSIVE */
@media (max-width: 980px){
  .whyGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .servicesGrid{ grid-template-columns: 1fr; }
  .hero__meta{ grid-template-columns: 1fr; }
  .galleryGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contactCard__row{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .nav--desktop{ display:none; }

  .burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color:#fff;
    font-size: 22px;
    cursor:pointer;
  }

  .mobileMenu{
    display:none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.70);
    backdrop-filter: blur(6px);
    z-index: 5000;
    padding: 18px;
  }
  .mobileMenu.isOpen{ display:block; }
  .mobileMenu__panel{
    height: 100%;
    background: #000;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 16px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }
  .mobileMenu__close{
    position:absolute;
    top: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color:#fff;
    font-size: 22px;
    cursor:pointer;
  }
  .nav--mobile{
    display:flex;
    flex-direction: column;
    align-items:center;
    gap: 14px;
  }
  .nav--mobile a{
    margin:0;
    font-size: 22px;
    color: var(--yellow);
  }
  .mobileMenu__cta{
    display:flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content:center;
    margin-top: 8px;
  }

  .mobileBar{
    display:flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6000;
    background: rgba(0,0,0,.92);
    border-top: 1px solid rgba(255,255,255,.14);
    padding: 10px 14px;
    justify-content: space-around;
  }
  .mobileBar a{
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: var(--yellow);
    text-decoration:none;
  }
  .mobileBar a:hover{ text-decoration:none; }

  .footer{ padding-bottom: 74px; }
}
