/* ==========================================================================
   rozbilsom.sk — design system
   Tmavá navy, oranžový akcent, jemné okraje, jedna typografická rodina,
   monospace pre čísla (ceny, kódy zákaziek). Jediný „hlasný“ prvok: hero search.
   ========================================================================== */

:root {
  --bg: #080b14;
  --bg-elev: #0b0f1b;
  --surface: #0f1524;
  --surface-2: #151c2f;
  --surface-3: #1b2439;
  --border: #1e2740;
  --border-strong: #2b3654;
  --text: #e8ecf5;
  --text-strong: #ffffff;
  --muted: #8d97ad;
  --muted-2: #626c84;
  --accent: #f28c38;
  --accent-strong: #ffa356;
  --accent-deep: #d8731f;
  --accent-soft: rgba(242, 140, 56, 0.14);
  --accent-glow: rgba(242, 140, 56, 0.35);
  --success: #2dd4bf;
  --success-soft: rgba(45, 212, 191, 0.14);
  --warning: #f5b544;
  --warning-soft: rgba(245, 181, 68, 0.14);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.14);
  --info: #6ea8fe;
  --info-soft: rgba(110, 168, 254, 0.14);

  --font: "Inter", "SF Pro Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius: 13px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.85);

  --container: 1120px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; color: var(--text-strong); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-xs); }
::selection { background: var(--accent); color: #0b0f1b; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.mono, .price, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(100% - 32px, var(--container)); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; line-height: 1;
  border: 1px solid transparent; transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--accent-strong), var(--accent)); color: #14100b; box-shadow: 0 6px 18px -8px var(--accent-glow); }
