@font-face{font-family:"Jost";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/Jost-var.woff2") format("woff2");}
/* =====================================================================
   SiteLabAI — "5D" style system (preview, 20.10.2026)
   Reference look: 5digital.by — black / white / signal-yellow, geometric
   sans, wavy section separators, sharp 8px cards, yellow square badges.
   Own CSS, no code copied. Drop-in replacement for /styles.css:
   every class of the old stylesheet is still styled.
   ===================================================================== */


:root {
  /* palette */
  --yellow: #ffe000;
  --yellow-2: #ffd000;
  --yellow-soft: #fff7b8;
  --black: #0b0b0b;
  --ink: #111111;
  --ink-2: #1a1a1a;
  --white: #ffffff;
  --paper: #f5f5f5;
  --muted: #5a5a5a;
  --muted-dark: rgba(255,255,255,.62);
  --line: #e3e3e3;
  --line-dark: #333333;
  /* legacy aliases (old pages / inline styles) */
  --bg: var(--white);
  --bg-2: var(--paper);
  --accent: var(--yellow);
  --accent-ink: var(--black);
  --deep: var(--black);
  --lime: var(--yellow);
  --card: var(--white);
  /* layout */
  --pad: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --font-h: "Jost", "Futura", "Century Gothic", "Arial", sans-serif;
  --font-b: "Jost", "Arial", sans-serif;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-hover: 0 18px 40px rgba(0,0,0,.14);
  --ease: cubic-bezier(.22,1,.36,1);
  --header-h: 76px;
  /* heartbeat (ECG) separator — Dimon AI / SiteLabAI own motif */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 44H380L400 44 418 26 436 60 458 4 480 70 500 36 516 44H960L976 44 990 30 1004 56 1022 14 1040 62 1056 40 1068 44H1440V80H0Z' fill='%23000'/%3E%3C/svg%3E");
  --stripes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 1000' preserveAspectRatio='none'%3E%3Cpath d='M0 30 26 0 12 1000H0Z M1440 0V1000H1412L1424 60Z' fill='%23ffe000'/%3E%3C/svg%3E");
  --wave-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V36H1060L1044 36 1030 50 1016 24 998 66 980 18 964 40 952 36H500L480 36 462 54 444 20 422 76 400 10 380 44 364 36H0Z' fill='%23000'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1.06rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--font-h);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 .7rem;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 .8rem; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin: 0 auto; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip { position: absolute; left: 12px; top: -48px; background: var(--yellow); color: var(--black); padding: 8px 12px; z-index: 50; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- header / nav (room for more items) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
  isolation: isolate;
}
/* full-bleed bar while the content stays in .wrap */
.topbar::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 2px;
  font-family: var(--font-h); font-weight: 700; font-size: 1.35rem;
  text-decoration: none; letter-spacing: -0.02em; color: var(--black); white-space: nowrap;
}
.logo span { background: var(--yellow); color: var(--black); padding: 0 .28em; margin-left: 2px; border-radius: 4px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-left: auto; }
.nav a, .nav .nav-group > button {
  text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--ink);
  padding: 8px 12px; border-radius: 4px; transition: background .2s, color .2s; white-space: nowrap;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav a[aria-current="page"], .nav a.is-active, .nav .nav-group:hover > button { background: var(--yellow); color: var(--black); }
