/* promofy.me public site. Mobile-first; breakpoints 768 / 1024 / 1440 (§13.7). */
:root {
  --ink: #0b0b12;
  --ink-2: #2a2a38;
  --muted: #5b5b6b;
  --line: #e6e4ef;
  --bg: #ffffff;
  --bg-alt: #f6f5fb;
  --primary: #e0105f;       /* 4.7:1 on white */
  --primary-hover: #c40a52;
  --violet: #6b2bff;        /* 6.1:1 on white */
  --ok: #0f7b3f;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
  --danger: #b3261e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 11, 18, 0.06), 0 8px 24px rgba(11, 11, 18, 0.06);
  --gutter: 16px;
  --header-h: 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; font-size: 16px; background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 5vw + 0.5rem, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.5vw + 0.6rem, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.pre { white-space: pre-line; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 780px; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: 0.4em; }
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 1.6em; }
.sub-title { font-size: 1.25rem; margin-top: 1.6em; }
.lead { font-size: 1.125rem; color: var(--ink-2); }
.page-head { padding-top: 32px; }
.two-col { display: grid; gap: 32px; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  background: var(--bg-alt); color: var(--ink); transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--violet); text-decoration: underline; cursor: pointer; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); font-size: 0.75rem; font-weight: 600; vertical-align: middle; }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); }

