/* SprávaPPC.cz – sdílené styly celého webu */
:root {
  --green: #00d37f;
  --green-dark: #007446;
  --green-soft: #ccf6e5;
  --green-tint: #f2fcf7;
  --navy: #1a1a33;
  --navy-2: #26264a;
  --gray: #606070;
  --line: #e4e6e5;
  --yellow: #f6f361;
  --amber: #e8a300;
  --red: #c4320a;
  --red-soft: #fde7df;
  --white: #fff;
  --radius: 25px;
  --shadow: 0 20px 50px -20px rgba(26, 26, 51, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: clamp(64px, 9vw, 110px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--green); }
.lead { font-size: 1.15rem; color: var(--gray); max-width: 640px; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .38em;
  background: var(--yellow); border-radius: 6px; z-index: -1;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 50px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--navy); box-shadow: 0 10px 25px -10px rgba(0, 211, 127, .7); }
.btn-primary:hover { background: #00e68a; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); }
.btn svg.i { width: 18px; height: 18px; stroke-width: 2.2; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.nav .logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; text-decoration: none; font-weight: 500; color: var(--navy); transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--green-dark); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--green); }
.nav-links .tag { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--green); color: var(--navy); padding: 1px 7px; border-radius: 50px; margin-left: 6px; vertical-align: 2px; }
.nav .btn { padding: 11px 22px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg.i { width: 28px; height: 28px; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-soft); color: var(--green-dark);
  padding: 7px 16px 7px 8px; border-radius: 50px; font-weight: 600; font-size: .9rem; margin-bottom: 22px;
}
.badge span { background: var(--green); color: var(--navy); padding: 3px 10px; border-radius: 50px; font-size: .8rem; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; color: var(--gray); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg.i { width: 18px; height: 18px; color: var(--green); stroke-width: 3; }

.hero-visual { position: relative; }
.circle { position: absolute; border-radius: 50%; z-index: -1; }
.circle-green { width: 420px; height: 420px; background: var(--green); right: -120px; top: -40px; opacity: .9; }
.circle-yellow { width: 170px; height: 170px; background: var(--yellow); left: -30px; bottom: -40px; }
.hero .circle-green { animation: float 7s ease-in-out infinite; }
.hero .circle-yellow { animation: float 5s ease-in-out infinite reverse; }

/* Demo cards in hero (report, audit, chat) */
.demo {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; border: 1px solid var(--line); max-width: 480px; margin-left: auto;
  transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform;
}
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.demo-top > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.demo-top svg.i { width: 20px; height: 20px; color: var(--green-dark); }
.demo-top img { height: 22px; width: auto; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--green-dark); background: var(--green-soft); padding: 3px 10px; border-radius: 50px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.4s ease-in-out infinite; }
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .82rem; color: var(--gray); }
.tabs button {
  position: relative; overflow: hidden; font: inherit; font-weight: 600; font-size: .82rem; color: var(--navy);
  background: #f4f5f6; border: 0; border-radius: 50px; padding: 6px 14px; cursor: pointer; transition: background .2s;
}
.tabs button:hover, .tabs button[aria-selected="true"] { background: var(--green-soft); }
.tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--green);
  transform-origin: left; animation: progress var(--dur, 7s) linear both;
}
.tabs.static button::after { animation: none; display: none; }
.dark-strip {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy); color: var(--white); border-radius: 18px; padding: 14px 18px; min-height: 62px;
}
.dark-strip span { font-size: .85rem; color: #b9b9c8; line-height: 1.3; }
.dark-strip b { font-size: 1.4rem; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dark-strip b small { font-size: .8rem; color: #b9b9c8; font-weight: 500; }

/* Home: search text ad demo */
.serp-bar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 50px; padding: 10px 10px 10px 18px; min-height: 52px; font-size: .95rem; box-shadow: 0 2px 8px rgba(26, 26, 51, .06); transition: border-color .2s, box-shadow .2s; }
.serp-bar.typing { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 211, 127, .12); }
.serp-bar svg.i { width: 18px; height: 18px; color: var(--gray); }
.serp-bar #serp-q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-bar #serp-q.placeholder { color: #9a9aa6; }
.serp-bar #serp-q:not(.placeholder)::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--navy); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.serp-bar.done #serp-q::after { display: none; }
.serp-bar i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; transition: background .2s, transform .2s; }
.serp-bar i svg.i { color: var(--white); width: 16px; height: 16px; }
.serp-bar.sent i { background: var(--green); transform: scale(1.12); }
.serp-meta { font-size: .78rem; color: #9a9aa6; margin: 10px 4px 8px; min-height: 1.2em; }
.serp-body { height: 318px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.serp-body > * { animation: pop .4s ease-out both; }
.sad { position: relative; border: 2px solid var(--green); background: var(--green-tint); border-radius: 18px; padding: 14px 16px; animation: adIn .55s cubic-bezier(.2, .9, .3, 1.3) both; }
.sad-spons { font-size: .78rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: block; }
.sad-site { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sad-site .fav { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--navy); display: grid; place-items: center; font-size: .75rem; font-weight: 700; flex: none; }
.sad-site b { display: block; font-size: .85rem; line-height: 1.2; }
.sad-site span { display: block; font-size: .75rem; color: var(--gray); line-height: 1.2; }
.sad-title { display: block; color: #1a0dab; font-size: 1.08rem; font-weight: 500; line-height: 1.3; margin-bottom: 4px; text-decoration: none; text-underline-offset: 3px; }
.sad.click .sad-title { text-decoration: underline; }
.sad p { margin: 0; font-size: .85rem; color: #4d5156; line-height: 1.45; }
.sad ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.sad li { font-size: .78rem; color: #1a0dab; border: 1px solid #d7dbe0; background: var(--white); border-radius: 50px; padding: 3px 10px; }
.sad .clicks { position: absolute; right: 12px; top: 10px; font-size: .75rem; font-weight: 700; background: var(--navy); color: var(--green); border-radius: 50px; padding: 3px 10px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.sad.click .clicks { opacity: 1; transform: none; }
.org { padding: 4px 6px; }
.org i { display: block; height: 10px; border-radius: 6px; background: #eceeed; margin-bottom: 7px; }
.org i:first-child { width: 38%; height: 8px; }
.org i:nth-child(2) { width: 72%; height: 13px; background: #dde0ea; }
.org i:nth-child(3) { width: 94%; }
.org i:nth-child(4) { width: 66%; }
.serp-skel { display: grid; gap: 10px; }
.serp-skel i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eceeed 25%, #f6f7f7 50%, #eceeed 75%); background-size: 200% 100%; animation: shimmer 1s linear infinite; }
.serp-skel i:nth-child(2) { width: 80%; }
.serp-skel i:nth-child(3) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Audit: report demo */
.report-sum { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.gauge { position: relative; width: 64px; height: 64px; }
.gauge svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 7; }
.gauge .track { stroke: #eceeed; }
.gauge .val { stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transition: stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1), stroke .3s; }
.gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.report-sum small { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.report-sum strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.report-sum span { font-size: .85rem; color: var(--gray); }
.report-body { height: 302px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.report-body > * { animation: pop .35s ease-out both; }
.scan { background: #f4f5f6; border-radius: 16px; padding: 14px 16px; font-size: .9rem; color: var(--gray); }
.scan-bar { height: 6px; border-radius: 6px; background: #e4e6e5; margin-top: 10px; overflow: hidden; }
.scan-bar i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; animation: progress 1.5s ease-in-out both; }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); }
.finding strong { font-size: .93rem; line-height: 1.3; font-weight: 600; }
.finding p { grid-column: 2; margin: 0; font-size: .82rem; color: var(--gray); line-height: 1.35; }
.sev { grid-row: 1 / span 2; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 50px; margin-top: 1px; white-space: nowrap; }
.sev-crit { background: var(--red-soft); color: var(--red); }
.sev-mid { background: #fdf9c4; color: #6b6400; }
.sev-tip { background: var(--green-soft); color: var(--green-dark); }

/* ChatGPT: chat demo */
.msg { padding: 12px 16px; border-radius: 18px; font-size: .95rem; margin-bottom: 12px; max-width: 88%; }
.msg-user { background: var(--navy); color: var(--white); margin-left: auto; border-bottom-right-radius: 6px; }
.msg-ai { background: #f4f5f6; color: var(--navy); border-bottom-left-radius: 6px; }
.ad-card {
  border: 2px solid var(--green); border-radius: 18px; padding: 14px 16px; margin-top: 6px;
  display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; background: var(--green-tint);
}
.ad-card .thumb { width: 46px; height: 46px; border-radius: 12px; background: var(--green); display: grid; place-items: center; font-weight: 700; color: var(--navy); }
.ad-card small { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.ad-card strong { display: block; font-size: .98rem; line-height: 1.3; }
.ad-card p { margin: 2px 0 0; font-size: .85rem; color: var(--gray); line-height: 1.4; }
.chat-body { height: 300px; display: flex; flex-direction: column; overflow: hidden; }
.chat-body > * { animation: pop .35s ease-out both; }
.chat-body .ad-card { animation: adIn .55s cubic-bezier(.2, .9, .3, 1.3) both; }
.chat-input { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 50px; padding: 10px 10px 10px 18px; color: var(--navy); font-size: .9rem; min-height: 54px; transition: border-color .2s; }
.chat-input.typing { border-color: var(--green); }
.chat-input .placeholder { color: #9a9aa6; }
.chat-input #chat-typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-input #chat-typed:not(.placeholder)::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--navy); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.chat-input i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; transition: background .2s, transform .2s; }
.chat-input.sent i { background: var(--green); transform: scale(1.12); }
.chat-input svg.i { width: 16px; height: 16px; color: var(--white); stroke-width: 2.5; }
.typing-dots { display: inline-flex; gap: 5px; padding: 16px 18px; width: auto; }
.typing-dots span { width: 7px; height: 7px; border-radius: 50%; background: #9a9aa6; animation: bounce 1s infinite; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
@keyframes adIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Platforms strip */
.platforms { padding-block: 34px; border-block: 1px solid var(--line); }
.platforms .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.platforms p { margin: 0; color: var(--gray); font-size: .95rem; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; justify-content: center; }
.platforms li { padding: 8px 18px; border-radius: 50px; background: #f4f5f6; font-weight: 600; font-size: .95rem; }
.platforms li.new { background: var(--green); }

/* Section heads, cards */
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .stat { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.icon {
  width: 54px; height: 54px; border-radius: 16px; background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg.i { width: 26px; height: 26px; }
.card p { color: var(--gray); margin: 0; font-size: .98rem; }

/* Offer + checklist */
.offer { background: var(--green-tint); overflow: hidden; }
.offer-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; background: var(--white); border-radius: 18px; padding: 18px 20px; }
.checklist .tick { width: 34px; height: 34px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.checklist .tick svg.i { width: 18px; height: 18px; color: var(--navy); stroke-width: 3; }
.checklist strong { display: block; font-weight: 600; }
.checklist span { color: var(--gray); font-size: .95rem; }
.offer .btn { margin-top: 12px; }
.offer .circle-yellow { left: auto; right: -60px; bottom: auto; top: 60px; width: 140px; height: 140px; z-index: 0; opacity: .7; }
.offer .container { position: relative; z-index: 1; }

/* Promo: ChatGPT + Audit */
.promo { padding-top: 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo-card { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.promo-card > :not(.circle) { position: relative; z-index: 1; }
.promo-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.promo-card p { margin-bottom: 22px; }
.promo-card .btn { align-self: flex-start; margin-top: auto; }
.promo-card .circle { z-index: 0; }
.promo-ai { background: var(--green-tint); border: 1px solid var(--green-soft); }
.promo-ai p { color: var(--gray); }
.promo-ai .circle-green { width: 220px; height: 220px; right: -80px; top: -80px; opacity: .25; }
.promo-ai .badge { align-self: flex-start; background: var(--white); }
.chat-mini { display: grid; gap: 8px; margin-bottom: 26px; }
.chat-mini .msg { padding: 10px 14px; border-radius: 16px; font-size: .9rem; margin: 0; }
.chat-mini .ad { border: 2px solid var(--green); border-radius: 16px; padding: 10px 14px; background: var(--white); font-size: .88rem; line-height: 1.35; max-width: 92%; }
.chat-mini .ad small { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.promo-audit { background: var(--navy); color: var(--white); }
.promo-audit .eyebrow { color: var(--green); }
.promo-audit p { color: #b9b9c8; }
.promo-audit p strong { color: var(--white); }
.promo-audit .circle-yellow { width: 200px; height: 200px; right: -70px; bottom: -70px; left: auto; opacity: .9; }
.audit-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.audit-stats div { background: var(--navy-2); border-radius: 18px; padding: 14px 16px; }
.audit-stats b { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: var(--green); }
.audit-stats span { color: #b9b9c8; font-size: .85rem; line-height: 1.3; display: block; }

/* Dark section */
.dark { background: var(--navy); color: var(--white); overflow: hidden; }
.dark .eyebrow { color: var(--green); }
.dark .lead { color: #b9b9c8; }
.dark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dark-card { background: var(--navy-2); border-radius: var(--radius); padding: 28px 24px; border: 1px solid rgba(255, 255, 255, .06); transition: border-color .25s, transform .25s; }
.dark-card:hover { border-color: var(--green); transform: translateY(-4px); }
.dark-card h3 { margin-bottom: 8px; }
.dark-card p { color: #b9b9c8; margin: 0; font-size: .96rem; }
.dark-card .icon { background: rgba(0, 211, 127, .14); color: var(--green); }
.dark .circle-green { width: 300px; height: 300px; right: -150px; top: -150px; left: auto; opacity: .18; z-index: 0; }
.dark .container { position: relative; z-index: 1; }

/* References – results bento + client wall */
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 20px; }
.result { position: relative; border-radius: var(--radius); padding: 26px; background: #f6f7f7; display: flex; flex-direction: column; overflow: hidden; }
.result .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); background: var(--white); padding: 3px 12px; border-radius: 50px; margin-bottom: 18px; }
.result .num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.result h3 { margin: 8px 0 4px; font-size: 1.1rem; }
.result p { color: var(--gray); font-size: .92rem; margin: 0; }
.result .vs { margin-top: auto; padding-top: 20px; display: grid; gap: 6px; font-size: .78rem; color: var(--gray); }
.result .vs div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; }
.result .vs i { display: block; height: 10px; border-radius: 0 5px 5px 0; width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.result .vs .before { background: #c3c5cf; }
.result .vs .after { background: var(--green); }
.results.in .vs i { width: var(--w); }
.result.big { grid-column: span 2; grid-row: span 2; background: var(--navy); color: var(--white); padding: clamp(28px, 4vw, 40px); }
.result.big .tag { background: rgba(0, 211, 127, .16); color: var(--green); }
.result.big .num { font-size: clamp(3.6rem, 8vw, 6rem); color: var(--green); }
.result.big h3 { font-size: 1.4rem; }
.result.big p { color: #b9b9c8; max-width: 420px; }
.result.big .circle-green { width: 260px; height: 260px; right: -90px; top: -90px; opacity: .14; z-index: 0; }
.result.big > :not(.circle) { position: relative; z-index: 1; }
.cols { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; gap: 22px; height: 240px; }
.cols div { flex: 1; max-width: 120px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; font-size: .85rem; color: #b9b9c8; }
.cols i { display: block; width: 100%; height: 0; border-radius: 12px 12px 4px 4px; transition: height 1.2s cubic-bezier(.2, .8, .2, 1); }
.cols .before i { background: #4a4a6e; }
.cols .after i { background: var(--green); }
.cols b { color: var(--white); font-variant-numeric: tabular-nums; }
.results.in .cols i { height: var(--h); }
.result.cta { background: var(--green); justify-content: space-between; }
.result.cta h3 { font-size: 1.35rem; margin-top: 0; }
.result.cta p { color: var(--navy); opacity: .8; }
.result.cta .btn { align-self: flex-start; margin-top: 18px; padding: 13px 22px; white-space: nowrap; }
.clients { margin-top: 64px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: clamp(28px, 4vw, 48px); align-items: center; background: var(--green-tint); border-radius: 32px; padding: clamp(28px, 4vw, 48px); }
.clients-intro h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; margin-bottom: 12px; }
.clients-intro p { color: var(--gray); margin-bottom: 24px; }
.client-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.client-wall li { background: var(--white); height: 132px; padding: 18px 14px 14px; display: grid; grid-template-rows: 48px auto; place-items: center; align-content: center; gap: 12px; transition: background .25s; }
.client-wall img { width: auto; height: auto; max-width: 82%; max-height: 44px; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s; }
.client-wall span { font-size: .75rem; color: var(--gray); line-height: 1.2; text-align: center; transition: color .25s; }
.client-wall li:hover { background: var(--green-tint); }
.client-wall li:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client-wall li:hover span { color: var(--green-dark); }

/* Calculators */
.calc { background: var(--green-tint); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.calc-inputs { background: var(--white); border-radius: var(--radius); padding: 30px; display: grid; gap: 26px; align-content: start; }
.range-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; color: var(--navy); font-weight: 500; margin-bottom: 10px; }
.range-row output { font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; padding: 0; border: 0; border-radius: 8px; cursor: pointer;
  background: linear-gradient(to right, var(--green) var(--p, 50%), #e4e6e5 var(--p, 50%));
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); box-shadow: 0 4px 10px rgba(26, 26, 51, .2); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 6px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-size: .95rem; font-weight: 500; margin-bottom: 12px; }
legend small { display: block; color: var(--gray); font-weight: 400; font-size: .85rem; }
.errs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.err { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; line-height: 1.35; margin: 0; transition: border-color .2s, background .2s; }
.err:hover { border-color: var(--green); }
.err input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.err i { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #c9ccd0; display: grid; place-items: center; transition: background .2s, border-color .2s; margin-top: -1px; }
.err i svg.i { width: 14px; height: 14px; stroke-width: 3.5; color: var(--navy); opacity: 0; transition: opacity .15s; }
.err:has(input:checked) { background: var(--green-tint); border-color: var(--green); }
.err input:checked + i { background: var(--green); border-color: var(--green); }
.err input:checked + i svg.i { opacity: 1; }
.err input:focus-visible + i { outline: 2px solid var(--navy); outline-offset: 2px; }
.calc-out { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--navy-2); border-radius: 18px; padding: 16px 18px; }
.tile span { display: block; color: #b9b9c8; font-size: .85rem; }
.tile b { display: block; font-size: 1.7rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tile.hi { background: var(--green); color: var(--navy); }
.tile.hi span, .tile.ok span { color: var(--navy); opacity: .75; }
.tile.loss { background: var(--yellow); color: var(--navy); grid-column: 1 / -1; }
.tile.loss span { color: var(--navy); opacity: .75; }
.tile.loss b { font-size: 2.2rem; }
.tile.ok { background: var(--green); color: var(--navy); }
.compare h4 { margin: 0 0 12px; font-size: .95rem; font-weight: 600; }
.compare-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; margin-bottom: 8px; font-size: .88rem; color: #b9b9c8; }
.compare-bar { height: 16px; border-radius: 0 4px 4px 0; transition: width .5s cubic-bezier(.2, .8, .2, 1); min-width: 2px; position: relative; }
.compare-bar.inv { background: #8d8fa0; }
.compare-bar.rev, .compare-bar.eff { background: var(--green); }
.compare-bar.loss { background: var(--yellow); }
.compare-bar em { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-style: normal; color: var(--white); font-weight: 600; white-space: nowrap; }
.compare-wrap { padding-right: 110px; }
.calc-note { font-size: .8rem; color: #9a9aae; margin: 0; }
.calc-out .btn { align-self: flex-start; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .25s, box-shadow .25s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -14px; left: 28px; background: var(--green); color: var(--navy); font-size: .8rem; font-weight: 600; padding: 4px 14px; border-radius: 50px; }
.price h3 { margin-bottom: 4px; font-size: 1.4rem; }
.price-for { color: var(--gray); font-size: .95rem; min-height: 3em; }
.hours { display: inline-flex; align-items: baseline; gap: 6px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; font-size: .9rem; padding: 4px 14px; border-radius: 50px; margin-bottom: 14px; align-self: flex-start; }
.hours b { font-size: 1.05rem; color: var(--navy); }
.amount { font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.amount > span { font-size: 1.1rem; font-weight: 500; color: var(--gray); }
.amount small { display: block; font-size: .85rem; font-weight: 500; color: var(--gray); letter-spacing: 0; margin-top: 4px; }
.price ul { list-style: none; padding: 22px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .95rem; flex: 1; align-content: start; }
.price li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.price li svg.i { width: 18px; height: 18px; color: var(--green-dark); margin-top: 3px; stroke-width: 3; }
.price .btn { width: 100%; }
.price-note { display: flex; align-items: center; gap: 18px; margin-top: 28px; background: var(--green-tint); border-radius: 20px; padding: 20px 24px; }
.price-note i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.price-note i svg.i { width: 22px; height: 22px; }
.price-note p { margin: 0; color: var(--gray); }
.price-note strong { color: var(--navy); }
.price-note a { color: var(--green-dark); font-weight: 600; }

/* Process */
.process { background: var(--green-tint); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: #f6f7f7; }
.process .step { background: var(--white); }
.step .num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; margin-bottom: 18px;
}
.step:first-child .num { background: var(--green); color: var(--navy); }
.step p { color: var(--gray); margin: 0; font-size: .96rem; }
.step p a { color: var(--green-dark); font-weight: 600; }
.step em { display: inline-block; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--green-dark); background: var(--green-soft); padding: 2px 10px; border-radius: 50px; margin-bottom: 10px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
details { background: #f6f7f7; border-radius: 20px; padding: 0 26px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.faq-tint { background: var(--green-tint); }
.faq-tint details { background: var(--white); }
details[open] { border-color: var(--green); background: var(--white); }
summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft);
  color: var(--green-dark); display: grid; place-items: center; font-size: 1.4rem; font-weight: 500; transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); background: var(--green); color: var(--navy); }
details p { color: var(--gray); padding-bottom: 22px; margin: 0; }
details p a { color: var(--green-dark); font-weight: 600; }

/* Contact */
.contact { padding-top: 0; }
.contact-box {
  background: var(--navy); color: var(--white); border-radius: 32px; padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; position: relative; overflow: hidden;
}
.contact-box .circle-green { width: 260px; height: 260px; left: -110px; bottom: -110px; top: auto; right: auto; z-index: 0; }
.contact-box > :not(.circle) { position: relative; z-index: 1; }
.contact-box .eyebrow { color: var(--green); }
.contact-box .lead { color: #b9b9c8; }
.contact-links { display: grid; gap: 14px; margin-top: 30px; }
.contact-links a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.contact-links a:hover { color: var(--green); }
.contact-links i { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-2); display: grid; place-items: center; color: var(--green); }
.contact-links svg.i { width: 20px; height: 20px; }
.contact-promise { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 8px; color: #b9b9c8; font-size: .95rem; }
.contact-promise li { display: flex; gap: 10px; align-items: center; }
.contact-promise svg.i { width: 18px; height: 18px; color: var(--green); stroke-width: 3; }
.lead-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: block; font-size: .85rem; color: #b9b9c8; margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: var(--white);
  border: 2px solid transparent; border-radius: 14px; padding: 13px 16px; outline: none; transition: border-color .2s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--green); }
.lead-form .invalid { border-color: var(--yellow); }
.lead-form textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: #9a9aae; margin: 0; }
.form-note a { color: var(--green); }
.form-success { display: none; text-align: center; align-self: center; }
.form-success.show { display: block; }
.form-success .tick { width: 70px; height: 70px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success svg.i { width: 34px; height: 34px; color: var(--navy); stroke-width: 3; }
.form-success p { color: #b9b9c8; }

/* Footer */
footer { padding-block: 40px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; color: var(--gray); font-size: .92rem; }
.foot img { height: 26px; width: auto; margin-bottom: 12px; }
.foot h4 { margin: 0 0 10px; font-size: .95rem; color: var(--navy); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: var(--navy); }
.foot a:hover { color: var(--green-dark); }
.foot-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--gray); font-size: .88rem; }
.foot-bottom .credit { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--green); }

/* Floating contact */
.fab-wrap { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; }
.fab {
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green); color: var(--navy); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0, 211, 127, .8); transition: transform .2s, background .2s; position: relative;
}
.fab:hover { transform: scale(1.06); background: #00e68a; }
.fab svg.i { width: 26px; height: 26px; transition: transform .25s, opacity .2s; position: absolute; }
.fab .ic-close { opacity: 0; transform: rotate(-90deg); }
.fab-wrap.open .fab { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.fab-wrap.open .ic-phone { opacity: 0; transform: rotate(90deg); }
.fab-wrap.open .ic-close { opacity: 1; transform: none; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: pulse 2.4s ease-out infinite; }
.fab-wrap.open .fab::before { display: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab-panel {
  position: absolute; right: 0; bottom: 78px; width: min(330px, calc(100vw - 48px));
  background: var(--white); border-radius: var(--radius); box-shadow: 0 25px 60px -15px rgba(26, 26, 51, .35);
  border: 1px solid var(--line); overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(.97); transform-origin: bottom right;
  visibility: hidden; transition: opacity .22s, transform .22s, visibility .22s;
}
.fab-wrap.open .fab-panel { opacity: 1; transform: none; visibility: visible; }
.fab-head { background: var(--navy); color: var(--white); padding: 20px 22px; }
.fab-head strong { display: block; font-size: 1.1rem; }
.fab-head span { color: #b9b9c8; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.fab-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.fab-body { padding: 14px; display: grid; gap: 8px; }
.fab-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; text-decoration: none; transition: background .2s; }
.fab-item:hover { background: var(--green-tint); }
.fab-item i { width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.fab-item svg.i { width: 19px; height: 19px; }
.fab-item small { display: block; color: var(--gray); font-size: .8rem; line-height: 1.2; }
.fab-item b { font-weight: 600; }
.fab-body .btn { margin-top: 6px; width: 100%; padding: 13px 20px; }

/* ---------- Knowledge base ---------- */
.kb-hero { padding-block: clamp(40px, 6vw, 72px) clamp(40px, 5vw, 64px); background: var(--green-tint); overflow: hidden; }
.kb-hero .hero-grid { align-items: start; }
.kb-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.search { position: relative; max-width: 560px; }
.search svg.i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--gray); width: 22px; height: 22px; }
.search input { width: 100%; font: inherit; font-size: 1.05rem; color: var(--navy); background: var(--white); border: 2px solid var(--line); border-radius: 50px; padding: 16px 20px 16px 54px; outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 211, 127, .15); }
.hits { list-style: none; margin: 10px 0 0; padding: 0; max-width: 560px; display: grid; gap: 6px; }
.hits a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 10px 14px; border-radius: 16px; background: var(--white); text-decoration: none; border: 1px solid var(--line); }
.hits a:hover { border-color: var(--green); }
.hits strong { font-weight: 600; line-height: 1.3; }
.hits span:last-child { grid-column: 2; font-size: .82rem; color: var(--gray); }
.hits .mk { grid-row: 1 / span 2; }
.hits .empty { padding: 12px 14px; color: var(--gray); }
.popular { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--gray); font-size: .9rem; }
.popular a { text-decoration: none; background: var(--white); border: 1px solid var(--line); padding: 5px 14px; border-radius: 50px; color: var(--navy); font-weight: 500; transition: border-color .2s; }
.popular a:hover { border-color: var(--green); }
.mk { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .78rem; letter-spacing: -.01em; flex: none; }
.mk.lg { width: 56px; height: 56px; border-radius: 16px; font-size: 1rem; }
.ids { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.ids h2 { font-size: 1.25rem; margin-bottom: 4px; }
.ids > p { color: var(--gray); font-size: .92rem; }
.id-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.id-row small { grid-column: 1 / -1; color: var(--gray); font-size: .8rem; }
.id-row code { font-family: inherit; font-weight: 600; font-size: 1rem; word-break: break-all; }
.copy { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--green-dark); background: var(--green-soft); border: 0; border-radius: 50px; padding: 5px 12px; cursor: pointer; transition: background .2s; white-space: nowrap; }
.copy:hover { background: #b5f0d8; }
.copy svg.i { width: 14px; height: 14px; }
.copy.done { background: var(--green); color: var(--navy); }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s; }
.cat:hover { border-color: var(--green); box-shadow: var(--shadow); }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cat-head h3 { margin: 0; font-size: 1.15rem; }
.cat-head h3 a { text-decoration: none; }
.cat > p { color: var(--gray); font-size: .92rem; }
.alist { list-style: none; padding: 0; margin: 0 0 6px; display: grid; }
.alist a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .95rem; }
.alist a:hover { color: var(--green-dark); }
.alist svg.i { width: 16px; height: 16px; color: var(--green-dark); }
.k { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 1px 8px; border-radius: 50px; margin-right: 6px; vertical-align: 1px; }
.k-add { background: var(--green-soft); color: var(--green-dark); }
.k-del { background: var(--red-soft); color: var(--red); }
.k-info { background: #eef0f2; color: var(--gray); }
.gen { margin-top: 64px; }
.gen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gen-grid a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 18px; background: #f6f7f7; text-decoration: none; font-weight: 600; transition: background .2s; }
.gen-grid a:hover { background: var(--green-soft); }
.gen-grid svg.i { width: 18px; height: 18px; color: var(--green-dark); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font-size: .88rem; color: var(--gray); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b5b7c0; }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--green-dark); }
.kb-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.kb-side { position: sticky; top: 100px; display: grid; gap: 4px; }
.kb-side h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin: 0 0 8px; }
.kb-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: .93rem; }
.kb-side a:hover { background: #f4f5f6; }
.kb-side a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); }
.kb-side .mk { width: 30px; height: 30px; border-radius: 9px; font-size: .62rem; }
.art { max-width: 760px; }
.art-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.art h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; }
.art .lead { margin: 14px 0 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.meta > span { display: inline-flex; align-items: center; gap: 8px; background: #f4f5f6; border-radius: 50px; padding: 6px 14px; font-size: .88rem; }
.meta svg.i { width: 16px; height: 16px; color: var(--green-dark); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.roles div { border-radius: 18px; padding: 16px 18px; border: 1px solid var(--line); }
.roles small { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.roles b { display: block; font-size: 1.1rem; margin: 2px 0; }
.roles p { margin: 0; font-size: .88rem; color: var(--gray); }
.roles .main { border: 2px solid var(--green); background: var(--green-tint); }
.need { display: flex; gap: 12px; background: #fdf9c4; border-radius: 16px; padding: 14px 18px; margin-bottom: 30px; font-size: .95rem; }
.need svg.i { color: #6b6400; width: 20px; height: 20px; margin-top: 2px; }
.art-steps { list-style: none; counter-reset: s; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.art-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; }
.art-steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.art-steps li:first-child::before { background: var(--green); color: var(--navy); }
.art-steps li > div { padding-top: 7px; }
.art-steps a, .art-body a, .tip a { color: var(--green-dark); font-weight: 600; }
.ui { display: inline-block; font-weight: 600; background: #f4f5f6; border: 1px solid var(--line); border-radius: 8px; padding: 0 7px; font-size: .94em; line-height: 1.5; white-space: nowrap; }
.ui.pick { background: var(--green-soft); border-color: #a9ebd0; color: var(--green-dark); }
.val { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; vertical-align: middle; }
.val code { font-family: inherit; font-weight: 700; background: var(--yellow); border-radius: 6px; padding: 0 6px; }
.tip { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--green-tint); margin-bottom: 12px; font-size: .95rem; }
.tip svg.i { width: 20px; height: 20px; color: var(--green-dark); margin-top: 2px; }
.tip b { display: block; }
.en { margin: 26px 0 0; padding: 14px 18px; border-radius: 16px; border: 1px dashed #c9ccd0; font-size: .9rem; color: var(--gray); }
.en strong { display: block; color: var(--navy); margin-bottom: 4px; }
.art-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--gray); }
.art-foot a { color: var(--green-dark); font-weight: 600; }
.art-body p { color: #3a3a52; }
.art-body ul { padding-left: 1.2em; color: #3a3a52; }
.art-body li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 10px 0 24px; border: 1px solid var(--line); border-radius: 18px; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f6f7f7; font-weight: 600; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
.related { margin-top: 40px; }
.related h2 { font-size: 1.2rem; }
.help-box { margin-top: 64px; background: var(--navy); color: var(--white); border-radius: 32px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.help-box h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.help-box p { color: #b9b9c8; margin: 0; max-width: 520px; }
.help-box .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.help-box .btn-outline { border-color: var(--white); color: var(--white); }
.help-box .btn-outline:hover { background: var(--white); color: var(--navy); }
.help-box .circle-green { width: 220px; height: 220px; right: -80px; top: auto; bottom: -110px; opacity: .2; z-index: 0; }
.help-box > :not(.circle) { position: relative; z-index: 1; }
.notfound { text-align: center; padding-block: 120px; }

/* ---------- Glossary ---------- */
[hidden] { display: none !important; }
.kb-side .side-sep { margin-top: 18px; }
.gl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gl-filter button { font: inherit; font-size: .88rem; font-weight: 600; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 50px; padding: 6px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.gl-filter button:hover { border-color: var(--green); }
.gl-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.az a, .az span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: .9rem; text-decoration: none; }
.az a { background: #f4f5f6; transition: background .2s; }
.az a:hover { background: var(--green-soft); color: var(--green-dark); }
.az span { color: #c3c5cf; }
.gl-count { color: var(--gray); font-size: .9rem; margin: 6px 0 10px; }
.gl-group { margin-top: 26px; }
.gl-letter { font-size: 1.6rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--green); scroll-margin-top: 100px; }
.gl-list { display: grid; gap: 12px; }
.term { border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; scroll-margin-top: 100px; transition: border-color .3s, box-shadow .3s; }
.term:target { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 211, 127, .15); }
.term header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.term h3 { margin: 0; font-size: 1.2rem; }
.term h3 a { text-decoration: none; }
.term h3 a:hover { color: var(--green-dark); }
.term .full { color: var(--gray); font-size: .92rem; }
.term .k { margin-left: auto; }
.term > p { color: #3a3a52; margin: 0 0 10px; font-size: .97rem; }
.formula { display: grid; gap: 2px; background: var(--green-tint); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 10px 14px; margin-bottom: 10px; }
.formula small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.formula code { font-family: inherit; font-weight: 600; font-size: .98rem; }
.term .example { font-size: .92rem; color: var(--gray); word-break: break-word; }
.term .example b { color: var(--navy); }
.term footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--gray); }
.term footer a { text-decoration: none; background: #f4f5f6; border-radius: 50px; padding: 2px 10px; color: var(--navy); font-weight: 500; transition: background .2s; }
.term footer a:hover { background: var(--green-soft); }
.term footer .gl-kb { display: inline-flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; margin-left: auto; }
.term footer .gl-kb svg.i { width: 14px; height: 14px; }
.gl-empty { padding: 24px; border-radius: 20px; background: #f6f7f7; color: var(--gray); }
.gl-empty a { color: var(--green-dark); font-weight: 600; }
.gl-teaser { margin-top: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--green-tint); border-radius: 32px; padding: clamp(28px, 4vw, 48px); }
.gl-teaser h2 { margin-bottom: 10px; }
.gl-teaser .lead { margin-bottom: 22px; }
.gl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gl-chips a { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; font-weight: 700; transition: border-color .2s, transform .2s; }
.gl-chips a:hover { border-color: var(--green); transform: translateY(-2px); }
@media (max-width: 900px) { .gl-teaser { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .term { padding: 16px; } .term .k { margin-left: 0; } .term footer .gl-kb { margin-left: 0; } }

/* Measurement codes page */
.tag-site { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--gray); margin-bottom: 10px; }
.tag-site svg.i { width: 16px; height: 16px; }
.tag-site em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.tag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; height: 302px; align-content: start; overflow: hidden; } /* 5 řádků po 55 px + mezery */
.tag-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; animation: pop .35s ease-out both; }
.tag-row strong { display: block; font-size: .88rem; line-height: 1.25; }
.tag-row span { display: block; font-size: .75rem; color: var(--gray); }
.tag-state { flex: none; font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 50px; }
.tag-state.testing { background: #fdf9c4; color: #6b6400; }
.tag-state.ok { background: var(--green-soft); color: var(--green-dark); }
.tag-state.ok::before { content: "✓ "; }
.prices.two-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.alacarte { margin-top: 40px; background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.alacarte h3 { margin-bottom: 14px; }
.alacarte table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.alacarte th, .alacarte td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.alacarte th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); font-weight: 600; }
.alacarte td:first-child { font-weight: 600; white-space: nowrap; }
.alacarte td:nth-child(2) { color: var(--gray); }
.alacarte .num { text-align: right; white-space: nowrap; font-weight: 600; }
.calc .price-note { background: var(--white); }
@media (max-width: 900px) { .prices.two-plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  /* Služby jednotlivě: na telefonu karty místo tabulky */
  .alacarte .table-wrap { border: 0; overflow: visible; margin: 0; }
  .alacarte thead { display: none; }
  .alacarte table, .alacarte tbody, .alacarte tr, .alacarte td { display: block; width: 100%; }
  .alacarte tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .alacarte td { border: 0; padding: 2px 0; white-space: normal !important; }
  .alacarte .num { text-align: left; color: var(--green-dark); }
}

/* Privacy policy */
.privacy h2 { font-size: 1.45rem; margin: 40px 0 12px; scroll-margin-top: 100px; }
.privacy h2:first-child { margin-top: 0; }
.privacy h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.privacy th[scope="row"] { width: 160px; background: #f6f7f7; font-size: .85rem; }
.privacy td { color: #3a3a52; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero .circle, .live::before, .fab::before { animation: none; }
  .serp-skel i { animation: none; }
  .compare-bar, .result .vs i, .cols i { transition: none; }
}

/* Responsive */
@media (max-width: 1120px) {
  .cards, .dark-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav .btn { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 10px 20px 20px;
  }
  .site-header.open .nav-links a { display: block; padding: 12px 0; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--green-dark); }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .offer-grid, .contact-box, .calc-grid, .promo-grid, .kb-layout { grid-template-columns: minmax(0, 1fr); }
  .prices { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .contact-box .circle-green { width: 180px; height: 180px; left: auto; bottom: auto; right: -90px; top: -90px; }
  .demo { margin: 10px auto 0; }
  .circle-green { width: 300px; height: 300px; right: -100px; }
  .clients { grid-template-columns: minmax(0, 1fr); }
  .gen-grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .kb-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-side h2 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .dark-grid, .steps, .field-row, .errs, .cats, .gen-grid, .roles { grid-template-columns: 1fr; }
  .results { grid-template-columns: minmax(0, 1fr); }
  .result.big { grid-column: auto; grid-row: auto; }
  .cols { height: 200px; }
  .client-wall { grid-template-columns: 1fr 1fr; }
  .client-wall li { height: 116px; }
  .calc-inputs, .calc-out, .demo { padding: 22px 18px; }
  .serp-body { height: 360px; }
  .chat-body { height: 340px; }
  .tile b { font-size: 1.35rem; }
  .compare-row { grid-template-columns: 1fr; gap: 4px; }
  .hero-actions .btn { width: 100%; }
  .nav .logo img { height: 28px; }
  .price-note { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr; }
  .kb-side { grid-template-columns: 1fr; }
  .art-steps li { grid-template-columns: 32px 1fr; gap: 12px; padding: 14px; }
  .art-steps li::before { width: 32px; height: 32px; }
  .art-steps li > div { padding-top: 3px; }
  .ui { white-space: normal; }
  .fab-wrap { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* 404 */
.nf-hero { position: relative; overflow: hidden; padding: 110px 0 80px; }
.nf-hero .circle-green { top: -160px; right: -160px; width: 460px; height: 460px; }
.nf-yellow { width: 120px; height: 120px; background: var(--yellow); left: 46%; bottom: 40px; }
.nf-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .nf-grid { grid-template-columns: 1.05fr .95fr; } }
.nf-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 18px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nf-serp { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 60px -30px rgba(26, 26, 51, .35); }
.nf-serp .nf-q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-ad { margin-bottom: 14px; }
.nf-links { padding: 20px 0 100px; }
.nf-links h2 { margin-bottom: 24px; }
.nf-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .nf-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .nf-cards { grid-template-columns: repeat(3, 1fr); } }
.nf-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--navy); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.nf-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(26, 26, 51, .35); }
.nf-card i { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; }
.nf-card i svg.i { width: 20px; height: 20px; color: var(--green-dark); }
.nf-card b { display: block; margin-bottom: 2px; }
.nf-card span { font-size: .92rem; color: var(--gray); line-height: 1.45; }
@media (max-width: 640px) { .nf-hero { padding: 70px 0 50px; } .nf-serp { padding: 16px; } .nf-hero .circle-green { width: 180px; height: 180px; top: -100px; right: -80px; } .nf-yellow { width: 70px; height: 70px; left: auto; right: 24px; bottom: 16px; } }