/* optional dropdown group for future services: <div class="nav-group"><button>Услуги</button><div class="nav-sub">…links…</div></div> */
.nav-group { position: relative; }
.nav-group > button::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; display: none;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--yellow);
  box-shadow: var(--shadow-hover); padding: 8px; z-index: 40;
}
.nav-sub a { display: block; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: grid; }
.menu-btn {
  display: none; margin-left: auto;
  background: var(--black); color: var(--white); border: 0; border-radius: var(--radius);
  padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer;
}
.menu-btn::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--yellow); box-shadow: 0 -5px var(--yellow), 0 5px var(--yellow); margin-right: 10px; vertical-align: middle; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: .8rem 1.5rem;
  background: var(--yellow); color: var(--black);
  border: 2px solid var(--yellow); border-radius: var(--radius);
  font-family: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease);
}
.btn:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn:active { transform: translateY(1px); }
.btn.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn.dark:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.btn.lime { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.topbar > .btn { min-height: 44px; padding: .55rem 1.1rem; }

/* ---------- hero: black band, yellow edge stripes, wave bottom ---------- */
.hero { position: relative; isolation: isolate; padding: 56px 0 120px; color: var(--white); }
.hero::before {
  content: ""; position: absolute; z-index: -2; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background:
    radial-gradient(600px 380px at 85% 110%, rgba(255,224,0,.22), transparent 70%),
    var(--stripes) center/100% 100% no-repeat,
    var(--black);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; bottom: -1px; height: 70px; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: var(--white); -webkit-mask: var(--wave) bottom/100% 100% no-repeat; mask: var(--wave) bottom/100% 100% no-repeat;
}
.hero h1 { color: var(--white); animation: rise .8s var(--ease) both; }
.hero .lede { color: var(--muted-dark); animation: rise .8s .08s var(--ease) both; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; color: var(--ink);
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--yellow); flex: none; }
.hero .kicker { color: var(--yellow); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 40rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.price-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.ticket {
  background: var(--ink-2); color: var(--white); border: 1px solid var(--line-dark); border-left: 4px solid var(--yellow);
  border-radius: var(--radius); padding: 12px 16px; min-width: 170px;
}
.ticket b { display: block; font-family: var(--font-h); font-size: 1.9rem; font-weight: 700; color: var(--yellow); line-height: 1.1; }
.ticket small, .ticket s { color: var(--muted-dark); }

/* ---------- forms ---------- */
.lead-form, .panel {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-top: 4px solid var(--yellow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow-hover);
}
.lead-form h2 { font-weight: 600; }
.lead-form label, .stack label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
input, select, textarea {
  width: 100%; border: 1.5px solid var(--black); background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: .85rem .95rem; font: inherit; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #8a8a8a; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(255,224,0,.55); }
.check, .lead-form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .86rem; }
.check a { color: var(--ink); }
input[type=checkbox] { width: 22px; height: 22px; min-width: 22px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--black); border: 1.5px solid var(--black); }
.lead-form .btn { width: 100%; }
.form-note { color: var(--muted); font-size: .84rem; min-height: 1.2em; margin: 0; }
.form-note.is-ok { color: #0a7a33; font-weight: 600; }

/* ---------- hero demo stage ---------- */
.stage { display: grid; gap: 14px; animation: rise .9s .15s var(--ease) both; }
.browser {
  display: block; text-decoration: none; background: var(--ink-2); color: var(--white);
  border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden;
  transition: transform .45s var(--ease), border-color .2s;
}
.browser:hover { transform: translateY(-4px); border-color: var(--yellow); }
.browser header { display: flex; gap: 8px; align-items: center; padding: 8px 12px; background: var(--black); color: var(--muted-dark); font-size: .78rem; border-bottom: 1px solid var(--line-dark); }
.browser header i { width: 10px; height: 10px; border-radius: 2px; background: var(--yellow); display: block; }
.browser .art { display: block; width: 100%; height: 150px; object-fit: cover; object-position: top center; }
.browser strong { display: block; padding: 10px 14px 2px; font-weight: 600; }
.browser em { display: block; padding: 0 14px 12px; color: var(--muted-dark); font-style: normal; font-size: .88rem; }

/* ---------- marquee: tilted yellow ribbon ---------- */
.marquee {
  overflow: hidden; margin: 0 calc(50% - 50vw); background: var(--yellow); color: var(--black);
  transform: rotate(-1.2deg); border-block: 2px solid var(--black); position: relative; z-index: 2;
}
.marquee p { margin: 0; padding: 12px 0; white-space: nowrap; font-weight: 600; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; animation: slide 30s linear infinite; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- sections & bands ---------- */
section.block { padding: 88px 0; position: relative; isolation: isolate; }
.sub { color: var(--muted); max-width: 44rem; font-size: 1.08rem; margin-bottom: 28px; }
section.block > h2 { max-width: 22ch; }
/* full-bleed band helpers (also usable on future pages) */
.band-paper, #addons, #prices { }
#addons::before, #prices::before, .band-paper::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--paper);
}
#how, #faq, .band-dark { color: var(--white); padding-top: 120px; padding-bottom: 120px; }
#how::before, #faq::before, .band-dark::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--black);
  -webkit-mask: var(--wave) top/100% 70px no-repeat, linear-gradient(#000,#000) 0 69px/100% calc(100% - 138px) no-repeat, var(--wave-down) bottom/100% 70px no-repeat;
  mask: var(--wave) top/100% 70px no-repeat, linear-gradient(#000,#000) 0 69px/100% calc(100% - 138px) no-repeat, var(--wave-down) bottom/100% 70px no-repeat;
}
/* flip the top wave so both edges curve outward */
#how::after, #faq::after, .band-dark::after { content: none; }
#how .kicker, #faq .kicker, .band-dark .kicker { color: var(--yellow); }
#how .sub, .band-dark .sub { color: var(--muted-dark); }
#guarantee::before, .band-yellow::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--yellow); }
#guarantee .kicker::before, .band-yellow .kicker::before { background: var(--black); }

/* ---------- portfolio cards ---------- */
.portfolio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--yellow);
  border-radius: 0 0 var(--radius) var(--radius); padding: 12px; text-decoration: none; color: var(--ink);
  display: grid; gap: 4px; align-content: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--black); border-top-color: var(--yellow); }
