:root {
  --plum: #4d344f;
  --plum-dark: #342136;
  --terra: #e58a72;
  --terra-dark: #cd6f58;
  --ivory: #f7f3ec;
  --ink: #29282c;
  --sage: #9eaa91;
  --sage-soft: #edf0e9;
  --lilac: #e8e1e7;
  --white: #fffdfa;
  --muted: #746d76;
  --border: #ded6dc;
  --success: #5f7e59;
  --shadow: 0 18px 50px rgba(77, 52, 79, .11);
  --radius: 18px;
  --sidebar: 242px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 750; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--terra); box-shadow: 0 10px 25px rgba(229,138,114,.23); }
.btn-primary:hover { background: var(--terra-dark); }
.btn-secondary { color: var(--plum); background: transparent; border-color: #bdaeb9; }
.btn-soft { color: var(--plum); background: var(--lilac); }
.btn-plum { color: white; background: var(--plum); }
.btn-small { min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
.icon-btn { width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--plum); font-size: 20px; }
.icon-btn:hover { background: var(--lilac); }

.eyebrow { color: var(--terra); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--sage-soft); color: #53604d; font-size: 12px; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 750; color: var(--success); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

/* Landing */
.landing { min-height: 100vh; background: var(--ivory); }
.public-header {
  height: 76px; padding: 0 5vw; display: flex; align-items: center; gap: 28px;
  position: sticky; top: 0; z-index: 30; background: rgba(247,243,236,.94);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(77,52,79,.09);
}
.brand { font-size: 27px; font-weight: 900; letter-spacing: -.04em; color: var(--plum); cursor: pointer; }
.public-nav { display: flex; gap: 26px; margin: 0 auto; font-size: 14px; color: #514b52; }
.public-nav a:hover { color: var(--terra-dark); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.hero {
  min-height: 690px; padding: 86px 5vw 70px; display: grid; grid-template-columns: 1.03fr .97fr;
  gap: 6vw; align-items: center; overflow: hidden;
}
.hero h1 { margin: 16px 0 24px; max-width: 720px; font-size: clamp(54px, 6.2vw, 92px); line-height: .97; letter-spacing: -.055em; color: var(--plum-dark); }
.hero-copy { max-width: 640px; font-size: 20px; line-height: 1.55; color: #5e565f; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; color: #5f5861; font-size: 13px; }
.trust-row span { display: flex; align-items: center; gap: 9px; }
.trust-row i { width: 25px; height: 25px; border-radius: 50%; background: var(--lilac); color: var(--plum); display: grid; place-items: center; font-style: normal; font-weight: 900; }
.hero-visual { position: relative; min-height: 510px; }
.blob { position: absolute; inset: 15% 8% 0 10%; border-radius: 46% 54% 48% 52%; background: var(--lilac); transform: rotate(-5deg); }
.dashboard-preview { position: absolute; inset: 35px 0 22px 4%; padding: 24px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); border: 1px solid #eee7eb; }
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.preview-logo { font-weight: 900; color: var(--plum); }
.preview-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: white; font-size: 12px; }
.preview-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.preview-kpi { padding: 16px; border-radius: 14px; background: #faf7f4; border: 1px solid #eee7eb; }
.preview-kpi b { display: block; margin-top: 9px; color: var(--plum); font-size: 24px; }
.mini-chart { height: 190px; margin-top: 16px; padding: 17px; border-radius: 16px; border: 1px solid #eee7eb; background: #fff; }
.chart-title { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; }
.chart-bars { height: 126px; display: flex; align-items: end; gap: 10px; padding-top: 20px; }
.chart-bars span { flex: 1; min-width: 12px; border-radius: 7px 7px 2px 2px; background: var(--lilac); }
.chart-bars span:nth-child(3n+1) { background: var(--sage); }
.chart-bars span:nth-child(4n) { background: var(--terra); }
.floating-card { position: absolute; right: -18px; bottom: 0; width: 235px; padding: 18px; border-radius: 16px; background: var(--plum); color: white; box-shadow: var(--shadow); }
.floating-card strong { display: block; font-size: 28px; margin: 6px 0; }

.section { padding: 90px 5vw; }
.section-soft { background: #eee9e3; }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section h2 { margin: 10px 0 14px; color: var(--plum-dark); font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -.04em; }
.section-head p { font-size: 18px; color: var(--muted); line-height: 1.6; }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step-card { min-height: 230px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid #e8e0e4; }
.step-number { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--terra); color: white; font-weight: 900; }
.step-card h3 { margin: 28px 0 10px; color: var(--plum); }
.step-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-auto-rows: 220px; gap: 18px; }
.feature { padding: 28px; border-radius: 22px; background: var(--white); border: 1px solid #e8e0e4; overflow: hidden; }
.feature-main { grid-row: span 2; background: var(--plum); color: white; }
.feature h3 { margin: 0 0 12px; font-size: 23px; color: var(--plum); }
.feature-main h3 { color: white; font-size: 34px; }
.feature p { line-height: 1.55; color: var(--muted); }
.feature-main p { color: #e8dde7; }
.metric-big { margin-top: 45px; font-size: 80px; font-weight: 900; letter-spacing: -.06em; color: var(--terra); }
.venue-types { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.venue-type { min-height: 190px; padding: 24px; display: flex; flex-direction: column; justify-content: end; border-radius: 20px; border: 1px solid #ddd4da; background: linear-gradient(155deg,#fffdfa 40%,#ebe3e9); }
.venue-type:nth-child(2n) { background: linear-gradient(155deg,#fffdfa 40%,#e6ebe1); }
.venue-type strong { color: var(--plum); font-size: 20px; }
.venue-type span { margin-top: 8px; color: var(--muted); font-size: 13px; }
.cta-section { margin: 0 5vw 80px; padding: 54px; border-radius: 28px; display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--plum); color: white; overflow: hidden; }
.cta-section h2 { margin: 0 0 10px; font-size: 42px; letter-spacing: -.04em; }
.cta-section p { margin: 0; color: #e7dde6; }
.public-footer { padding: 38px 5vw; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ddd4da; color: var(--muted); font-size: 13px; }

/* App shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) 1fr; background: #f8f5f0; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 18px; display: flex; flex-direction: column; background: var(--plum); color: white; z-index: 25; }
.sidebar .brand { color: white; padding: 0 14px 24px; }
.brand-sub { padding: 0 14px 23px; font-size: 12px; line-height: 1.4; color: #d9cdd8; }
.side-nav { display: grid; gap: 5px; }
.nav-item { width: 100%; border: 0; border-radius: 12px; padding: 13px 14px; display: flex; align-items: center; gap: 12px; background: transparent; color: #e9dfe8; text-align: left; font-size: 14px; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.13); }
.nav-icon { width: 23px; text-align: center; font-size: 16px; }
.sidebar-foot { margin-top: auto; padding: 18px 14px; border-radius: 16px; background: rgba(255,255,255,.09); color: #e9dfe8; font-size: 12px; line-height: 1.5; }
.app-main { min-width: 0; }
.app-header { height: 74px; padding: 0 34px; display: flex; align-items: center; gap: 18px; position: sticky; top: 0; z-index: 20; background: rgba(248,245,240,.95); backdrop-filter: blur(18px); border-bottom: 1px solid #e6dee3; }
.global-search { flex: 1; max-width: 740px; position: relative; }
.global-search input { width: 100%; height: 45px; border: 1px solid #e0d8dd; border-radius: 12px; background: white; padding: 0 15px 0 42px; outline: none; }
.global-search::before { content: "⌕"; position: absolute; left: 15px; top: 9px; color: var(--muted); font-size: 22px; }
.profile { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.avatar { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--plum); font-weight: 900; }
.profile b { display: block; font-size: 13px; }
.profile span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.mobile-toggle { display: none; }
.app-content { padding: 34px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.page-head h1 { margin: 0; color: var(--plum-dark); font-size: 38px; letter-spacing: -.045em; }
.page-head p { margin: 8px 0 0; color: var(--muted); }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.kpi-card { padding: 20px; min-height: 138px; border-radius: var(--radius); background: white; border: 1px solid #e8e0e4; }
.kpi-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.kpi-value { display: block; margin: 14px 0 7px; color: var(--plum-dark); font-size: 31px; font-weight: 900; letter-spacing: -.03em; }
.trend { color: var(--success); font-size: 12px; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; margin-top: 18px; }
.panel { padding: 22px; border-radius: var(--radius); background: white; border: 1px solid #e8e0e4; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-head h2, .panel-head h3 { margin: 0; color: var(--plum-dark); font-size: 19px; }
.campaign-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr auto; gap: 16px; align-items: center; padding: 15px 0; border-top: 1px solid #eee7eb; }
.campaign-row:first-of-type { border-top: 0; }
.campaign-title { font-weight: 800; color: var(--plum-dark); }
.progress { height: 8px; margin-top: 9px; border-radius: 999px; background: #ede8eb; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--sage); }
.bar-chart { height: 260px; display: flex; gap: 14px; align-items: end; padding: 30px 8px 8px; border-bottom: 1px solid #ddd5da; }
.bar-wrap { flex: 1; height: 100%; display: flex; align-items: end; gap: 3px; }
.bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--lilac); }
.bar.secondary { background: var(--terra); }
.notice { display: flex; gap: 13px; padding: 14px 0; border-top: 1px solid #eee7eb; }
.notice:first-of-type { border-top: 0; }
.notice-mark { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: var(--sage-soft); color: var(--success); }
.notice p { margin: 0; font-size: 13px; line-height: 1.4; }
.notice span { font-size: 11px; color: var(--muted); }

/* Tables and lists */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.control { min-height: 42px; border: 1px solid #ddd4da; border-radius: 11px; background: white; padding: 0 13px; color: var(--ink); outline: none; }
.control:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(77,52,79,.08); }
.campaign-card { display: grid; grid-template-columns: 1.4fr .8fr .65fr .65fr auto; gap: 18px; align-items: center; padding: 20px; margin-bottom: 12px; border-radius: 16px; background: white; border: 1px solid #e5dde2; }
.campaign-card:hover { border-color: #c8b8c4; box-shadow: 0 8px 25px rgba(77,52,79,.06); }
.product-cell { display: flex; align-items: center; gap: 14px; }
.product-thumb { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; background: var(--sage-soft); color: var(--plum); font-size: 24px; }
.cell-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }

/* Wizard */
.wizard-steps { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; margin: 4px 0 24px; }
.wizard-step { position: relative; padding-top: 43px; text-align: center; color: var(--muted); font-size: 11px; }
.wizard-step::before { content: attr(data-step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: white; border: 1px solid #d9cfd6; color: var(--muted); font-weight: 800; z-index: 2; }
.wizard-step::after { content: ""; position: absolute; top: 16px; left: 57%; width: 88%; height: 1px; background: #d9cfd6; }
.wizard-step:last-child::after { display: none; }
.wizard-step.active { color: var(--plum); font-weight: 800; }
.wizard-step.active::before, .wizard-step.done::before { background: var(--plum); border-color: var(--plum); color: white; }
.wizard-step.done::after { background: var(--plum); }
.wizard-grid { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.form-panel { padding: 26px; border-radius: 20px; background: white; border: 1px solid #e5dde2; }
.form-title { margin: 0 0 8px; color: var(--plum-dark); font-size: 25px; }
.form-subtitle { margin: 0 0 26px; color: var(--muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 19px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; color: var(--plum-dark); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #dcd3d9; border-radius: 11px; background: white; color: var(--ink); outline: none; }
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(77,52,79,.08); }
.choice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.choice { display: flex; gap: 11px; padding: 15px; border: 1px solid #dcd3d9; border-radius: 13px; background: white; cursor: pointer; }
.choice.selected { border-color: var(--plum); background: #fbf7fa; }
.choice input { accent-color: var(--plum); }
.choice b { display: block; margin-bottom: 5px; color: var(--plum-dark); font-size: 13px; }
.choice span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.summary-panel { position: sticky; top: 96px; padding: 22px; border-radius: 20px; background: var(--lilac); border: 1px solid #ded3dc; }
.summary-panel h3 { margin: 0 0 18px; color: var(--plum-dark); }
.summary-item { padding: 13px 0; border-top: 1px solid rgba(77,52,79,.12); }
.summary-item:first-of-type { border-top: 0; }
.summary-item span { display: block; color: var(--muted); font-size: 11px; }
.summary-item strong { display: block; margin-top: 5px; color: var(--plum-dark); }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* Venues */
.venue-layout { display: grid; grid-template-columns: 245px minmax(0,1fr) 36%; gap: 15px; min-height: 690px; }
.filters { padding: 20px; border-radius: 17px; background: white; border: 1px solid #e5dde2; }
.filter-block { padding: 17px 0; border-top: 1px solid #eee7eb; }
.filter-block:first-of-type { border-top: 0; padding-top: 0; }
.filter-block h4 { margin: 0 0 11px; color: var(--plum-dark); font-size: 13px; }
.check-line { display: flex; justify-content: space-between; gap: 10px; margin: 9px 0; color: #5f5960; font-size: 12px; }
.venue-list { display: grid; gap: 12px; align-content: start; }
.venue-card { padding: 16px; display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; border-radius: 17px; background: white; border: 1px solid #e5dde2; }
.venue-image { min-height: 112px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(150deg,var(--sage-soft),var(--lilac)); color: var(--plum); font-size: 32px; }
.venue-card h3 { margin: 2px 0 5px; color: var(--plum-dark); font-size: 17px; }
.venue-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.map { position: sticky; top: 96px; height: calc(100vh - 128px); min-height: 620px; border-radius: 18px; overflow: hidden; border: 1px solid #d9d7cf; background-color: #edf0e9; background-image: linear-gradient(30deg,transparent 49%,rgba(158,170,145,.24) 50%,transparent 51%),linear-gradient(120deg,transparent 49%,rgba(77,52,79,.12) 50%,transparent 51%),repeating-linear-gradient(0deg,transparent 0 55px,rgba(255,255,255,.9) 56px 62px),repeating-linear-gradient(90deg,transparent 0 70px,rgba(255,255,255,.8) 71px 78px); }
.map::after { content: "Москва · демонстрационная карта"; position: absolute; left: 18px; bottom: 18px; padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,.9); color: var(--muted); font-size: 11px; }
.pin { position: absolute; width: 36px; height: 36px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); display: grid; place-items: center; background: var(--plum); color: white; box-shadow: 0 8px 16px rgba(77,52,79,.25); }
.pin span { transform: rotate(45deg); font-size: 11px; font-weight: 900; }
.pin.terra { background: var(--terra); }
.selection-bar { position: fixed; left: calc(var(--sidebar) + 34px); right: 34px; bottom: 20px; z-index: 15; padding: 14px 18px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--plum); color: white; box-shadow: var(--shadow); }

/* Reports */
.report-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.cards-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.report-grid { display: grid; grid-template-columns: 1.35fr .75fr .85fr; gap: 16px; margin-top: 16px; }
.line-chart { height: 250px; position: relative; overflow: hidden; background: repeating-linear-gradient(0deg,#fff 0 48px,#eee8eb 49px 50px); border-radius: 12px; }
.line-chart svg { width: 100%; height: 100%; }
.funnel { display: grid; justify-items: center; gap: 8px; padding-top: 12px; }
.funnel div { height: 43px; display: grid; place-items: center; color: white; font-size: 12px; font-weight: 800; clip-path: polygon(7% 0,93% 0,82% 100%,18% 100%); }
.donut { width: 164px; height: 164px; margin: 18px auto; border-radius: 50%; background: conic-gradient(var(--plum) 0 38%,var(--terra) 38% 66%,var(--sage) 66% 84%,#d7c5d6 84%); position: relative; }
.donut::after { content: "18 600\Aчеловек"; white-space: pre; position: absolute; inset: 33px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: white; color: var(--plum-dark); font-weight: 900; font-size: 15px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th { padding: 12px; background: #f2edf1; color: var(--plum); text-align: left; }
.data-table td { padding: 13px 12px; border-top: 1px solid #eee7eb; }
.insights { display: grid; gap: 12px; }
.insight { display: flex; gap: 12px; }
.insight-num { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--plum); color: white; font-weight: 900; }
.insight p { margin: 0; font-size: 12px; line-height: 1.45; }

/* Utility pages */
.empty-card { min-height: 250px; padding: 36px; display: grid; place-items: center; text-align: center; border: 1px dashed #cfc3cb; border-radius: 20px; background: rgba(255,255,255,.55); }
.doc-grid, .team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.doc-card, .team-card { padding: 20px; border-radius: 17px; background: white; border: 1px solid #e5dde2; }
.doc-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: var(--lilac); color: var(--plum); font-size: 20px; }
.doc-card h3, .team-card h3 { margin: 18px 0 6px; color: var(--plum-dark); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; padding: 14px 18px; border-radius: 13px; background: var(--plum-dark); color: white; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .public-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; }
  .steps-grid, .venue-types { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-main { grid-row: auto; grid-column: span 2; }
  .cards-4 { grid-template-columns: repeat(2,1fr); }
  .cards-5 { grid-template-columns: repeat(3,1fr); }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .report-grid > :first-child { grid-column: span 2; }
  .venue-layout { grid-template-columns: 220px 1fr; }
  .map { display: none; }
}

@media (max-width: 820px) {
  :root { --sidebar: 0px; }
  .public-header { padding: 0 20px; }
  .header-actions .btn-secondary { display: none; }
  .hero, .section { padding-left: 22px; padding-right: 22px; }
  .hero h1 { font-size: 54px; }
  .hero-visual { min-height: 420px; }
  .floating-card { right: 0; }
  .steps-grid, .venue-types, .feature-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: auto; }
  .cta-section { margin: 0 22px 50px; padding: 32px; display: grid; }
  .public-footer { padding: 30px 22px; display: grid; gap: 14px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -260px; width: 242px; transition: .25s; }
  .sidebar.open { left: 0; }
  .app-header { padding: 0 18px; }
  .mobile-toggle { display: block; }
  .global-search { display: none; }
  .app-content { padding: 22px 16px 90px; }
  .page-head { display: grid; }
  .page-head h1 { font-size: 31px; }
  .cards-4, .cards-5, .dashboard-grid, .wizard-grid, .form-grid, .settings-grid { grid-template-columns: 1fr; }
  .campaign-row, .campaign-card { grid-template-columns: 1fr; }
  .wizard-steps { grid-template-columns: repeat(7,88px); overflow-x: auto; padding-bottom: 9px; }
  .summary-panel { position: static; }
  .venue-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .selection-bar { left: 16px; right: 16px; bottom: 14px; }
  .report-grid { grid-template-columns: 1fr; }
  .report-grid > :first-child { grid-column: auto; }
  .doc-grid, .team-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .profile b, .profile span { display: none; }
}

@media (max-width: 520px) {
  .hero { padding-top: 55px; }
  .hero h1 { font-size: 44px; }
  .hero-copy { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-visual { min-height: 360px; }
  .dashboard-preview { inset: 20px 0; padding: 14px; }
  .preview-kpis { grid-template-columns: 1fr 1fr; }
  .preview-kpi:last-child { display: none; }
  .floating-card { display: none; }
  .cards-4, .cards-5 { grid-template-columns: 1fr; }
  .venue-card { grid-template-columns: 76px 1fr; }
  .venue-card > .btn { grid-column: 1/-1; }
  .cta-section h2 { font-size: 32px; }
}