/* ——— Header ——— */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(11, 11, 18, 0.05); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.audience-switch { display: none; background: var(--bg-alt); border-radius: 999px; padding: 4px; }
.audience-switch a { padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.92rem; }
.audience-switch a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.burger { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.2s; }
.burger-lines::before, .burger-lines::after { content: ''; position: absolute; left: 0; }
.burger-lines::before { top: -7px; }
.burger-lines::after { top: 7px; }
.burger[aria-expanded='true'] .burger-lines { background: transparent; }
.burger[aria-expanded='true'] .burger-lines::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] .burger-lines::after { transform: translateY(-7px) rotate(-45deg); }
.menu { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px; flex-direction: column; gap: 16px; box-shadow: 0 12px 24px rgba(11, 11, 18, 0.08); }
.menu.open { display: flex; }
.menu-links { display: flex; flex-direction: column; gap: 4px; }
.menu-links a { padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { min-width: 44px; min-height: 36px; display: inline-grid; place-items: center; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 0.85rem; }
.lang-switch a.active { background: var(--bg-alt); color: var(--ink); }
.menu-open .audience-switch { display: flex; }

/* ——— Hero ——— */
.hero { padding: 40px 0 48px; background: radial-gradient(1200px 400px at 90% -10%, rgba(107, 43, 255, 0.12), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(224, 16, 95, 0.10), transparent 60%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero-art { display: none; }
.phone-mock { width: 260px; height: 460px; margin: 0 auto; border-radius: 36px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(11, 11, 18, 0.25); }
.phone-screen { position: relative; height: 100%; border-radius: 26px; background: linear-gradient(160deg, #2b1459, #7a0f3d); overflow: hidden; }
.bubble { position: absolute; left: 16px; right: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.95); font-weight: 700; color: var(--ink); }
.bubble.b1 { top: 56px; }
.bubble.b2 { top: 120px; font-weight: 600; color: var(--ok); }
.bars { position: absolute; bottom: 24px; left: 16px; right: 16px; display: flex; gap: 8px; align-items: flex-end; height: 120px; }
.bars span { flex: 1; background: rgba(255, 255, 255, 0.85); border-radius: 6px; }
.bars span:nth-child(1) { height: 30%; } .bars span:nth-child(2) { height: 55%; } .bars span:nth-child(3) { height: 42%; } .bars span:nth-child(4) { height: 90%; }
.stack { display: grid; gap: 12px; max-width: 320px; margin: 0 auto; }
.stack-card { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); font-weight: 700; font-size: 1.2rem; }
.stack-card:nth-child(2) { margin-left: 24px; } .stack-card:nth-child(3) { margin-left: 48px; }

/* ——— Steps, cards, lists ——— */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.section-alt .step { border-color: transparent; }
.step p { color: var(--muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.cards { display: grid; gap: 16px; }
.case img { border-radius: var(--radius-sm); margin-bottom: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.case-stats dt { color: var(--muted); font-size: 0.8rem; }
.case-stats dd { margin: 0; font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #e7f6ec; color: var(--ok); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; }
.dont-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dont-list li { padding: 10px 16px; border-radius: 999px; background: #fdecee; color: var(--danger); font-weight: 600; }
.dont-list li::before { content: '✕ '; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.facts { display: grid; gap: 12px; margin: 0 0 16px; }
.facts dt { color: var(--muted); font-size: 0.875rem; }
.facts dd { margin: 0; font-weight: 600; }
.notice { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 12px 14px; }
.agency { display: grid; gap: 24px; align-items: center; }
.final-cta { background: var(--ink); color: #fff; }
.final-cta .lead { color: #d8d8e4; }
.final-cta h2 { color: #fff; }

/* ——— Tables ——— */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table thead th { font-size: 0.8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; background: var(--bg-alt); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num { text-align: right; }
.table.compact th, .table.compact td { padding: 8px 10px; }
.cat-badge { display: inline-grid; place-items: center; min-width: 36px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 800; font-size: 0.85rem; }
.tariff-layout { display: grid; gap: 24px; align-items: start; }
/* Let the tariff table scroll inside .table-wrap instead of widening the grid track past the viewport. */
.tariff-layout > * { min-width: 0; }

/* ——— Calculator ——— */
.calc h3 { margin-bottom: 16px; }
.calc-result { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px; margin: 8px 0 12px; }
.calc-result p { margin: 0 0 4px; }
.calc-label { font-weight: 600; margin-top: 8px !important; }
.calc-value { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
input[type='range'] { width: 100%; accent-color: var(--primary); }

/* ——— FAQ ——— */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--muted); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 18px 16px; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose blockquote { margin: 0 0 1em; padding: 12px 16px; background: var(--warn-bg); border-radius: var(--radius-sm); color: var(--warn-ink); }

/* ——— Dashboard illustration ——— */
.dashboard { margin: 0; background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.illustration-badge { display: inline-block; margin-bottom: 12px; font-size: 0.78rem; font-weight: 700; color: var(--warn-ink); background: var(--warn-bg); padding: 4px 10px; border-radius: 12px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dash-item { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash-item span { color: var(--muted); font-size: 0.8rem; }
.dash-item.wide { grid-column: 1 / -1; }
.progress { height: 8px; background: #e2dff0; border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--violet)); }
.progress-64 { width: 64%; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; background: var(--bg-alt); }
.status-awaiting_payment { background: var(--warn-bg); color: var(--warn-ink); }
.status-paid, .status-in_progress { background: #e9e2ff; color: #41199c; }
.status-completed, .status-partially_completed { background: #e7f6ec; color: var(--ok); }
.status-cancelled { background: #fdecee; color: var(--danger); }

/* ——— Tabs ——— */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 16px 0 8px; overflow-x: auto; }
.tabs a { padding: 12px 16px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-selected='true'] { color: var(--ink); border-color: var(--primary); }

/* ——— Forms ——— */
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend, .label { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.hint { color: var(--muted); font-size: 0.875rem; margin: -2px 0 6px; }
.req { color: var(--primary); }
input[type='text'], input[type='email'], input[type='tel'], input[type='url'], input[type='number'], input[type='date'], input[type='search'], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #cfcbe0; border-radius: var(--radius-sm); background: #fff; font-size: 16px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--violet); outline: 3px solid rgba(107, 43, 255, 0.25); outline-offset: 0; }
[aria-invalid='true'] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: 0.875rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.form-error { color: var(--danger); font-weight: 600; }
.form-error:empty { display: none; }
.success { color: var(--ok); font-weight: 600; }
.check, .field > label.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--primary); }
.counter { text-align: right; margin: 4px 0 0; }

/* ——— Builder ——— */
.builder-section { padding-top: 24px; }
.builder-container { max-width: 760px; }
.builder-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.progress-label { font-weight: 700; margin: 0; }
.progress-dots { list-style: none; display: flex; gap: 6px; padding: 0; margin: 12px 0 8px; }
.progress-dots li { flex: 1; }
.progress-dots button { width: 100%; min-height: 36px; border: 0; border-radius: 8px; background: var(--bg-alt); color: var(--muted); font-weight: 700; cursor: pointer; }
.progress-dots button[disabled] { cursor: default; }
.progress-dots .done button { background: #e9e2ff; color: #41199c; }
.progress-dots .current button { background: var(--ink); color: #fff; }
.progress-bar { height: 4px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--violet)); transition: width 0.3s; }
.step-title { font-size: clamp(1.5rem, 3vw + 0.8rem, 2.2rem); margin-bottom: 20px; }
.step-title:focus { outline: none; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.choice-grid { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.choice-card { position: relative; display: grid; gap: 4px; text-align: left; width: 100%; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card:hover { border-color: #bdb7d6; }
.choice-card:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(224, 16, 95, 0.15); }
.choice-card:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.choice-card.is-soon { background: var(--bg-alt); }
.choice-card .badge { justify-self: start; }
.choice-icon { font-size: 1.8rem; }
.choice-title { font-weight: 700; font-size: 1.05rem; }
.choice-desc { color: var(--muted); font-size: 0.9rem; }
.choice-media { width: 100%; max-height: 200px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 6px; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg > span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1.5px solid #cfcbe0; border-radius: 999px; cursor: pointer; font-weight: 600; background: #fff; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:checked + span .badge { background: rgba(255, 255, 255, 0.2); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.seg.is-disabled > span { opacity: 0.55; cursor: not-allowed; }
/* "Coming soon" platforms are buttons: a click is counted as demand (builder step 4). */
.seg-soon { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.seg-soon > span { border-style: dashed; color: var(--ink-2); }
.seg-soon:focus-visible { outline: none; }
.seg-soon:focus-visible > span { outline: 3px solid var(--violet); outline-offset: 2px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cat-chip { position: relative; display: grid; gap: 2px; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.cat-chip input { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; accent-color: var(--primary); }
.cat-chip:has(input:checked) { border-color: var(--primary); background: #fff5f9; }
.cat-code { font-weight: 800; font-size: 1.2rem; }
.cat-followers { color: var(--muted); font-size: 0.8rem; }
.cat-price { font-weight: 700; font-size: 0.9rem; }
.budget-row { display: grid; gap: 12px; }
.summary-box { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; margin-top: 8px; }
.summary-title { font-weight: 700; margin-bottom: 8px; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary-grid > div, .quote-grid > div { display: flex; flex-direction: column; gap: 4px; }
.summary-grid strong { font-size: 1.3rem; }
.file-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.file-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.file-thumb { flex: none; width: 88px; height: 88px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.preview-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.preview-head h2 { font-size: 1rem; margin: 0 0 8px; }
.preview-block dl { margin: 0; display: grid; gap: 6px; }
.preview-block dl > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 8px; }
.preview-block dt { color: var(--muted); font-size: 0.9rem; }
.preview-block dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.quote { background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.quote h2 { font-size: 1.1rem; }
.quote-grid { display: grid; gap: 16px; margin: 16px 0; }
.big { font-size: 1.6rem; }
.quote-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.quote-total strong { font-size: 1.8rem; }
.preview-actions { display: grid; gap: 12px; margin-top: 16px; }
/* Promo preview (builder step 2 and review): the cover with the track, as it will be promoted. */
.promo-card { display: flex; gap: 14px; align-items: center; margin: 0; padding: 12px; max-width: 420px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; }
.promo-cover { flex: none; width: 88px; height: 88px; border-radius: 10px; object-fit: cover; }
.promo-cover-empty { display: grid; place-items: center; font-size: 2rem; background: linear-gradient(135deg, #ff2d7a, #7a3cff); }
.promo-meta { display: grid; gap: 2px; min-width: 0; }
.promo-kicker { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.promo-title, .promo-artist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-title { font-size: 1.05rem; }
.promo-artist { opacity: 0.85; }
.preview-block .promo-card { margin-bottom: 12px; }
.captcha-slot:empty { display: none; }
.captcha-slot { margin: 12px 0; }

/* ——— Modal ——— */
.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px rgba(11, 11, 18, 0.3); }
.modal::backdrop { background: rgba(11, 11, 18, 0.55); }
.modal-close-form { position: absolute; top: 8px; right: 8px; margin: 0; }
.modal-close { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; border-radius: 50%; }
.modal h2 { padding-right: 40px; }

/* ——— Contact card / done ——— */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.manager { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.manager p { margin: 0; }
.manager-name { font-weight: 700; font-size: 1.1rem; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff; font-weight: 800; font-size: 1.4rem; }
.contact-buttons { display: grid; gap: 10px; }
.btn-pair { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.btn-contact { color: #fff; }
.btn-contact:hover { color: #fff; filter: brightness(0.92); }
.btn-contact.tg { background: #1b7fc4; }
.btn-contact.wa { background: #12803c; }
.btn-contact.phone { background: var(--ink); }
.btn-contact.email { background: var(--violet); }
.done-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.done-head h1 { font-size: clamp(1.5rem, 3vw + 0.8rem, 2.2rem); margin: 0; flex: 1 1 260px; }
.done-icon { font-size: 2rem; }
.next-steps { padding-left: 1.3em; display: grid; gap: 8px; }
.done-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ——— Status page ——— */
.status-card { margin-top: 16px; }
.status-now { margin-bottom: 16px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.timeline li.reached { color: var(--ink); }
.timeline li.reached .dot { background: var(--ok); border-color: var(--ok); }
.timeline li.current { font-weight: 700; }
.timeline li.current .dot { box-shadow: 0 0 0 4px rgba(15, 123, 63, 0.2); }

/* ——— Footer ——— */
.site-footer { background: #0e0e16; color: #c9c9d6; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: #e9e9f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; }
.site-footer .muted { color: #a3a3b5; }
.footer-grid { display: grid; gap: 28px; }
.footer-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: #a3a3b5; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.socials { display: flex !important; gap: 8px !important; margin-top: 12px !important; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 32px; padding-top: 16px; font-size: 0.85rem; color: #a3a3b5; }
.company li { overflow-wrap: anywhere; }

/* ——— Cookie banner ——— */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); display: grid; gap: 12px; }
.cookie p { margin: 0; font-size: 0.92rem; }
.cookie a { color: #fff; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* ——— Legal / error ——— */
.versions { margin-top: 32px; }
.error-page { min-height: 70vh; display: grid; place-items: center; }
.error-code { font-size: 5rem; font-weight: 900; margin: 0; background: linear-gradient(90deg, var(--primary), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ——— ≥ 768px ——— */
@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 68px; }
  .section { padding: 72px 0; }
  .burger { display: none; }
  .audience-switch { display: flex; }
  .menu { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; border: 0; box-shadow: none; background: transparent; margin-left: auto; gap: 20px; }
  .menu-links { flex-direction: row; gap: 18px; }
  .menu-links a { padding: 0; font-weight: 500; color: var(--ink-2); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-5 { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .budget-row { grid-template-columns: 1fr auto; align-items: start; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .preview-actions { grid-template-columns: auto auto; justify-content: start; }
  .contact-buttons { grid-template-columns: 1fr 1fr; }
  .contact-buttons .btn-pair { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .dash-grid { grid-template-columns: repeat(4, 1fr); }
  .dash-item.wide { grid-column: span 2; }
  .cookie { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
  .agency { grid-template-columns: 2fr 1fr; }
  .builder-step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
}

/* ——— ≥ 1024px ——— */
@media (min-width: 1024px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .hero-art { display: block; }
  .steps-4 { grid-template-columns: repeat(4, 1fr); }
  .steps-5 { grid-template-columns: repeat(5, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .tariff-layout { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 1440px) {
  .container { max-width: 1280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