.card .swatch, .card .shot { height: 170px; border-radius: 4px; margin-bottom: 6px; }
.card .shot { width: 100%; object-fit: cover; object-position: top center; display: block; border: 1px solid var(--line); filter: saturate(.95); transition: filter .3s; }
.card:hover .shot { filter: saturate(1.1); }
.card .swatch { display: grid; place-items: center; background: var(--black) !important; background-image: linear-gradient(135deg, transparent 45%, var(--yellow) 45% 55%, transparent 55%) !important; }
.card strong { font-weight: 600; font-size: 1.08rem; }
.card > span:last-child { color: var(--muted); font-size: .92rem; }
.tag {
  display: inline-block; justify-self: start; align-self: start;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--black); background: var(--yellow); padding: 3px 8px; border-radius: 3px;
}

/* ---------- steps (numbered yellow squares) ---------- */
.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.step b { display: inline-grid; place-items: center; min-width: 36px; height: 30px; padding: 0 6px; margin-bottom: 14px; background: var(--yellow); color: var(--black); font-family: var(--font-h); font-weight: 700; font-size: .95rem; border-radius: 3px; }
.step h3 { font-weight: 600; }
.step p { color: var(--muted); margin: 0; }
#how .rail { border-color: var(--line-dark); }
#how .step { border-color: var(--line-dark); }
#how .step p { color: var(--muted-dark); }
#guarantee .rail { border-color: rgba(0,0,0,.25); }
#guarantee .step { border-color: rgba(0,0,0,.25); }
#guarantee .step p { color: #2b2b2b; }
#guarantee .step h3::before { content: ""; display: block; width: 28px; height: 28px; margin-bottom: 12px; background: var(--black); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- compare table ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--black); color: var(--white); font-weight: 600; }
.compare th:last-child { background: var(--yellow); color: var(--black); }
.compare td:first-child { font-weight: 600; }
.compare tr td:last-child { background: var(--yellow-soft); font-weight: 600; }

/* ---------- plans / pricing ---------- */
.plans { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--black); border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.plan.hit { background: var(--black); color: var(--white); border-color: var(--black); border-top: 6px solid var(--yellow); }
.plan.hit .tag { background: var(--yellow); }
.plan .sum { font-family: var(--font-h); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; margin: 8px 0 12px; }
.plan.hit .sum { color: var(--yellow); }
.plan ul, .feature-list { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 8px; }
.plan li, .feature-list li { position: relative; padding-left: 22px; }
.plan li::before, .feature-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--yellow); outline: 2px solid var(--black); outline-offset: -2px; }
.plan.hit li::before { outline-color: var(--yellow); }
.plan .btn { margin-top: auto; }
.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.addon {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  text-decoration: none; color: inherit; transition: border-color .2s, transform .3s var(--ease);
}
a.addon:hover { border-color: var(--black); transform: translateY(-3px); }
.addon b { display: block; font-size: 1.2rem; font-weight: 700; }
a.addon b::after { content: " →"; color: var(--muted); font-weight: 400; }

