:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f2f6fb;
  --text: #101828;
  --muted: #667085;
  --line: rgba(16, 24, 40, .09);
  --blue: #1769e0;
  --blue-2: #0d5bd6;
  --green: #20a968;
  --green-2: #e8f8ef;
  --orange: #f59e0b;
  --orange-2: #fff4df;
  --red: #e11d48;
  --red-2: #fff1f3;
  --violet: #7c3aed;
  --mint: #14b8a6;
  --yellow: #facc15;
  --shadow: 0 24px 70px rgba(15, 23, 42, .11);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, .08);
  --radius: 24px;
  --radius-sm: 15px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.84); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 26px rgba(15,23,42,.08); background: rgba(255,255,255,.96); }
.header-inner { height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 22px; letter-spacing: -.04em; white-space: nowrap; }
.brand-logo { width: 40px; height: 40px; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; color: #242b3a; font-weight: 650; font-size: 14px; }
.main-nav a { opacity: .84; transition: color .2s ease, opacity .2s ease; }
.main-nav a:hover { color: var(--blue); opacity: 1; }
.header-demo { margin-left: 8px; }
.mobile-menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.mobile-menu span { width: 18px; height: 2px; border-radius: 4px; background: #111827; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; font-weight: 850; font-size: 15px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 16px 34px rgba(23,105,224,.24); }
.btn-primary:hover { box-shadow: 0 20px 42px rgba(23,105,224,.32); }
.btn-secondary { color: #15233d; background: #fff; border: 1px solid rgba(16,24,40,.14); box-shadow: 0 10px 22px rgba(15,23,42,.06); }
.btn-ghost { color: #24324a; background: #f4f7fb; border: 1px solid var(--line); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.section { padding: 80px 0; }
.section-soft { position: relative; background: radial-gradient(circle at 5% 10%, rgba(32,169,104,.12), transparent 28%), radial-gradient(circle at 90% 18%, rgba(23,105,224,.10), transparent 25%), linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
.section-compact { padding-top: 50px; }
.hero { padding: 54px 0 56px; overflow: hidden; }
.hero:after { content: ""; position: absolute; inset: auto 0 0 0; height: 190px; background: linear-gradient(180deg, rgba(247,249,252,0) 0%, #f7f9fc 90%), url("data:image/svg+xml,%3Csvg width='1600' height='250' viewBox='0 0 1600 250' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 223C170 134 271 158 377 189C507 226 606 127 754 153C915 182 996 80 1166 121C1331 161 1417 127 1600 78V250H0V223Z' fill='%23dbeee5'/%3E%3Cpath d='M260 170h88v62h-88z' fill='%23ecd9bd'/%3E%3Cpath d='M245 170l59-46 59 46H245z' fill='%23b25d3f'/%3E%3Cpath d='M1050 160h110v72h-110z' fill='%23ecd9bd'/%3E%3Cpath d='M1033 160l72-56 72 56h-144z' fill='%23b25d3f'/%3E%3Cpath d='M0 210h1600' stroke='%23cfe8da' stroke-width='2'/%3E%3C/svg%3E") center bottom / cover no-repeat; opacity: .42; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 34px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: #edf5ff; border: 1px solid rgba(23,105,224,.10); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 850; margin: 0 0 16px; }
.green-label { color: var(--green); background: var(--green-2); }
.orange-label { color: #b45309; background: var(--orange-2); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px, 6.4vw, 74px); line-height: .98; letter-spacing: -.065em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.05em; margin-bottom: 16px; }
h3 { letter-spacing: -.03em; }
.hero-text, .section-head p, .copy-block p, .cta-card p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 44px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-row div { min-width: 0; }
.icon, .card-icon, .stat-icon { display: inline-grid; place-items: center; border-radius: 16px; }
.icon { width: 34px; height: 34px; margin-bottom: 10px; font-weight: 900; }
.icon.blue { color: var(--blue); background: #edf5ff; }
.icon.green { color: var(--green); background: var(--green-2); }
.icon.mint { color: var(--mint); background: #e8fffb; }
.icon.violet { color: var(--violet); background: #f4ecff; }
.trust-row b { display: block; font-size: 13px; margin-bottom: 4px; }
.trust-row small { display: block; color: var(--muted); font-size: 12px; }
.product-card, .panel-preview, .owner-card, .map-card, .cta-card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-card { padding: 14px; }
.app-shell-mini { display: grid; grid-template-columns: 155px 1fr; min-height: 520px; overflow: hidden; border-radius: 20px; background: #fff; }
.app-sidebar-mini { background: #f8fafc; border-right: 1px solid var(--line); padding: 18px 12px; }
.mini-brand { display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.1; margin: 0 0 16px; }
.mini-brand img { width: 28px; height: 28px; }
.side-item { width: 100%; text-align: left; background: transparent; border: 0; border-radius: 10px; color: #354153; padding: 10px 9px; font-size: 12px; font-weight: 750; margin: 2px 0; }
.side-item.active { color: var(--blue); background: #edf5ff; }
.app-main-mini { padding: 18px; min-width: 0; }
.app-topbar-mini { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.crumb { color: var(--muted); font-size: 12px; font-weight: 750; }
.app-topbar-mini h2 { font-size: 22px; margin: 4px 0 0; }
.user-chip { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 11px; color: #263247; }
.bell { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--red); font-size: 11px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #7fb1ff, #1769e0); display: inline-block; }
.metric-grid { display: grid; gap: 12px; }
.metric-grid.small { grid-template-columns: repeat(4, 1fr); }
.metric-grid.micro { grid-template-columns: repeat(4, 1fr); }
.metric, .metric-grid.micro article { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.metric small, .metric-grid.micro small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.metric strong, .metric-grid.micro strong { display: block; font-size: 18px; color: var(--blue); }
.metric.orange strong { color: var(--orange); }
.metric.green strong, .green-text { color: var(--green) !important; }
.metric.red strong, .red-text { color: var(--red) !important; }
.orange-text { color: var(--orange) !important; }
.app-widgets { display: grid; grid-template-columns: 1.2fr .75fr; gap: 14px; margin-top: 14px; }
.chart-card, .debt-card, .bottom-widgets article, .payments-widget, .owner-card article, .steps article, .feature-grid article, .market-row article { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 24px rgba(15,23,42,.05); }
.chart-card { padding: 16px; }
.chart-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); }
.dot, .map-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin: 0 5px; }
.green-bg { background: var(--green); }
.orange-bg { background: var(--orange); }
.red-bg { background: var(--red); }
.blue-bg { background: var(--blue); }
.gray-bg { background: #98a2b3; }
.bars { height: 152px; display: flex; align-items: flex-end; gap: 14px; padding: 18px 6px 4px; border-bottom: 1px solid var(--line); }
.bars span { position: relative; flex: 1; min-width: 12px; height: var(--h); border-radius: 8px 8px 0 0; background: var(--green); }
.bars span:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h2); border-radius: 8px 8px 0 0; background: var(--orange); }
.debt-card { padding: 16px; }
.debt-card div, .mini-list p, .owner-history p { display: flex; justify-content: space-between; gap: 12px; color: #344054; font-size: 13px; }
.debt-card a { color: var(--blue); font-weight: 800; font-size: 13px; }
.bottom-widgets { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; margin-top: 14px; }
.bottom-widgets article { padding: 14px; }
.bottom-widgets p { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0 0; color: #344054; font-size: 12px; }
.bottom-widgets em, .owner-history em { color: var(--green); font-style: normal; font-size: 11px; font-weight: 800; }
.plots-mini { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.plots-mini span { display: grid; place-items: center; min-height: 24px; border-radius: 7px; background: var(--green-2); color: #14532d; font-size: 10px; font-weight: 850; }
.plots-mini .warn { background: var(--orange-2); color: #92400e; }
.plots-mini .active { background: var(--blue); color: #fff; }
.numbers { position: relative; z-index: 2; margin-top: -20px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-row article { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); background: #fff; border-radius: 16px; box-shadow: var(--shadow-soft); }
.stat-icon { width: 42px; height: 42px; color: var(--blue); background: #edf5ff; font-size: 24px; }
.stat-row b { display: block; font-size: 24px; }
.stat-row small { display: block; color: var(--muted); font-weight: 700; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article { padding: 24px; min-height: 170px; }
.card-icon { width: 54px; height: 54px; margin-bottom: 16px; font-size: 28px; }
.green-soft { color: var(--green); background: var(--green-2); }
.blue-soft { color: var(--blue); background: #edf5ff; }
.orange-soft { color: var(--orange); background: var(--orange-2); }
.violet-soft { color: var(--violet); background: #f4ecff; }
.mint-soft { color: var(--mint); background: #e8fffb; }
.yellow-soft { color: #b45309; background: #fef9c3; }
.feature-grid h3 { margin-bottom: 8px; }
.feature-grid p { color: var(--muted); line-height: 1.6; margin: 0; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.panel-preview, .owner-card { padding: 22px; }
.panel-title, .owner-head { display: flex; align-items: center; gap: 12px; color: var(--blue); font-size: 20px; font-weight: 900; margin-bottom: 16px; }
.blue-avatar { background: linear-gradient(135deg, #7fb1ff, #1769e0); }
.split-mini { display: grid; grid-template-columns: 1fr .8fr; gap: 14px; margin-top: 14px; }
.mini-chart { height: 150px; display: flex; align-items: flex-end; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.mini-chart span { flex: 1; background: linear-gradient(180deg, var(--green), #67d391); border-radius: 8px 8px 0 0; }
.mini-list { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.copy-block { max-width: 540px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: #344054; font-weight: 700; }
.check-list li:before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); font-size: 12px; }
.owner-head { color: var(--green); }
.house-emoji { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: var(--green-2); font-size: 30px; }
.owner-head h3 { margin: 2px 0 0; color: var(--text); }
.owner-head small { color: var(--muted); }
.owner-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.owner-card article { padding: 16px; }
.owner-card small { color: var(--muted); display: block; }
.owner-card b { font-size: 24px; display: block; margin: 6px 0; }
.owner-card span { color: var(--muted); font-size: 13px; }
.owner-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.owner-actions button { border: 1px solid var(--line); background: #f8fbff; color: var(--blue); min-height: 58px; border-radius: 14px; font-weight: 850; }
.owner-history { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.market-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.market-row article { overflow: hidden; }
.market-row div { padding: 16px; }
.market-row b { font-size: 16px; }
.market-row p { color: var(--muted); margin: 7px 0 12px; }
.market-row span { color: #15803d; background: var(--green-2); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps article { padding: 20px; }
.steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--blue); background: #edf5ff; font-weight: 900; margin-bottom: 12px; }
.steps p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.cta-section { padding: 24px 0 60px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 42px; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(237,245,255,.94)); }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 20px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.small-brand { font-size: 16px; color: var(--text); }
.small-brand img { width: 28px; height: 28px; }
.footer-inner nav { display: flex; gap: 22px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

/* Демо-приложение */
.demo-body { background: #eef3f8; min-height: 100vh; }
.login-screen { min-height: 100vh; padding: 34px 20px; display: grid; place-items: center; background: radial-gradient(circle at 8% 10%, rgba(32,169,104,.17), transparent 28%), radial-gradient(circle at 90% 22%, rgba(23,105,224,.16), transparent 30%), linear-gradient(180deg, #fff, #f5f8fc); }
.login-card { width: min(1040px, 100%); background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); padding: 34px; }
.login-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 28px; }
.login-title { display: flex; gap: 16px; align-items: center; }
.login-title img { width: 60px; height: 60px; }
.login-title h1 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 8px; }
.login-title p { color: var(--muted); margin: 0; }
.login-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.login-role { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); transition: transform .2s ease, border-color .2s ease; }
.login-role:hover { transform: translateY(-2px); border-color: rgba(23,105,224,.35); }
.login-role span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: #fff; background: var(--blue); font-size: 28px; margin-bottom: 16px; }
.login-role.owner span { background: var(--green); }
.login-role h2 { font-size: 26px; margin-bottom: 10px; }
.login-role p { color: var(--muted); line-height: 1.55; }
.login-role small { display: block; margin-top: 18px; color: #475467; font-weight: 800; }
.demo-note { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #fff7ed; color: #92400e; font-weight: 750; line-height: 1.5; border: 1px solid rgba(245,158,11,.22); }
.app-layout { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.app-sidebar { position: sticky; top: 0; height: 100vh; overflow: auto; background: rgba(255,255,255,.95); border-right: 1px solid var(--line); padding: 18px; }
.app-logo { display: flex; gap: 12px; align-items: center; padding: 7px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.app-logo img { width: 42px; height: 42px; }
.app-logo b { display: block; font-size: 18px; line-height: 1.05; letter-spacing: -.03em; }
.app-logo small { color: var(--muted); font-weight: 700; }
.app-nav { display: grid; gap: 5px; }
.app-nav button { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: transparent; color: #344054; border-radius: 13px; padding: 11px 12px; font-weight: 800; font-size: 14px; }
.app-nav button:hover { background: #f4f7fb; }
.app-nav button.active { color: var(--blue); background: #edf5ff; }
.app-nav button i { font-style: normal; width: 22px; text-align: center; }
.app-content-wrap { min-width: 0; }
.app-topbar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 28px; background: rgba(247,249,252,.84); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.app-topbar h1 { font-size: 28px; margin: 0; letter-spacing: -.04em; }
.app-role { color: var(--muted); font-size: 13px; font-weight: 750; margin-top: 4px; }
.top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.notify-button { position: relative; width: 46px; height: 46px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font-size: 20px; }
.notify-button span { position: absolute; right: -3px; top: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--red); font-size: 11px; font-weight: 900; }
.app-content { padding: 28px; }
.content-grid { display: grid; gap: 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.data-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-soft); }
.data-card small { color: var(--muted); font-weight: 750; display: block; margin-bottom: 8px; }
.data-card b { display: block; font-size: 26px; letter-spacing: -.04em; }
.data-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.data-card.blue b { color: var(--blue); }
.data-card.green b { color: var(--green); }
.data-card.orange b { color: var(--orange); }
.data-card.red b { color: var(--red); }
.block { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); padding: 20px; min-width: 0; }
.block-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.block-head h2 { font-size: 24px; margin-bottom: 5px; }
.block-head p { color: var(--muted); margin: 0; line-height: 1.5; }
.block-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.dashboard-grid.three { grid-template-columns: 1fr 1fr; }
.chart-area { height: 260px; display: flex; align-items: flex-end; gap: 16px; padding: 22px 10px 0; border-bottom: 1px solid var(--line); }
.chart-col { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 100%; position: relative; }
.chart-col i { display: block; width: 22px; border-radius: 8px 8px 0 0; background: var(--green); min-height: 20px; }
.chart-col i:last-child { background: var(--orange); }
.chart-col span { position: absolute; bottom: -26px; color: var(--muted); font-size: 12px; font-weight: 750; }
.list { display: grid; gap: 10px; }
.list-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfe; }
.list-item strong { display: block; }
.list-item small { display: block; color: var(--muted); margin-top: 4px; }
.badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.badge.green { color: #166534; background: #dcfce7; }
.badge.orange { color: #92400e; background: #ffedd5; }
.badge.red { color: #9f1239; background: #ffe4e6; }
.badge.blue { color: #1d4ed8; background: #dbeafe; }
.badge.gray { color: #475467; background: #f2f4f7; }
.badge.violet { color: #6d28d9; background: #f3e8ff; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.filters input, .filters select, .form-grid input, .form-grid select, .form-grid textarea { border: 1px solid var(--line); border-radius: 14px; min-height: 44px; padding: 0 13px; background: #fff; color: var(--text); outline: none; }
.filters input:focus, .filters select:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: rgba(23,105,224,.55); box-shadow: 0 0 0 4px rgba(23,105,224,.08); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 17px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: #475467; background: #f8fafc; font-size: 13px; font-weight: 900; }
td { color: #263247; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.map-layout { display: grid; grid-template-columns: 1fr 330px; gap: 18px; }
.plot-map { display: grid; gap: 18px; }
.plot-line { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: #fbfcfe; }
.line-title { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-weight: 900; }
.line-title small { color: var(--muted); }
.line-grid { display: grid; grid-template-columns: repeat(16, minmax(42px, 1fr)); gap: 7px; }
.plot-cell { min-height: 36px; border-radius: 10px; border: 1px solid transparent; font-size: 12px; font-weight: 900; transition: transform .16s ease, box-shadow .16s ease; }
.plot-cell:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15,23,42,.12); }
.plot-ok { color: #166534; background: #dcfce7; }
.plot-wait { color: #92400e; background: #ffedd5; }
.plot-debt { color: #9f1239; background: #ffe4e6; }
.plot-ticket { color: #9a3412; background: #fed7aa; }
.plot-none { color: #475467; background: #f2f4f7; }
.plot-active { color: #fff; background: var(--blue); box-shadow: 0 12px 24px rgba(23,105,224,.22); }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: 12px; font-weight: 800; color: #475467; margin-bottom: 14px; }
.detail-card { position: sticky; top: 92px; align-self: start; }
.kv { display: grid; gap: 8px; margin: 14px 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: #344054; }
.kv div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.cards-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.catalog-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 16px; box-shadow: 0 10px 22px rgba(15,23,42,.05); display: grid; gap: 12px; }
.catalog-media { min-height: 120px; border-radius: 16px; background: linear-gradient(135deg, #edf5ff, #f3faf6); display: grid; place-items: center; font-size: 42px; }
.catalog-card h3 { margin: 0; }
.catalog-card p { color: var(--muted); margin: 0; line-height: 1.5; }
.catalog-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-meta span { color: #344054; background: #f4f7fb; border-radius: 999px; padding: 6px 9px; font-size: 12px; font-weight: 800; }
.progress { height: 10px; border-radius: 999px; background: #edf1f6; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #67d391); border-radius: inherit; }
.vote-option { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-top: 9px; }
.vote-option-head { display: flex; justify-content: space-between; gap: 12px; color: #344054; font-weight: 800; }
.notice-box { border: 1px solid rgba(245,158,11,.24); background: #fff7ed; color: #92400e; border-radius: 17px; padding: 14px 16px; font-weight: 750; line-height: 1.5; }
.simple-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.simple-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; font-weight: 850; color: #344054; }
.simple-tabs button.active { color: var(--blue); background: #edf5ff; border-color: rgba(23,105,224,.22); }
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid label { display: grid; gap: 6px; color: #344054; font-weight: 850; font-size: 13px; }
.form-grid textarea { min-height: 96px; padding-top: 12px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.42); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal-card { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 22px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.modal-head h2 { font-size: 24px; margin: 0 0 4px; }
.modal-head p { color: var(--muted); margin: 0; }
.close-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 22px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 120; max-width: 430px; background: #101828; color: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; font-weight: 750; line-height: 1.45; }
.toast.show { opacity: 1; transform: translateY(0); }
.hidden { display: none !important; }
.mobile-app-menu { display: none; }
.empty { text-align: center; padding: 34px 20px; color: var(--muted); }
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.report-preview { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: linear-gradient(180deg, #fff, #f8fafc); }
.report-preview h3 { margin-bottom: 14px; }
.report-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: 0; }

@media (max-width: 1080px) {
  .main-nav { display: none; position: fixed; left: 20px; right: 20px; top: 78px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 8px; }
  body.menu-open .main-nav { display: flex; }
  .mobile-menu { display: inline-flex; }
  .hero-grid, .two-column, .dashboard-grid, .dashboard-grid.three, .map-layout { grid-template-columns: 1fr; }
  .reverse-mobile .copy-block { order: 2; }
  .reverse-mobile .owner-card { order: 1; }
  .trust-row, .stat-row, .feature-grid, .steps, .market-row, .cards-grid, .cards-list, .settings-grid { grid-template-columns: repeat(2, 1fr); }
  .app-layout { grid-template-columns: 1fr; }
  .app-sidebar { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: min(320px, 88vw); transform: translateX(-104%); transition: transform .25s ease; box-shadow: var(--shadow); }
  body.app-menu-open .app-sidebar { transform: translateX(0); }
  .mobile-app-menu { display: inline-flex; }
  .detail-card { position: static; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { height: 64px; gap: 10px; }
  .brand { font-size: 17px; }
  .header-demo { display: none; }
  h1 { font-size: 44px; }
  .hero { padding-top: 34px; }
  .hero-actions, .cta-card, .login-top, .app-topbar { align-items: stretch; flex-direction: column; }
  .trust-row, .stat-row, .feature-grid, .steps, .market-row, .cards-grid, .cards-list, .settings-grid, .login-actions, .owner-metrics, .owner-actions, .metric-grid.small, .metric-grid.micro, .form-grid.two { grid-template-columns: 1fr; }
  .app-shell-mini { grid-template-columns: 1fr; }
  .app-sidebar-mini { display: none; }
  .app-widgets, .bottom-widgets, .split-mini { grid-template-columns: 1fr; }
  .product-card { padding: 8px; }
  .section { padding: 58px 0; }
  .app-content { padding: 18px 14px; }
  .line-grid { grid-template-columns: repeat(6, 1fr); }
  .top-actions { justify-content: stretch; }
  .top-actions .btn { width: 100%; }
  .notify-button { width: 100%; }
  .toast { left: 14px; right: 14px; bottom: 14px; }
}
@media (max-width: 420px) {
  h1 { font-size: 38px; }
  .login-card, .modal-card { padding: 18px; border-radius: 22px; }
  .plot-cell { min-height: 34px; font-size: 11px; }
}


/* Версия 3: формы входа, отдельные страницы и печатный отчет */
.login-form-panel{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;margin:22px 0;padding:16px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.8);box-shadow:0 20px 50px rgba(18,31,52,.06)}
.login-form-panel label{display:grid;gap:7px;font-size:13px;color:var(--muted);font-weight:700}.login-form-panel input{height:46px;border:1px solid var(--line);border-radius:14px;padding:0 14px;font:inherit;color:var(--text);background:white}.login-form-panel p{grid-column:1/-1;margin:0;color:var(--muted);font-size:13px}.login-error{border-color:#ef4444!important;box-shadow:0 0 0 4px rgba(239,68,68,.12)}
.quick-pages{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}.quick-pages a{display:flex;align-items:center;justify-content:center;min-height:58px;border:1px solid var(--line);border-radius:18px;background:white;color:var(--text);font-weight:800;text-align:center;box-shadow:0 16px 38px rgba(18,31,52,.06);transition:.2s}.quick-pages a:hover{transform:translateY(-2px);border-color:rgba(37,99,235,.35);box-shadow:0 24px 60px rgba(37,99,235,.12)}
.page-body{background:linear-gradient(180deg,#f8fbff 0%,#ffffff 40%,#f5faf7 100%);min-height:100vh}.inner-hero{padding:96px 0 34px}.inner-hero-card{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center;border:1px solid var(--line);border-radius:34px;background:rgba(255,255,255,.92);box-shadow:0 30px 90px rgba(18,31,52,.1);padding:34px;overflow:hidden}.inner-hero h1{font-size:clamp(34px,6vw,68px);letter-spacing:-.05em;line-height:.96;margin:0 0 18px}.inner-hero p{font-size:18px;color:var(--muted);max-width:680px}.inner-preview{border:1px solid var(--line);border-radius:26px;background:#fff;padding:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.inner-preview .mini-row{display:flex;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--line);font-weight:700}.inner-preview .mini-row:last-child{border-bottom:0}.inner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.inner-card{border:1px solid var(--line);border-radius:24px;background:white;padding:22px;box-shadow:0 18px 45px rgba(18,31,52,.06)}.inner-card h3{margin:0 0 8px;font-size:20px}.inner-card p{margin:0;color:var(--muted)}.code-box{white-space:pre-wrap;background:#0f172a;color:#e2e8f0;border-radius:22px;padding:18px;font-size:13px;line-height:1.7;overflow:auto}.print-report{max-width:960px;margin:30px auto;padding:30px;background:white;color:#111827;font-family:Arial,sans-serif}.print-report h1{font-size:34px;margin:0 0 10px}.print-report table{width:100%;border-collapse:collapse;margin-top:20px}.print-report td,.print-report th{border:1px solid #d8dee9;padding:12px;text-align:left}.print-report .print-actions{display:flex;gap:12px;margin:20px 0}@media print{.print-actions{display:none!important}.print-report{box-shadow:none;margin:0;max-width:none}} 
@media (max-width:980px){.login-form-panel{grid-template-columns:1fr}.quick-pages{grid-template-columns:repeat(2,1fr)}.inner-hero-card{grid-template-columns:1fr}.inner-grid{grid-template-columns:1fr}}@media (max-width:560px){.quick-pages{grid-template-columns:1fr}.inner-hero-card{padding:22px;border-radius:24px}.inner-hero{padding-top:72px}}


/* Версия 4 - премиальный редизайн: более спокойная типографика, компактные кнопки и аккуратные карточки */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --bg: #f4f7fb;
  --surface: rgba(255,255,255,.92);
  --surface-2: #eef3f8;
  --text: #142033;
  --muted: #66758b;
  --line: rgba(15, 23, 42, .08);
  --blue: #175fd2;
  --blue-2: #0f4fb6;
  --green: #1f9d67;
  --green-2: #ebf8f1;
  --orange: #d9931a;
  --orange-2: #fff5e5;
  --red: #d63a5d;
  --red-2: #fff1f4;
  --shadow: 0 24px 70px rgba(11, 24, 48, .08);
  --shadow-soft: 0 14px 34px rgba(11, 24, 48, .05);
  --radius: 26px;
  --radius-sm: 14px;
}

html, body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, button, input, textarea, select { font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body { background:
  radial-gradient(circle at top left, rgba(31,157,103,.06), transparent 24%),
  radial-gradient(circle at top right, rgba(23,95,210,.07), transparent 26%),
  linear-gradient(180deg, #f8fbff 0%, #f4f7fb 44%, #f8fbff 100%);
}
.container { width: min(var(--max), calc(100% - 52px)); }
.site-header { background: rgba(255,255,255,.82); box-shadow: 0 8px 30px rgba(11,24,48,.03); }
.header-inner { height: 66px; gap: 22px; }
.brand { font-size: 19px; font-weight: 800; letter-spacing: -.035em; }
.brand-logo { width: 36px; height: 36px; }
.main-nav { gap: 22px; font-size: 13px; font-weight: 700; }
.main-nav a { opacity: .9; }
.mobile-menu { width: 40px; height: 40px; border-radius: 12px; }

.btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.btn-primary { box-shadow: 0 12px 28px rgba(23,95,210,.20); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(23,95,210,.24); }
.btn-secondary, .btn-ghost { box-shadow: 0 8px 18px rgba(11,24,48,.04); }
.btn-small { min-height: 32px; padding: 0 12px; font-size: 12px; border-radius: 10px; }

.section { padding: 72px 0; }
.hero { padding: 42px 0 50px; }
.hero:after { opacity: .28; }
.eyebrow { padding: 6px 11px; font-size: 12px; margin-bottom: 14px; }
h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.01; letter-spacing: -.055em; margin-bottom: 18px; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.08; margin-bottom: 12px; }
h3 { font-size: 19px; }
.hero-text, .section-head p, .copy-block p, .cta-card p { font-size: 16px; line-height: 1.65; }
.hero-actions { gap: 12px; margin: 24px 0 34px; }
.trust-row { gap: 14px; }
.icon { width: 32px; height: 32px; margin-bottom: 8px; }
.trust-row b { font-size: 12px; }
.trust-row small { font-size: 11px; }

.product-card, .panel-preview, .owner-card, .map-card, .cta-card, .block, .data-card, .login-card, .inner-hero-card, .inner-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  border-color: rgba(15,23,42,.07);
  box-shadow: 0 16px 40px rgba(11,24,48,.05);
}
.product-card { padding: 12px; }
.app-shell-mini { min-height: 500px; border-radius: 22px; }
.app-sidebar-mini { background: linear-gradient(180deg, #fbfcfe, #f6f9fc); padding: 16px 11px; }
.side-item { padding: 9px 10px; font-size: 11px; border-radius: 11px; font-weight: 700; }
.app-main-mini { padding: 16px; }
.app-topbar-mini h2 { font-size: 20px; }
.metric-grid.small, .metric-grid.micro { gap: 10px; }
.metric, .metric-grid.micro article { border-radius: 16px; padding: 13px; }
.metric strong, .metric-grid.micro strong { font-size: 17px; }
.chart-card, .debt-card, .bottom-widgets article, .payments-widget, .owner-card article, .steps article, .feature-grid article, .market-row article { border-radius: 18px; }
.bars { height: 136px; gap: 12px; }
.numbers { margin-top: -14px; }
.stat-row article { padding: 16px 18px; border-radius: 18px; }
.stat-icon { width: 38px; height: 38px; font-size: 20px; }
.stat-row b { font-size: 22px; }
.section-head { margin-bottom: 28px; }
.feature-grid { gap: 16px; }
.feature-grid article { padding: 20px; min-height: 156px; }
.card-icon { width: 48px; height: 48px; margin-bottom: 14px; font-size: 22px; }
.two-column { gap: 28px; }
.panel-preview, .owner-card { padding: 20px; }
.panel-title, .owner-head { font-size: 18px; margin-bottom: 14px; }
.owner-card b { font-size: 22px; }
.owner-actions button { min-height: 52px; font-size: 13px; border-radius: 13px; font-weight: 800; }
.market-row b { font-size: 15px; }
.steps article { padding: 18px; }
.cta-card { padding: 30px 36px; border-radius: 28px; }
.site-footer { padding: 16px 0; }
.footer-inner { font-size: 12px; }

/* Демо-приложение */
.login-screen { padding: 26px 20px; }
.login-card { border-radius: 30px; padding: 30px; }
.login-top { margin-bottom: 24px; }
.login-title img { width: 52px; height: 52px; }
.login-title h1 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 6px; }
.login-actions { gap: 14px; }
.login-role { border-radius: 22px; padding: 20px; }
.login-role span { width: 46px; height: 46px; border-radius: 15px; font-size: 22px; margin-bottom: 12px; }
.login-role h2 { font-size: 22px; margin-bottom: 8px; }
.login-role p { font-size: 14px; }
.login-role small { margin-top: 14px; }
.demo-note, .notice-box { border-radius: 16px; font-size: 14px; }
.login-form-panel { gap: 12px; padding: 14px; border-radius: 20px; box-shadow: 0 14px 36px rgba(11,24,48,.04); }
.login-form-panel input { height: 42px; border-radius: 12px; }

.app-layout { grid-template-columns: 260px 1fr; }
.app-sidebar { padding: 16px; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); }
.app-logo { padding: 6px 8px 16px; margin-bottom: 12px; }
.app-logo img { width: 38px; height: 38px; }
.app-logo b { font-size: 16px; }
.app-logo small { font-size: 12px; }
.app-nav { gap: 4px; }
.app-nav button { padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.app-topbar {
  padding: 14px 24px;
  background: rgba(248,250,252,.84);
  box-shadow: 0 4px 14px rgba(11,24,48,.02);
}
.app-topbar h1 { font-size: 24px; }
.app-role { font-size: 12px; }
.notify-button { width: 42px; height: 42px; border-radius: 13px; font-size: 18px; }
.app-content { padding: 24px; }
.content-grid { gap: 16px; }
.cards-grid { gap: 12px; }
.data-card { border-radius: 18px; padding: 16px; }
.data-card b { font-size: 22px; }
.data-card p { font-size: 12px; }
.block { border-radius: 20px; padding: 18px; }
.block-head h2 { font-size: 20px; margin-bottom: 4px; }
.block-head p { font-size: 14px; }
.dashboard-grid, .map-layout, .cards-list { gap: 16px; }
.chart-area { height: 230px; gap: 14px; }
.chart-col i { width: 18px; }
.list-item { padding: 11px 12px; border-radius: 14px; }
.list-item strong, td { font-size: 13px; }
.badge { padding: 5px 9px; font-size: 11px; }
.filters input, .filters select, .form-grid input, .form-grid select, .form-grid textarea { min-height: 40px; border-radius: 12px; font-size: 14px; }
.table-wrap { border-radius: 16px; }
th, td { padding: 12px 13px; }
th { font-size: 12px; }
.line-title { font-size: 14px; }
.line-grid { grid-template-columns: repeat(16, minmax(38px, 1fr)); gap: 6px; }
.plot-cell { min-height: 32px; border-radius: 9px; font-size: 11px; }
.map-legend { font-size: 11px; }
.kv div { padding: 7px 0; font-size: 13px; }
.catalog-card { border-radius: 16px; padding: 14px; gap: 10px; }
.catalog-media { min-height: 100px; border-radius: 14px; font-size: 34px; }
.catalog-meta span { font-size: 11px; padding: 5px 8px; }
.vote-option { border-radius: 13px; }
.simple-tabs button { padding: 9px 13px; font-size: 13px; }
.form-grid label { font-size: 12px; }
.modal-card { border-radius: 22px; padding: 20px; }
.modal-head h2 { font-size: 20px; }
.close-btn { width: 36px; height: 36px; border-radius: 10px; font-size: 19px; }
.toast { border-radius: 16px; font-size: 14px; }
.report-preview { border-radius: 16px; padding: 16px; }
.report-row { font-size: 14px; }

.quick-pages { gap: 10px; }
.quick-pages a { min-height: 50px; border-radius: 16px; font-size: 13px; box-shadow: 0 14px 36px rgba(18,31,52,.05); }
.page-body { background: linear-gradient(180deg,#f6faff 0%,#ffffff 40%,#f4f8f4 100%); }
.inner-hero { padding: 86px 0 28px; }
.inner-hero-card { gap: 20px; border-radius: 30px; padding: 28px; }
.inner-hero h1 { font-size: clamp(30px, 4.8vw, 52px); line-height: 1; margin-bottom: 14px; }
.inner-hero p { font-size: 16px; }
.inner-preview { border-radius: 22px; padding: 16px; }
.inner-preview .mini-row { padding: 10px; font-size: 14px; }
.inner-grid { gap: 16px; }
.inner-card { border-radius: 20px; padding: 18px; }
.inner-card h3 { font-size: 18px; }
.code-box { border-radius: 18px; padding: 16px; font-size: 12px; }
.print-report { max-width: 920px; border-radius: 20px; box-shadow: 0 16px 40px rgba(11,24,48,.06); }
.print-report h1 { font-size: 28px; }
.print-report td,.print-report th { padding: 10px; font-size: 13px; }

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-text, .section-head p, .copy-block p, .cta-card p, .inner-hero p { font-size: 15px; }
  .section { padding: 54px 0; }
  .app-content { padding: 16px 14px; }
  .app-topbar h1 { font-size: 21px; }
  .line-grid { grid-template-columns: repeat(6, 1fr); }
  .plot-cell { min-height: 34px; }
}
@media (max-width: 420px) {
  h1 { font-size: 32px; }
  .btn { width: 100%; }
  .header-inner { height: 60px; }
}

/* Apartment complex landing additions */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 34px;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.split-grid.reverse > :first-child {
  order: 2;
}

.split-grid.reverse > :last-child {
  order: 1;
}

.phone-card {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(33, 61, 100, 0.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.98));
  box-shadow: 0 24px 70px rgba(30, 53, 86, 0.13);
  overflow: hidden;
}

.phone-card::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(31, 111, 235, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.phone-top {
  width: 92px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #d3dae7;
}

.phone-card h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.phone-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.phone-actions {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.phone-actions span {
  display: grid;
  min-height: 56px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(31, 111, 235, 0.13);
  border-radius: 16px;
  background: #f5f9ff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.service-strip span {
  padding: 12px 16px;
  border: 1px solid rgba(33, 61, 100, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 12px 28px rgba(30, 53, 86, 0.08);
  color: #24324a;
  font-weight: 850;
}

.feature-card span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #edf5ff;
  color: var(--blue);
  font-weight: 950;
}

.feature-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 960px) {
  .split-grid,
  .split-grid.reverse {
    grid-template-columns: 1fr;
  }

  .split-grid.reverse > :first-child,
  .split-grid.reverse > :last-child {
    order: initial;
  }
}

@media (max-width: 520px) {
  .phone-actions {
    grid-template-columns: 1fr;
  }

  .service-strip {
    justify-content: flex-start;
  }
}
