:root{
  --bg:#0f0f0f;
  --card:#161616;
  --muted:#8a8a8a;
  --text:#f3f3f3;
  --accent:#f2c14e;
  --accent-2:#8ecae6;
  --container: 1160px;
  --radius: 14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Inter, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

img{max-width:100%; height:auto; display:block}

.container{width:100%; max-width:var(--container); margin:0 auto; padding:0 20px}

/* Header */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(15,15,15,.7); backdrop-filter: blur(10px);
  border-bottom:1px solid #222;
}
.header-bar{
  display:flex; align-items:center; justify-content:space-between;
  min-height:64px;
}
.brand img{display:block}

.main-nav{display:flex; gap:18px; align-items:center}
.main-nav a{
  color:var(--text); text-decoration:none; font-weight:500;
  padding:8px 10px; border-radius:10px;
}
.main-nav a:hover{background:#232323}

/* Buttons & links */
.btn{
  display:inline-block; padding:12px 18px; border-radius:12px;
  background:var(--accent); color:#1a1200; font-weight:700; text-decoration:none;
  transition:.2s transform ease;
}
.btn:hover{transform:translateY(-1px)}
.btn--ghost{
  background:transparent; border:1px solid #2b2b2b; color:var(--text)
}
.link{color:var(--accent-2); text-decoration:none; font-weight:600}
.link:hover{text-decoration:underline}

/* Hero */
.hero{position:relative; min-height:72vh; display:grid}
.hero__image{width:100%; height:72vh; object-fit:cover; filter:contrast(1.05) saturate(1.05)}
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.8) 100%);
  display:flex; align-items:flex-end;
}
.hero__content{padding:48px 20px 56px}
.hero h1{
  margin:0 0 6px 0; font-size:48px; letter-spacing:.03em
}
.hero p{margin:0 0 18px 0; color:#e7e7e7; font-size:18px}
.hero__cta{display:flex; gap:12px}

/* Features */
.features{padding:56px 0; background:linear-gradient(180deg,#0f0f0f 0%, #121212 100%)}
.features__grid{
  display:grid; gap:18px;
  grid-template-columns:repeat(4,1fr);
}
.feature{
  background:var(--card); border:1px solid #222; border-radius:var(--radius);
  padding:18px; display:grid; gap:12px
}
.feature h3{margin:0}
.feature p{margin:0; color:#d6d6d6}

/* Split sections */
.split{padding:56px 0; border-top:1px solid #1d1d1d; border-bottom:1px solid #1d1d1d}
.split--reverse .split__inner{flex-direction:row-reverse}
.split__inner{display:flex; gap:28px; align-items:stretch}
.split__media, .split__content{flex:1}
.split__media img{
  width:100%; height:100%; object-fit:cover; border-radius:var(--radius);
  border:1px solid #222
}
.split__content{
  background:var(--card); border:1px solid #222; border-radius:var(--radius);
  padding:22px
}
.list{margin:0; padding-left:18px}
.list li{margin:8px 0}

/* Idea block */
.idea{padding:56px 0}
.idea__inner{
  display:grid; gap:24px; grid-template-columns:1.25fr .75fr;
  align-items:center
}
.idea__text p{margin:.4rem 0 0 0}
.idea__image img{
  border-radius:var(--radius); border:1px solid #222
}

/* Info grid */
.info{padding:56px 0; background:linear-gradient(180deg,#111 0%, #0f0f0f 100%)}
.info__grid{
  display:grid; gap:18px; grid-template-columns:repeat(3,1fr)
}
.card{
  background:var(--card); border:1px solid #222; border-radius:var(--radius);
  padding:18px
}
.card h3{margin-top:0}

/* Footer */
.site-footer{border-top:1px solid #1f1f1f; padding:18px 0; background:#0e0e0e}
.footer__inner{display:flex; align-items:center; justify-content:space-between}
.footer-nav{display:flex; gap:14px}
.footer-nav a{color:var(--muted); text-decoration:none}
.footer-nav a:hover{color:#fff}

/* Responsive */
@media (max-width: 1024px){
  .features__grid{grid-template-columns:repeat(2,1fr)}
  .idea__inner{grid-template-columns:1fr}
}
@media (max-width: 768px){
  .main-nav{display:none}
  .hero h1{font-size:36px}
  .features{padding:40px 0}
  .split__inner{flex-direction:column}
  .info__grid{grid-template-columns:1fr}
}

/* Встраиваемая карта в блоке split */
.map-embed{
  width:100%;
  height:100%;
  min-height:320px;
  border:0;
  border-radius:var(--radius);
  outline:1px solid #222; /* как у изображений в split__media */
}