/* ---------- service cards (current addons + future SEO / promo / bots / CRM) ---------- */
.svc-grid, .service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.svc, .service-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: var(--white); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: 0 0 var(--radius) var(--radius);
  padding: 22px; min-height: 220px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.svc:hover, .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--black); border-top-color: var(--yellow); }
.svc h3, .service-card h3 { font-size: 1.3rem; font-weight: 600; margin: 4px 0 0; }
.svc .sum, .service-card .sum { font-family: var(--font-h); font-weight: 700; font-size: 1.7rem; margin: 0; }
.svc p, .service-card p { color: var(--muted); margin: 0; }
.svc::after, .service-card::after { content: "→"; position: absolute; right: 18px; bottom: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--black); color: var(--yellow); border-radius: 50%; font-size: 1rem; transition: transform .3s var(--ease); }
.svc:hover::after, .service-card:hover::after { transform: translateX(4px); }
.svc > p:last-child, .service-card > p:last-child { padding-right: 40px; }
.service-card .service-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--yellow); color: var(--black); border-radius: var(--radius); font-weight: 700; font-size: 1.1rem; }
.service-card.is-dark { background: var(--black); color: var(--white); border-color: var(--black); border-top-color: var(--yellow); }
.service-card.is-dark p { color: var(--muted-dark); }
.service-card.is-dark::after { background: var(--yellow); color: var(--black); }