.btn-primary:hover { background: linear-gradient(180deg, #ffb06a, var(--accent-strong)); color: #14100b; box-shadow: 0 10px 26px -10px var(--accent-glow); }
.btn-secondary { background: var(--surface-2); border-color: var(--border-strong); color: var(--text-strong); }
.btn-secondary:hover { background: var(--surface-3); border-color: #3a4766; }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text-strong); background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(248,113,113,.3); }
.btn-danger:hover { background: rgba(248,113,113,.22); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field .error { font-size: 0.8rem; color: var(--danger); }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 14px; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  color: var(--text-strong); transition: border-color 0.15s, box-shadow 0.15s; min-height: 44px;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: #3a4766; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder { color: var(--muted-2); }
.input.is-invalid { border-color: var(--danger); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238d97ad' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }

/* radio cards (spôsob odovzdania) */
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.choice { position: relative; display: block; padding: 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg-elev); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice strong { display: block; color: var(--text-strong); font-weight: 600; }
.choice span { font-size: 0.82rem; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- cards / badges ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card-pad { padding: 22px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; }
.badge-accent { background: var(--accent-soft); color: var(--accent-strong); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--surface-2); color: var(--muted); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- toasts ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 1000; display: grid; gap: 8px; max-width: 360px; }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border-strong); border-left: 3px solid var(--info); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: 0.9rem; animation: toast-in 0.25s var(--ease); }
.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }
.toast button { margin-left: auto; color: var(--muted); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .toasts { left: 16px; right: 16px; bottom: 84px; max-width: none; } }

/* ==========================================================================
   FRONT LAYOUT
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(8, 11, 20, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text-strong); display: inline-flex; align-items: baseline; }
.logo em { color: var(--accent); font-style: normal; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav a:hover, .nav a.is-active { color: var(--text-strong); background: var(--surface-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-search { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--muted); font-size: 0.9rem; min-width: 240px; transition: border-color 0.15s, color 0.15s; }
.header-search:hover { border-color: var(--accent); color: var(--text); }
.header-search svg { width: 16px; height: 16px; }
.kbd { display: inline-flex; gap: 3px; margin-left: auto; }
.kbd span { font-family: var(--mono); font-size: 0.7rem; padding: 2px 6px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--bg-elev); color: var(--muted); }
.header-phone { color: var(--text); font-weight: 600; font-size: 0.92rem; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--text); align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav, .header-search .kbd { display: none; }
  .header-search { min-width: 0; }
  .header-search span.txt { display: none; }
  .header-search { padding: 8px 10px; }
  .menu-btn { display: inline-flex; }
  .header-phone { display: none; }
}
.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg); padding: 20px; }
.mobile-nav.is-open { display: grid; align-content: start; gap: 6px; }
.mobile-nav a { padding: 14px 16px; border-radius: var(--radius); font-size: 1.1rem; font-weight: 500; border: 1px solid var(--border); }

main { min-height: 60vh; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 56ch; }
@media (max-width: 640px) { .section { padding: 52px 0; } .section-head { flex-direction: column; align-items: start; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(60% 60% at 50% 0%, rgba(242, 140, 56, 0.16), transparent 70%); pointer-events: none; }
.hero .container { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.03em; max-width: 14ch; line-height: 1.02; }
.hero .lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; }

.hero-search { width: min(100%, 760px); margin-top: 10px; }
.hero-search-box {
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 0 var(--accent-glow), var(--shadow-lg); transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero-search-box:hover { border-color: #3a4766; }
.hero-search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 60px -10px var(--accent-glow), var(--shadow-lg); transform: translateY(-1px); }
.hero-search-box > svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.hero-search-box input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-strong); padding: 10px 0; }
.hero-search-box input::placeholder { color: var(--muted-2); }
.hero-search-box .kbd { margin-left: 0; }
.hero-search-box .btn { padding: 12px 22px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.chip { padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: transparent; color: var(--muted); font-size: 0.88rem; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.chip:hover { border-color: var(--accent); color: var(--text-strong); background: var(--accent-soft); }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.hero-facts strong { color: var(--text-strong); font-weight: 600; }
.hero-facts .num { color: var(--accent-strong); }
@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .hero-search-box { padding: 6px 6px 6px 16px; }
  .hero-search-box .kbd, .hero-search-box .btn .txt { display: none; }
  .hero-search-box .btn { padding: 12px 14px; }
}

/* ---------- service cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.15s, transform 0.2s var(--ease), background 0.15s; color: inherit; }
.svc-card:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); color: inherit; }
.svc-card .meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted); }
.svc-card h3 { font-size: 1.05rem; }
.svc-card .tagline { color: var(--muted); font-size: 0.9rem; flex: 1; }
.svc-card .foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.svc-card .price { color: var(--accent-strong); font-weight: 600; font-size: 1.05rem; }
.svc-card .time { color: var(--muted); font-size: 0.82rem; }

.cat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cat-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 0.92rem; }
.cat-link:hover { border-color: var(--border-strong); background: var(--surface-2); }
.cat-link svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.cat-link .cnt { margin-left: auto; color: var(--muted); font-size: 0.8rem; }

/* ---------- why / process ---------- */
.feature { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.feature svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.92rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.step::before { content: counter(step); display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-family: var(--mono); font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.firms { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.firms .lead { color: var(--muted); margin: 12px 0 22px; }
.firms ul { display: grid; gap: 10px; }
.firms li { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: 0.92rem; }
.firms li svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 2px; }
.firms li span { color: var(--muted); }
@media (max-width: 900px) { .firms { grid-template-columns: 1fr; } }

.review { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.review p { font-size: 1rem; color: var(--text); }
.review footer { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.review footer strong { color: var(--text-strong); display: block; }

.faq-list { display: grid; gap: 8px; max-width: 760px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 600; color: var(--text-strong); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-family: var(--mono); font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 18px 16px; color: var(--muted); font-size: 0.95rem; }

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.contact-list { display: grid; gap: 14px; }
.contact-list div { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-list .label { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.contact-list a, .contact-list p { color: var(--text-strong); font-weight: 500; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 0.85rem; text-transform: none; color: var(--text-strong); margin-bottom: 12px; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--text-strong); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.82rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 48; }
.sticky-cta .btn { width: 100%; box-shadow: var(--shadow-lg), 0 8px 24px -8px var(--accent-glow); }
@media (max-width: 900px) { .sticky-cta { display: block; } body { padding-bottom: 76px; } }

/* ==========================================================================
   SEARCH OVERLAY (Raycast-like)
   ========================================================================== */
.overlay { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(4, 6, 12, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8vh 16px 16px; overflow-y: auto; }
.overlay.is-open { display: block; animation: fade-in 0.18s var(--ease); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.overlay-panel { width: min(100%, 720px); margin: 0 auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: panel-in 0.22s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }
.overlay-input { display: flex; align-items: center; gap: 12px; padding: 6px 12px 6px 18px; border-bottom: 1px solid var(--border); }
.overlay-input svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.overlay-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 1.1rem; padding: 14px 0; color: var(--text-strong); }
.overlay-input .esc { font-family: var(--mono); font-size: 0.7rem; padding: 4px 8px; border: 1px solid var(--border-strong); border-radius: 6px; color: var(--muted); }
.overlay-body { padding: 14px; min-height: 200px; max-height: min(70vh, 640px); overflow-y: auto; }
.overlay-section + .overlay-section { margin-top: 18px; }
.overlay-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); margin: 0 6px 8px; }
.overlay-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px; }
.overlay-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.overlay-cats a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 0.88rem; color: var(--text); }
.overlay-cats a:hover { border-color: var(--border-strong); background: var(--surface-2); }
.overlay-cats svg { width: 16px; height: 16px; color: var(--accent); }
.overlay-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); }
.overlay-foot .kbd { margin: 0; }

.result-guess { padding: 18px; border-radius: var(--radius); border: 1px solid rgba(242, 140, 56, 0.35); background: linear-gradient(180deg, rgba(242,140,56,0.10), rgba(242,140,56,0.03)); display: grid; gap: 12px; color: inherit; }
.result-guess:hover { border-color: var(--accent); color: inherit; }
.result-guess .head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.result-guess h3 { font-size: 1.15rem; }
.result-guess .tagline { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.result-guess .price { color: var(--accent-strong); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.result-guess .time { display: block; text-align: right; font-size: 0.8rem; color: var(--muted); }
.result-guess ul { display: grid; gap: 5px; }
.result-guess li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; color: var(--text); }
.result-guess li svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 3px; }
.result-guess .more { margin-top: 2px; color: var(--muted); font-size: 0.85rem; }
.result-guess .cta { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 4px; }
.result-list { display: grid; gap: 6px; }
.result-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid transparent; color: inherit; }
.result-row:hover, .result-row.is-active { background: var(--surface-2); border-color: var(--border); color: inherit; }
.result-row .txt { flex: 1; min-width: 0; }
.result-row .txt strong { display: block; font-weight: 600; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-row .txt span { display: block; font-size: 0.82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-row .price { color: var(--accent-strong); font-weight: 600; white-space: nowrap; }
.result-empty { text-align: center; padding: 28px 12px; display: grid; gap: 14px; justify-items: center; }
.result-empty h3 { font-size: 1.1rem; }
.result-empty p { color: var(--muted); font-size: 0.92rem; max-width: 42ch; }
.skeleton { height: 64px; border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (max-width: 640px) { .overlay { padding: 0; } .overlay-panel { border-radius: 0; border: 0; min-height: 100vh; } .overlay-body { max-height: none; } }

/* ==========================================================================
   SERVICE DETAIL
   ========================================================================== */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; color: var(--muted); padding: 20px 0 0; }
.breadcrumbs a:hover { color: var(--text-strong); }
.breadcrumbs span::before { content: "/"; margin: 0 4px; color: var(--muted-2); }
.svc-hero { padding: 28px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.svc-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.svc-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; }
.svc-hero .tagline { margin-top: 12px; font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.svc-hero .trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
.svc-hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.svc-hero .trust svg { width: 16px; height: 16px; color: var(--success); }

.price-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; gap: 16px; }
.price-card .big { display: flex; align-items: baseline; gap: 8px; }
.price-card .big .lbl { color: var(--muted); font-size: 0.9rem; }
.price-card .big .price { font-size: 2.4rem; font-weight: 600; color: var(--text-strong); letter-spacing: -0.03em; }
.price-card .time { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.price-card .time svg { width: 16px; height: 16px; color: var(--accent); }
.price-card table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.price-card td { padding: 8px 0; border-top: 1px solid var(--border); }
.price-card td:last-child { text-align: right; font-family: var(--mono); color: var(--text-strong); }
.price-card td.total { font-weight: 600; color: var(--text-strong); }
.price-card .note { font-size: 0.8rem; color: var(--muted); }
.price-card .alt { text-align: center; font-size: 0.85rem; color: var(--muted); }
.price-card .alt a { color: var(--text-strong); font-weight: 600; }

.svc-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 72px; }
.svc-body > div:last-child { display: none; }
.svc-section + .svc-section { margin-top: 40px; }
.svc-section h2 { font-size: 1.35rem; margin-bottom: 16px; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 2px; }
.check-list.is-neg svg { color: var(--muted-2); }
.expect { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.expect > div { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.expect .lbl { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.expect .val { font-family: var(--mono); font-size: 1.15rem; color: var(--text-strong); }
.expect .is-after { border-color: rgba(45, 212, 191, 0.3); }
.expect .is-after .val { color: var(--success); }
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgba(245, 181, 68, 0.3); background: var(--warning-soft); font-size: 0.92rem; }
.callout svg { width: 20px; height: 20px; color: var(--warning); flex: none; }
.prose { color: var(--text); font-size: 1rem; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose h2, .prose h3 { margin: 28px 0 10px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .svc-hero, .svc-body { grid-template-columns: 1fr; gap: 24px; }
  .price-card { position: static; }
  .expect { grid-template-columns: 1fr; }
}

/* ---------- pricelist ---------- */
.pricelist-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-top: 1px solid var(--border); }
.price-table td { padding: 14px 8px; vertical-align: top; }
.price-table td:first-child { padding-left: 0; }
.price-table td:last-child { text-align: right; white-space: nowrap; padding-right: 0; }
.price-table a.name { font-weight: 600; color: var(--text-strong); }
.price-table .tagline { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.price-table .price { color: var(--accent-strong); font-weight: 600; }
.price-table .time { font-size: 0.8rem; color: var(--muted); display: block; }
.cat-block + .cat-block { margin-top: 48px; }
.cat-block h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cat-block h2 svg { width: 22px; height: 22px; color: var(--accent); }
.cat-block > p { color: var(--muted); margin-bottom: 14px; }

/* ---------- order form ---------- */
.order-wrap { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 40px; padding: 32px 0 72px; align-items: start; }
.order-steps { display: grid; gap: 14px; }
.order-step { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: 14px; }
.order-step header { display: flex; align-items: center; gap: 12px; }
.order-step header .n { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-strong); font-family: var(--mono); font-size: 0.8rem; font-weight: 600; flex: none; }
.order-step header h2 { font-size: 1.05rem; }
.order-summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); }
.order-summary .lbl { font-size: 0.8rem; color: var(--muted); }
.order-summary .val { font-weight: 600; color: var(--text-strong); }
.order-summary .price { color: var(--accent-strong); font-size: 1.4rem; font-weight: 600; }
.summary-list { display: grid; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.summary-list li { display: flex; gap: 8px; }
.summary-list svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 2px; }
.status-timeline { display: grid; gap: 0; }
.status-timeline li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.status-timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--border-strong); margin: 5px 4px; }
.status-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--border); }
.status-timeline li.is-current::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.status-timeline li.is-done::before { background: var(--success); }
.status-timeline .t { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) { .order-wrap { grid-template-columns: 1fr; } .order-summary { position: static; order: -1; } }

/* ---------- error / simple pages ---------- */
.page-head { padding: 40px 0 24px; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.empty { text-align: center; padding: 80px 20px; display: grid; gap: 14px; justify-items: center; }
.empty h1 { font-size: 2rem; }
.empty .code { font-family: var(--mono); color: var(--accent); font-size: 4rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 380px; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius); font-size: 0.85rem; color: var(--muted); display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
@media (max-width: 900px) { .cookie { bottom: 84px; left: 12px; right: 12px; max-width: none; } }
