/* ============================================================
   Polis-Express — лендинг (мультипродукт)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1f9d4d;
  --green-d: #178040;
  --ink: #15171a;
  --muted: #62666e;
  --line: #e7e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --radius: 20px;
  --shadow: 0 16px 44px rgba(20,23,26,.10);
  --shadow-sm: 0 4px 18px rgba(20,23,26,.06);
  --maxw: 1140px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section-title { font-size: clamp(28px, 4.2vw, 44px); font-weight: 760; letter-spacing: -.02em; line-height: 1.1; }
.section-sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin-top: 14px; max-width: 600px; }
.center { text-align: center; } .center .section-sub { margin-inline: auto; }

.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 14px; font-size: 16px; font-weight: 650; border: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
.brand .wm { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.brand .wm span { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink); font-weight: 500; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { padding: 9px 20px; font-size: 14px; border-radius: 11px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #f3f4f5; text-align: center; padding: 104px 24px 112px; overflow: hidden; background: #06070a; }
.hero-bg { position: absolute; inset: 0; background: url("img/hero-bg.jpg") center 58%/cover; opacity: .34; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(820px 480px at 50% -10%, rgba(31,157,77,.28), transparent 62%), linear-gradient(180deg, rgba(6,7,10,.55), rgba(6,7,10,.8) 62%, #06070a); }
.hero-inner { position: relative; z-index: 2; max-width: 840px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 980px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: #cdeed8; margin-bottom: 24px; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #2ec16a; box-shadow: 0 0 0 4px rgba(46,193,106,.22); }
.hero h1 { font-size: clamp(38px, 6.6vw, 70px); font-weight: 770; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 20px; }
.grad { background: linear-gradient(90deg,#34c759,#2ec16a,#5ac8fa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: clamp(17px, 2.4vw, 21px); color: #b6b8bd; line-height: 1.45; max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.stats { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; margin: 58px auto 0; max-width: 720px; }
.stat { flex: 1; min-width: 120px; padding: 0 16px; }
.stat .v { font-size: clamp(24px, 3.6vw, 34px); font-weight: 750; letter-spacing: -.02em; }
.stat .l { font-size: 13px; color: #84868d; margin-top: 4px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }

/* products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.pcard { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard .ph { position: absolute; inset: 0; z-index: -2; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.32) 42%, rgba(0,0,0,.8) 100%); }
.pcard .body { padding: 26px; }
.pcard .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 980px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); margin-bottom: 12px; }
.pcard .tag.new { background: var(--green); }
.pcard h3 { font-size: 25px; font-weight: 740; letter-spacing: -.02em; }
.pcard p { font-size: 15px; color: rgba(255,255,255,.86); margin-top: 7px; max-width: 92%; }
.pcard .price { font-size: 16px; font-weight: 650; margin-top: 16px; }

/* coverage explanation */
.cov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 820px) { .cov { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .cov { grid-template-columns: 1fr; } }
.cov-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.cov-item .svc { width: 42px; height: 42px; border-radius: 12px; }
.cov-item .svc svg { width: 23px; height: 23px; }
.cov-item h4 { font-size: 16.5px; font-weight: 680; }
.cov-item p { font-size: 14px; color: var(--muted); margin-top: 5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 750; color: #fff; font-size: 15px; margin-bottom: 18px; background: var(--green); }
.step h4 { font-size: 17px; font-weight: 680; letter-spacing: -.01em; }
.step p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.step .conn { display: none; }

/* ---------- Мой Дом section ---------- */
.moidom { background: #06070a; color: #f3f4f5; padding: 96px 0; overflow: hidden; }
.moidom-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .moidom-grid { grid-template-columns: 1fr; gap: 44px; } }
.moidom .eyebrow { color: #5ac8fa; }
.moidom h2 { font-size: clamp(27px, 4.2vw, 44px); font-weight: 760; letter-spacing: -.02em; line-height: 1.1; }
.moidom .lead { color: #b6b8bd; font-size: 17.5px; margin-top: 16px; max-width: 520px; }
.moidom ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.moidom li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #d4d5da; }
.moidom li .ok { flex: none; margin-top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(31,157,77,.16); display: grid; place-items: center; color: #2ec16a; }
.moidom .phone-wrap { display: flex; justify-content: center; }

/* mini-bill inside the phone preview */
.mini-top { background: var(--green); color: #fff; padding: 40px 16px 14px; }
.mini-top .s { font-size: 12px; opacity: .9; }
.mini-top .h { font-size: 16px; font-weight: 700; margin-top: 2px; }
.mini-body { padding: 12px; display: grid; gap: 8px; background: #f2f4f6; }
.mini-row { background: #fff; border-radius: 12px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.mini-row .svc { width: 30px; height: 30px; border-radius: 8px; } .mini-row .svc svg { width: 17px; height: 17px; }
.mini-row .nm { font-size: 12.5px; font-weight: 600; flex: 1; color: #15171a; }
.mini-row .am { font-size: 12.5px; font-weight: 700; color: #15171a; }
.mini-row.ins { border: 1.5px solid var(--green); background: #f0fbf4; }
.mini-row.ins .nm small { display: block; font-weight: 500; color: var(--green-d); font-size: 10.5px; }
.mini-chk { width: 19px; height: 19px; border-radius: 6px; background: var(--green); display: grid; place-items: center; color: #fff; }
.mini-pay { margin: 4px 12px 0; background: var(--green); color: #fff; text-align: center; padding: 13px; border-radius: 12px; font-weight: 700; font-size: 14px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--green); background: #e9f6ef; margin-bottom: 16px; }
.feat h4 { font-size: 17px; font-weight: 680; letter-spacing: -.01em; }
.feat p { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 116px 24px; text-align: center; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; } .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,10,.5), rgba(6,16,10,.78)); }
.cta-inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.cta h2 { font-size: clamp(28px,4.6vw,48px); font-weight: 760; letter-spacing: -.02em; }
.cta p { font-size: 18px; color: rgba(255,255,255,.86); margin: 16px auto 30px; max-width: 500px; }

/* ---------- Footer ---------- */
.foot { background: #0c0d10; color: #c9cace; padding: 56px 0 38px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand img { height: 34px; }
.foot .brand .wm { color: #fff; }
.foot .desc { color: #8a8c92; font-size: 14px; margin-top: 14px; max-width: 320px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #8a8c92; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14.5px; color: #c9cace; opacity: .9; margin-bottom: 10px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #7c7e85; }

/* entrance — безопасно: базово всё видимо, анимация только как украшение */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .6s cubic-bezier(.2,.7,.3,1) both; }
  .moidom .reveal, .cta .reveal { animation-delay: .05s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