/* service page building blocks */
.service-hero { position: relative; isolation: isolate; color: var(--white); padding: 64px 0 130px; }
.service-hero::before { content: ""; position: absolute; z-index: -2; inset: 0 calc(50% - 50vw); background: radial-gradient(600px 360px at 90% 100%, rgba(255,224,0,.22), transparent 70%), var(--stripes) center/100% 100% no-repeat, var(--black); }
.service-hero::after { content: ""; position: absolute; z-index: -1; bottom: -1px; height: 70px; inset-inline: calc(50% - 50vw); background: var(--white); -webkit-mask: var(--wave) bottom/100% 100% no-repeat; mask: var(--wave) bottom/100% 100% no-repeat; }
.service-hero .kicker { color: var(--yellow); }
.service-hero .lede { color: var(--muted-dark); }
.service-hero h1 em, h2 em.hl { font-style: normal; color: var(--yellow); }
h2 em.hl-mark, .hl-mark { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58% 92%, transparent 92%); }
.service-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.service-hero .btn.ghost { color: var(--white); border-color: var(--white); }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.price-list li span:first-child { flex: 1; display: flex; gap: 12px; align-items: baseline; }
.price-list li span:first-child::after { content: ""; flex: 1; border-bottom: 2px dotted #c7c7c7; transform: translateY(-4px); }
.price-list b { font-family: var(--font-h); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.service-cta { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 20px; align-items: center; background: var(--yellow); color: var(--black); padding: 32px; border-radius: var(--radius); }
.service-cta h2 { margin: 0; }
.service-cta .btn { background: var(--black); color: var(--yellow); border-color: var(--black); }
.badge-example { display: inline-block; background: #ff3b30; color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }

/* ---------- addon page mockups (kept, recoloured) ---------- */
.mock { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 18px; margin: 12px 0 18px; border-left: 4px solid var(--yellow); }
.mock h3, .mock p { color: inherit; }
.bubble { background: #222; border-radius: 12px 12px 12px 3px; padding: 10px 12px; margin: 8px 0; max-width: 28rem; }
.bubble.me { margin-left: auto; border-radius: 12px 12px 3px 12px; background: var(--yellow); color: var(--black); }
.bubble small { display: block; opacity: .7; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.col { background: #1d1d1d; border-radius: var(--radius); padding: 10px; }
.col b { display: block; margin-bottom: 8px; color: var(--yellow); }
.chip { background: var(--white); color: var(--ink); border-radius: 6px; padding: 8px; margin: 6px 0; font-size: .92rem; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots span { border: 1.5px solid var(--yellow); color: var(--yellow); border-radius: 6px; padding: 4px 10px; font-weight: 600; }
.wire { background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.wire header { background: var(--paper); padding: 8px 12px; font-size: .85rem; }
.wire .row { height: 28px; margin: 10px 12px; border-radius: 4px; background: #ececec; }
.wire .row.short { width: 55%; }
.host-ok { display: inline-block; background: var(--yellow); color: var(--black); font-weight: 700; border-radius: 4px; padding: 2px 8px; }

/* ---------- FAQ: dark band, yellow +/− squares ---------- */
.faq h2 { color: var(--white); text-align: center; margin-bottom: 28px; max-width: none !important; }
.faq details { max-width: 820px; margin: 10px auto; background: #161616; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 0; color: var(--white); transition: border-color .2s; }
.faq details[open] { border-color: var(--yellow); }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 1.08rem; padding: 18px 64px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; background: var(--yellow); color: var(--black); font-weight: 700; font-size: 1.2rem; line-height: 1; border-radius: 3px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted-dark); }
.faq details a { color: var(--yellow); }

/* ---------- reviews ---------- */
.example { display: inline-block; border: 1.5px solid var(--black); color: var(--black); background: var(--yellow); border-radius: 3px; padding: 2px 8px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote { position: relative; background: var(--paper); border-radius: var(--radius); padding: 26px 24px 22px; border-left: 4px solid var(--yellow); }
.quote::before { content: "“"; position: absolute; right: 18px; top: -6px; font-family: var(--font-h); font-size: 5rem; line-height: 1; color: var(--yellow); }
.quote p { margin: 10px 0 0; font-size: 1.1rem; }

/* ---------- final CTA ---------- */
.final { position: relative; background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,224,0,.35), transparent 70%); }
.final h2 { color: var(--white); }
.final > div > p { color: var(--muted-dark); }
.final > div > p a { color: var(--yellow); font-weight: 600; }
.final .lead-form p, .final .lead-form .form-note { color: var(--muted); }
.final .lead-form .form-note.is-ok { color: #0a7a33; }

/* ---------- footer: black with wave top ---------- */
.footer { position: relative; isolation: isolate; margin-top: 0; padding: 90px 0 110px; color: var(--muted-dark); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--black); -webkit-mask: var(--wave) top/100% 70px no-repeat, linear-gradient(#000,#000) 0 69px/100% calc(100% - 69px) no-repeat; mask: var(--wave) top/100% 70px no-repeat, linear-gradient(#000,#000) 0 69px/100% calc(100% - 69px) no-repeat; transform: scaleY(1); }
.footer strong { color: var(--white); font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; }
.footer a { color: var(--white); font-weight: 500; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer nav { display: grid; grid-template-columns: repeat(2, minmax(160px, auto)); gap: 8px 32px; }

/* ---------- floating / fixed UI ---------- */
.messengers, .dock { position: fixed; z-index: 40; }
.messengers { right: 20px; bottom: 90px; display: grid; gap: 8px; }
.messengers a, .dock a { text-decoration: none; font-weight: 600; }
.messengers a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--yellow); border: 2px solid var(--yellow); }
.dock { display: none; left: 0; right: 0; bottom: 0; grid-template-columns: 1fr 1fr 1fr; background: var(--black); border-top: 3px solid var(--yellow); }
.dock a { color: var(--white); text-align: center; padding: 14px 6px; }
.dock a:first-child { background: var(--yellow); color: var(--black); }
/* support chat widget recolour (widget injects its own <style>; id-qualified selectors win) */
html body #slai-fab { background: var(--yellow); color: var(--black); border: 2px solid var(--black); }
html body #slai-fab[aria-expanded=true] { background: var(--black); color: var(--yellow); border-color: var(--yellow); }
html body #slai-panel { border-radius: var(--radius-lg); font-family: var(--font-b); border-top: 4px solid var(--yellow); }
html body #slai-head { background: var(--black); }
html body .slai-u, html body #slai-form button.send { background: var(--yellow); }

dialog { border: 0; padding: 0; background: transparent; max-width: min(480px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(0,0,0,.65); }
dialog .panel { background: var(--white); color: var(--ink); }
dialog .panel > .btn.ghost { width: 100%; }
.cookie { position: fixed; left: 16px; bottom: 76px; z-index: 35; background: var(--white); border: 1px solid var(--black); border-radius: var(--radius-lg); padding: 14px 16px; max-width: 420px; box-shadow: var(--shadow-hover); display: flex; gap: 14px; align-items: center; }
.cookie p { margin: 0; font-size: .9rem; }
.cookie .btn { min-height: 40px; padding: .4rem 1rem; border-radius: 999px; flex: none; }
.cookie a { color: inherit; text-decoration: underline; text-decoration-color: var(--yellow); }
.cookie[hidden] { display: none; }

/* ---------- inner pages ---------- */
.page { padding: 40px 0 80px; max-width: 880px; }
.page .sum { font-family: var(--font-h); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); display: inline-block; background: var(--yellow); padding: 0 .3em; border-radius: 4px; }
.page .btn { margin: 6px 8px 6px 0; }
.page h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.page h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.page ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.page ul li { position: relative; padding-left: 22px; }
.page ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--yellow); outline: 2px solid var(--black); outline-offset: -2px; }
.note { background: var(--yellow); color: var(--black); border-radius: var(--radius); padding: 12px 14px; font-weight: 600; }
.warn { border-left: 4px solid var(--black); background: var(--yellow-soft); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.doc table { border-collapse: collapse; width: 100%; }
.doc td, .doc th { border: 1px solid var(--line); padding: 8px 10px; }

[data-price] { white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: .95rem; }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
  .addons { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1040px) {
  /* burger earlier so 10–14 nav items never wrap into two rows */
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: calc(50% - 50vw); right: calc(50% - 50vw);
    background: var(--white); border-bottom: 3px solid var(--yellow); box-shadow: var(--shadow-hover);
    padding: 10px var(--pad) 18px; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav a { padding: 12px 8px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-sub { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .topbar.is-open .nav { display: flex; }
  .topbar > .btn { order: 2; }
  .menu-btn { order: 3; margin-left: 0; }
  .topbar .nav { order: 4; }
  .logo { margin-right: auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hero { padding: 36px 0 100px; }
  .hero-grid, .rail, .plans, .quotes, .final, .board, .service-cta { grid-template-columns: 1fr; }
  .portfolio, .addons { grid-template-columns: 1fr 1fr; }
  .dock { display: grid; }
  .compare { display: block; overflow-x: auto; }
  section.block { padding: 64px 0; }
  #how, #faq, .band-dark { padding-top: 96px; padding-bottom: 96px; }
  .stage { grid-template-columns: 1fr 1fr; }
  .stage .browser:nth-child(3) { display: none; }
  .browser .art { height: 110px; }
  .footer nav { grid-template-columns: 1fr 1fr; }
  .cookie { right: 84px; left: 10px; bottom: 60px; max-width: none; flex-wrap: wrap; gap: 8px; padding: 12px; }
  .cookie p { font-size: .84rem; }
  html body #slai-fab { bottom: 64px; }
  .messengers { bottom: 130px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .topbar > .btn { display: none; }
  h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .portfolio { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .swatch, .card .shot { height: 110px; }
  .card { padding: 8px; }
  .addons { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; }
  .stage .browser:nth-child(n+2) { display: none; }
  .ticket { min-width: 0; flex: 1; }
  .ticket b { font-size: 1.5rem; }
  .footer nav { grid-template-columns: 1fr; }
  .svc, .service-card { min-height: 0; }
  .final { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee p { animation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.price-list li { padding-left: 4px; }
.price-list li::before { content: none; }
.plans.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .plans.two { grid-template-columns: 1fr; } }
