/* Zi Land demo — flat, dense, no gradients. Brand: green #3e7954 / #42694f, red #ff6262 */
:root {
  --green: #3e7954;
  --green-d: #42694f;
  --red: #ff6262;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray: #7c7c7c;
  --gray-l: #f4f5f4;
  --radius: 6px;
  --max: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.5; color: var(--black); background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(90%, var(--max)); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: none;
       border-radius: var(--radius); font-weight: 600; cursor: pointer; padding: 11px 22px; transition: opacity .15s; }
.btn:hover { opacity: .9; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-ghost { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }

/* header */
.site-header { background: var(--green); color: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 34px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a { color: var(--white); font-weight: 500; font-size: 15px; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--red); transition: width .2s; }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 3px; width: 26px; background: var(--white); border-radius: 2px; }
.ad-tag { font-size: 11px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .5px; }
.ad-tag::before { content: "● "; }

/* hero — dense */
.hero { padding: 56px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero-img img { border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.hero h1 { font-size: clamp(26px, 4.2vw, 38px); margin: 0 0 12px; line-height: 1.25; color: var(--green-d); }
.hero p { font-size: 17px; color: var(--gray); margin: 0 0 18px; max-width: 560px; }
.hero .btn-primary { padding: 13px 26px; font-size: 15px; }
.hero-phone { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--green); font-size: 18px; }
.offer { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--red); font-weight: 600; }

/* sections — TIGHT spacing (56-64px) */
section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 8px; font-size: clamp(22px,3.6vw,30px); color: var(--green-d); }
.section-title .lead { display: block; font-size: 16px; font-weight: 400; color: var(--gray); margin-top: 6px; }
.sect-pad { padding-top: 56px; }

/* advantages / icon grid — dense */
.advantages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.adv { background: var(--gray-l); border-radius: var(--radius); padding: 16px; text-align: center; }
.adv .icon { width: 40px; height: 40px; margin: 0 auto 8px; fill: var(--green); }
.adv .num { font-size: 22px; font-weight: 700; color: var(--green); }
.adv .lbl { font-size: 13px; color: var(--gray); margin-top: 2px; }

/* services — cards */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.svc { background: var(--white); border: 1px solid #e6e6e6; border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.svc h3 { font-size: 18px; color: var(--green-d); margin: 0 0 8px; }
.svc p { font-size: 14px; color: var(--gray); margin: 0 0 12px; }
.svc ul { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--green); }
.svc li::before { content: "●"; color: var(--green); font-size: 10px; margin-right: 4px; }

/* portfolio gallery — tight grid, NO gaps between gutters forced narrow */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.portfolio-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.portfolio-grid figure { margin: 0; }
.figcap { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* price */
.price { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tariff { background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); padding: 22px; }
.tariff .t-name { font-size: 16px; font-weight: 600; color: var(--green-d); margin-bottom: 6px; }
.tariff .t-price { font-size: 22px; font-weight: 700; color: var(--red); }
.tariff ul { margin-top: 10px; font-size: 13px; color: var(--gray); }

/* contacts */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.contact-item .cicon { font-size: 18px; margin-top: 2px; }
.map { border: 1px solid #e6e6e6; border-radius: var(--radius); overflow: hidden; height: 380px; }

/* footer — green */
.site-footer { background: var(--green-d); color: var(--white); padding: 28px 0 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.footer-brand img { height: 28px; }
.footer a { color: var(--gray-l); }
.footer a:hover { color: var(--red); }
.disclosure { font-size: 12px; color: #d1d1d1; margin-top: 8px; line-height: 1.4; }
.donit-link { display: inline-block; margin-top: 6px; font-size: 13px; }
.donit-link a { color: var(--red); font-weight: 600; }

/* 152-FZ badge */
.ad-inline { display: inline-block; font-size: 11px; font-weight: 700; color: var(--red); text-transform: uppercase; margin-left: 6px; vertical-align: middle; }

/* mobile */
@media (max-width: 880px) {
  .header-inner { height: 56px; }
  .main-nav { position: fixed; inset: 0; background: var(--green); transform: translateX(120%); transition: transform .25s ease; display: block; padding-top: 64px; height: 100vh; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a { display: block; padding: 14px 16px; color: var(--white); }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-img { order: -1; }
  section { padding: 44px 0; }
  .contacts-grid { grid-template-columns: 1fr; }
}
