/* Koor — clean marketplace look */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f3;
  --bg-softer: #fbfbf9;
  --card: #ffffff;
  --ink: #0d0d0c;
  --ink-2: #3c3c38;
  --muted: #76766f;
  --line: #e7e7e2;
  --line-strong: #d6d6cf;
  --accent: #2f5bff;
  --accent-soft: #e9eeff;
  --good: #14a05b;
  --good-soft: #e5f6ec;
  --warn: #c77700;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13,13,12,.04), 0 8px 28px rgba(13,13,12,.06);
  --shadow-lg: 0 2px 4px rgba(13,13,12,.04), 0 24px 60px rgba(13,13,12,.12);
  --maxw: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0b;
    --bg-soft: #161614;
    --bg-softer: #121210;
    --card: #181816;
    --ink: #f4f4f0;
    --ink-2: #cfcfc8;
    --muted: #93938b;
    --line: #2a2a27;
    --line-strong: #3a3a36;
    --accent: #6f8cff;
    --accent-soft: #1c2346;
    --good: #3ccf86;
    --good-soft: #10291c;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 650; }
p { margin: 0; }

/* bilingual */
html[data-lang="en"] body [data-l="fr"], html[data-lang="fr"] body [data-l="en"] { display: none !important; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 22px; letter-spacing: -0.04em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); position: relative; }
.logo-mark::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); right: -3px; bottom: -3px; box-shadow: 0 0 0 3px var(--bg); }
.nav-links { display: flex; gap: 22px; font-size: 15px; color: var(--ink-2); }
.nav-links a { padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 600; }
.lang-switch button { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang-switch button.on { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; border: 1px solid var(--line); background: transparent; width: 40px; height: 40px; border-radius: 999px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 17px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-right .btn { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s, opacity .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: .88; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { opacity: .9; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.proof { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 26px; }
.avatars { display: flex; }
.avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; background-size: cover; }
.avatars span:first-child { margin-left: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 700; letter-spacing: -0.045em; }
.hero h1 .soft { color: var(--muted); display: block; }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin-top: 22px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.backed { margin-top: 36px; font-size: 13px; color: var(--muted); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.backed b { color: var(--ink-2); font-weight: 600; letter-spacing: .02em; }

/* ---------- chat ---------- */
.chat { background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; height: 600px; overflow: hidden; position: relative; }
@media (max-width: 640px) { .chat { height: 560px; border-radius: 22px; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head .bot-av { width: 36px; height: 36px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; color: var(--bg); font-weight: 750; font-size: 15px; position: relative; }
.chat-head .bot-av::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--good); right: -2px; bottom: -2px; box-shadow: 0 0 0 2px var(--card); }
.chat-head .t { font-weight: 650; font-size: 15px; }
.chat-head .s { font-size: 13px; color: var(--muted); }
.chat-head .reset { margin-left: auto; border: 0; background: var(--bg-soft); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: pop .25s ease both; }
.msg.bot { background: var(--bg-soft); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.wide { max-width: 100%; width: 100%; background: transparent; padding: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-strong); background: var(--card); padding: 7px 12px; border-radius: 999px; font-size: 13.5px; cursor: pointer; color: var(--ink-2); transition: background .15s, border-color .15s; text-align: left; }
.chip:hover { background: var(--bg-soft); border-color: var(--ink-2); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.chat-input input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-softer); padding: 0 18px; font-size: 16px; outline: none; }
.chat-input input:focus { border-color: var(--ink); background: var(--card); }
.chat-input button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; display: grid; place-items: center; flex: none; }
.scan { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.scan .bar { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.scan .bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; animation: fill 1.6s ease forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------- candidate cards ---------- */
.match-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.svc-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 600; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; }
.cands { display: grid; gap: 10px; }
.cand { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); animation: pop .35s ease both; }
.cand:nth-child(2) { animation-delay: .12s; } .cand:nth-child(3) { animation-delay: .24s; }
.portrait { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; position: relative; background: var(--bg-soft); }
.portrait svg { width: 100%; height: 100%; filter: blur(5px); transform: scale(1.25); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.06)); }
.cand .name { font-weight: 650; font-size: 15px; display: flex; align-items: baseline; gap: 5px; }
.blurname { filter: blur(5px); user-select: none; -webkit-user-select: none; color: var(--ink-2); }
.cand .role { font-size: 13.5px; color: var(--ink-2); margin-top: 1px; }
.cand .meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; }
.cand .skills { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.cand .skills span { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.score { text-align: center; align-self: start; }
.score b { display: block; font-size: 18px; letter-spacing: -0.02em; color: var(--good); }
.score small { font-size: 11px; color: var(--muted); }
.lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.book-card { margin-top: 10px; padding: 16px; border-radius: 18px; background: var(--ink); color: var(--bg); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.book-card p { font-size: 14px; opacity: .8; }
.book-card strong { display: block; font-size: 16px; margin-bottom: 2px; opacity: 1; }
.book-card .btn { background: var(--bg); color: var(--ink); }
@media (max-width: 480px) { .cand { grid-template-columns: 48px 1fr; } .portrait { width: 48px; height: 48px; } .score { grid-column: 2; text-align: left; display: flex; gap: 6px; align-items: baseline; } .score b { display: inline; font-size: 15px; } }

/* ---------- sections ---------- */
section { padding: 72px 0; }
@media (max-width: 640px) { section { padding: 52px 0; } }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.04em; max-width: 820px; }
.lead { font-size: 18px; color: var(--ink-2); margin-top: 14px; max-width: 640px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; }
.stat .ico { position: absolute; top: 20px; left: 22px; width: 38px; height: 38px; border-radius: 12px; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); }
.stat b { font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.045em; font-weight: 700; line-height: 1; }
.stat span { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* marquee */
.marquee { display: grid; gap: 12px; margin-top: 40px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mrow { display: flex; gap: 12px; width: max-content; animation: slide 46s linear infinite; }
.mrow.rev { animation-direction: reverse; animation-duration: 52s; }
.mrow:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mrow { animation: none; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); white-space: nowrap; font-size: 15px; cursor: pointer; transition: border-color .15s, transform .15s; }
.pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.pill em { font-style: normal; font-size: 12px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.step .n { font-size: 13px; font-weight: 700; color: var(--muted); }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-2); font-size: 15px; }
.mock { background: var(--card); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); font-size: 13px; margin-top: auto; min-height: 150px; display: flex; flex-direction: column; gap: 8px; }
.mock .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mock .tag { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.mock .check { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.mock .check i { width: 16px; height: 16px; border-radius: 5px; background: var(--good); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; }
.mock .big { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.mock .pillok { background: var(--good-soft); color: var(--good); font-weight: 650; padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.mini-av { display: flex; } .mini-av span { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 2px solid var(--card); margin-left: -8px; } .mini-av span:first-child { margin-left: 0; } .mini-av svg { width: 100%; height: 100%; filter: blur(3px); transform: scale(1.3); }

/* testimonials */
.quote-lead { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; max-width: 900px; }
.quote-lead + .who { margin-top: 14px; color: var(--muted); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
@media (max-width: 860px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; background: var(--card); }
.tcard .top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.tcard .stars { color: #f5a400; letter-spacing: 2px; }
.tcard p { font-size: 16px; color: var(--ink); }
.tcard .who { font-size: 13px; color: var(--muted); margin-top: auto; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; gap: 16px; align-items: baseline; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { color: var(--muted); font-size: 13px; font-weight: 700; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px 34px; color: var(--ink-2); }

/* closing */
.closing { background: var(--ink); color: var(--bg); border-radius: 32px; padding: 72px 40px; text-align: center; position: relative; overflow: hidden; }
.closing h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.04em; max-width: 820px; margin: 0 auto; }
.closing p { opacity: .7; margin-top: 14px; font-size: 18px; }
.closing .btn { margin-top: 28px; background: var(--bg); color: var(--ink); }
.closing::before, .closing::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; filter: blur(80px); opacity: .35; }
.closing::before { background: var(--accent); left: -120px; top: -160px; }
.closing::after { background: #ff7a45; right: -140px; bottom: -200px; opacity: .22; }
.closing > * { position: relative; }
.guar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 860px) { .guar { grid-template-columns: repeat(2, 1fr); } }
.guar div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.guar b { font-size: 30px; letter-spacing: -0.04em; display: block; }
.guar span { color: var(--ink-2); font-size: 14.5px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 36px; margin-top: 40px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; font-weight: 650; }
.foot a { display: block; color: var(--ink-2); padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot .tagline { color: var(--muted); margin-top: 12px; max-width: 280px; }
.copy { margin-top: 36px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- explore (industries) ---------- */
.page-head { padding-top: 48px; padding-bottom: 8px; }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -0.045em; }
.tabs { position: sticky; top: 68px; z-index: 30; background: var(--bg); padding: 14px 0; border-bottom: 1px solid var(--line); }
.tabs-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.tab:hover { border-color: var(--ink-2); }
.tab.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.xsec { padding: 44px 0 8px; scroll-margin-top: 140px; }
.xsec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.xsec-head h2 { font-size: 28px; font-weight: 650; }
.xsec-head .count { color: var(--muted); font-size: 15px; }
.xsec-head a { margin-left: auto; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.xsec-head a:hover { color: var(--ink); }
.xsec .lead { margin: -8px 0 18px; font-size: 15.5px; color: var(--muted); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rcard { display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.rcard .cover { aspect-ratio: 4/3; border-radius: 18px; position: relative; overflow: hidden; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s; }
.rcard:hover .cover { transform: translateY(-3px); }
.rcard .cover .mini-av span { width: 34px; height: 34px; border-color: rgba(255,255,255,.7); }
.rcard .cover .k { align-self: flex-start; font-size: 12px; font-weight: 650; background: rgba(255,255,255,.85); color: #0d0d0c; padding: 4px 10px; border-radius: 999px; }
.rcard .cover .ttf { align-self: flex-end; font-size: 12px; font-weight: 650; background: rgba(13,13,12,.75); color: #fff; padding: 4px 10px; border-radius: 999px; }
.rcard .lab { font-size: 13px; color: var(--muted); }
.rcard h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.rcard .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.g-mkt { background: linear-gradient(135deg, #ffb48a, #ff6f61 60%, #c94b8a); }
.g-sales { background: linear-gradient(135deg, #9be7c4, #2bb38a 55%, #127a6a); }
.g-it { background: linear-gradient(135deg, #a9b8ff, #4f6bff 55%, #2a2f8f); }

/* ---------- IT page ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.box h3 { font-size: 20px; }
.box p { color: var(--ink-2); font-size: 15px; }
.box .n { font-size: 13px; font-weight: 700; color: var(--muted); }
.box.line { background: var(--card); border: 1px solid var(--line); }
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--card); transition: border-color .2s, transform .2s; }
.offer:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.offer .k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.offer .pk { font-size: 12px; font-weight: 600; color: var(--muted); }
.offer h3 { font-size: 22px; }
.offer p { color: var(--ink-2); font-size: 15px; flex: 1; }
.offer .btn { align-self: flex-start; }
.case { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.case .k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case h3 { font-size: 19px; }
.case dl { margin: 0; display: grid; gap: 12px; }
.case dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.case dd { margin: 2px 0 0; font-size: 15px; color: var(--ink-2); }
.case dd.res { color: var(--ink); font-weight: 600; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors span { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; }
.blockquote { background: var(--bg-soft); border-radius: 28px; padding: 40px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 550; }
.blockquote small { display: block; margin-top: 16px; font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(13,13,12,.45); backdrop-filter: blur(4px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--card); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 28px; animation: pop .25s ease; }
@media (max-width: 560px) { .modal { align-items: flex-end; padding: 0; } .modal-card { border-radius: 24px 24px 0 0; max-height: 92vh; padding: 22px 18px; } }
.modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-soft); cursor: pointer; font-size: 18px; color: var(--ink-2); }
.modal h3 { font-size: 26px; padding-right: 40px; }
.modal .sub { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.modal .svc-tag { margin-top: 14px; }
.days { display: flex; gap: 8px; overflow-x: auto; margin-top: 22px; padding-bottom: 4px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 72px; padding: 10px 0; border-radius: 14px; border: 1px solid var(--line); text-align: center; cursor: pointer; background: var(--card); }
.day small { display: block; font-size: 12px; color: var(--muted); text-transform: capitalize; }
.day b { font-size: 20px; letter-spacing: -0.02em; }
.day.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.day.on small { color: var(--bg); opacity: .7; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.slot { height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; font-weight: 600; font-size: 15px; }
.slot:hover:not([disabled]) { border-color: var(--ink); }
.slot.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.slot[disabled] { text-decoration: line-through; color: var(--muted); background: var(--bg-soft); border-color: transparent; cursor: not-allowed; }
.tz { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.form { display: grid; gap: 12px; margin-top: 22px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form .two { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--bg-softer); border-radius: 12px; padding: 12px 14px; font-size: 16px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--card); }
.field textarea { resize: vertical; min-height: 76px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; margin-top: 18px; font-size: 14.5px; }
.picked button { border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }
.err { color: #d23b3b; font-size: 14px; margin-top: 10px; }
.done-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--good-soft); color: var(--good); display: grid; place-items: center; margin-bottom: 18px; }
.done-box { background: var(--bg-soft); border-radius: 16px; padding: 16px; margin-top: 18px; display: grid; gap: 6px; font-size: 15px; }
.done-box span { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.avatars span { overflow: hidden; }
.avatars svg { width: 100%; height: 100%; filter: blur(2px); transform: scale(1.2); }
html, body { overflow-x: clip; }
.marquee { overflow: hidden; }
.foot a.logo { display: inline-flex; }
