/* Demo: Hotar law office. Plan: drafts/demo-advokat-plan.md. No photos: type, the consultation sheet and the seal carry the page */
@font-face { font-family: "Plex Serif"; font-weight: 500; font-display: swap; src: url("fonts/plex-serif-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex Serif"; font-weight: 500; font-display: swap; src: url("fonts/plex-serif-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF; }
@font-face { font-family: "Plex Serif"; font-weight: 500; font-display: swap; src: url("fonts/plex-serif-500-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Serif"; font-weight: 600; font-display: swap; src: url("fonts/plex-serif-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex Serif"; font-weight: 600; font-display: swap; src: url("fonts/plex-serif-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF; }
@font-face { font-family: "Plex Serif"; font-weight: 600; font-display: swap; src: url("fonts/plex-serif-600-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Sans"; font-weight: 400 600; font-display: swap; src: url("fonts/plex-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex Sans"; font-weight: 400 600; font-display: swap; src: url("fonts/plex-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF; }
@font-face { font-family: "Plex Sans"; font-weight: 400 600; font-display: swap; src: url("fonts/plex-sans-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --hartie: #fafaf8;
  --ink: #1d2230;
  --ink-2: #272d3d;
  --visin: #7a1f2b;
  --ceara: #f4e9ea;
  --line: #d9dce3;
  --gri: #5d6270;
  --on-ink: #b9bdc9;
  --card: #ffffff;
  --serif: "Plex Serif", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: "Plex Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.55; background: var(--hartie); color: var(--ink); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--visin); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ceara); color: var(--ink); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
section, footer { scroll-margin-top: 76px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.4vw, 38px); }
.lede { color: var(--gri); font-size: 18px; max-width: 600px; margin-top: 12px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wrap > * { min-width: 0; }
.nw { white-space: nowrap; }

.demo-strip { background: var(--ink); color: #fff; font-size: 15px; }
.demo-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.demo-strip a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 40; background: rgba(250,250,248,.96); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1; }
.brand small { display: block; font-size: 13px; color: var(--gri); margin-top: 3px; }
.menu { display: flex; gap: 28px; color: var(--gri); font-size: 16px; }
.menu a:hover { color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 15px; color: var(--gri); }
.lang b { color: var(--ink); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }
.btn-visin { background: var(--visin); color: #fff; }
.btn-visin:hover { background: #63182a; }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-paper { background: var(--hartie); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; }

/* ---------- Hero: situations on the left, the consultation sheet on the right ---------- */
.hero { padding-top: 56px; padding-bottom: 80px; }
.hero > .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(40px, 5vw, 56px); }
.hero .lede { margin-top: 16px; }
.sits { list-style: none; margin-top: 30px; border-top: 1px solid var(--ink); }
.sits button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 54px; padding: 10px 4px 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 18px; }
.sits button span { color: var(--gri); font-size: 14px; white-space: nowrap; }
.not-here { font-size: 16px; margin-top: 18px; }
.not-here a { color: var(--visin); text-decoration: underline; text-underline-offset: 3px; }
.sits button:hover { color: var(--visin); }
.sits button[aria-pressed="true"] { color: var(--visin); font-weight: 600; box-shadow: inset 3px 0 0 var(--visin); padding-left: 14px; }

.sheet { position: relative; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 24px 40px -28px rgba(29,34,48,.35); padding: 30px 34px 34px; }
.sheet::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px; background: var(--ceara); }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--gri); padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sheet-head b { color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 15px; }
.sheet h2 { font-size: 30px; margin-top: 18px; }
.row { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row > span { font-family: var(--serif); font-size: 15px; color: var(--gri); padding-top: 1px; }
.row p, .row li { font-size: 16px; }
.docs { list-style: none; display: grid; gap: 6px; }
.docs label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.docs input { appearance: none; flex: none; width: 18px; height: 18px; margin-top: 3px; border: 1.5px solid var(--ink); border-radius: 2px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.docs input:checked { background: var(--ink); }
.docs input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.docs input:checked + span { color: var(--gri); text-decoration: line-through; text-decoration-color: var(--line); }
.docs-count { margin-top: 6px; font-size: 14px; color: var(--gri); }
.price b { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.seal { width: 104px; height: 104px; flex: none; color: var(--visin); opacity: .92; }
.seal.stamp { animation: stamp .45s cubic-bezier(.2,.7,.3,1) both; }
@keyframes stamp { from { transform: scale(1.3) rotate(-8deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: .92; } }

/* ---------- How a consultation goes: a real sequence, so it is numbered ---------- */
.steps { background: var(--ink); color: #fff; padding-top: 80px; padding-bottom: 84px; }
.steps .lede { color: var(--on-ink); }
.steps ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.steps li { counter-increment: s; border-top: 1px solid rgba(255,255,255,.3); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 40px; line-height: 1; color: #d9a3ab; margin-bottom: 14px; }
.steps b { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.steps li span { display: block; margin-top: 8px; color: var(--on-ink); font-size: 16px; }

/* ---------- Team: roles, no portraits ---------- */
.team { padding-top: 84px; padding-bottom: 84px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--ink); }
.person { padding: 22px 28px 8px 0; }
.person + .person { padding-left: 28px; border-left: 1px solid var(--line); }
.person h3 { font-size: 24px; }
.person .meta { margin-top: 6px; color: var(--gri); font-size: 15px; }
.person ul { list-style: none; margin-top: 14px; }
.person li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: 16px; }

/* ---------- Prices: a price list ---------- */
.prices { padding-top: 84px; padding-bottom: 84px; background: var(--card); border-top: 1px solid var(--line); }
.prices .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.plist { list-style: none; border-top: 2px solid var(--ink); }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.plist li small { display: block; color: var(--gri); font-size: 15px; margin-top: 2px; }
.plist b { font-family: var(--serif); font-weight: 600; font-size: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pnote { margin-top: 16px; color: var(--gri); font-size: 15px; }

/* ---------- Booking, on ink ---------- */
.book { background: var(--ink); color: #fff; padding-top: 84px; padding-bottom: 90px; }
.book .wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
.book .lede { color: var(--on-ink); }
.secret { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); color: var(--on-ink); font-size: 15px; max-width: 380px; }
.secret b { color: #fff; font-weight: 600; }
.form { background: var(--hartie); color: var(--ink); border-radius: 4px; padding: 28px; }
.field { margin-bottom: 18px; }
.field > label, .legend { display: block; font-weight: 600; margin-bottom: 8px; font-size: 16px; }
.field select, .field input[type="text"], .field input[type="tel"], .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 4px; border: 1px solid #c3c7d0; background: #fff; }
.field textarea { min-height: 84px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29,34,48,.15); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; min-height: 44px; padding: 4px 14px; border-radius: 4px; border: 1px solid #c3c7d0; background: #fff; font-variant-numeric: tabular-nums; line-height: 1.2; }
.opt span small { font-size: 12px; color: var(--gri); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input:checked + span small { color: var(--on-ink); }
.opt input:disabled + span { color: #b1b5be; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.opt input:focus-visible + span { outline: 3px solid var(--visin); outline-offset: 2px; }
.days { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.days .opt span { min-width: 64px; }
.times .opt span { min-width: 70px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; }
.err { color: #a3261b; font-size: 15px; min-height: 1.3em; margin-bottom: 6px; }
.done svg { width: 46px; height: 46px; color: var(--visin); }
.done h3 { font-size: 30px; margin: 12px 0 8px; }
.done p { color: var(--gri); }
.done p[data-what] { color: var(--ink); }
.done .note { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--visin); background: #fff; color: var(--ink); font-size: 15px; }

/* ---------- Questions ---------- */
.faq { padding-top: 84px; padding-bottom: 84px; }
.faq .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.qs { border-top: 2px solid var(--ink); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--serif); font-size: 20px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; font-family: "Plex Sans", sans-serif; color: var(--visin); font-size: 24px; line-height: 1; }
.qs details[open] summary::after { content: "−"; }
.qs details p { padding-bottom: 18px; color: var(--gri); max-width: 620px; }

/* ---------- Contact, on ink ---------- */
.contact { background: var(--ink); color: #fff; padding-top: 80px; padding-bottom: 80px; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact .lede { color: var(--on-ink); }
.hours { list-style: none; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.3); max-width: 440px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-variant-numeric: tabular-nums; }
.hours li span:first-child { color: var(--on-ink); }
.contact .btn { margin-top: 26px; }
.map { width: 100%; height: auto; border-radius: 4px; }

.foot { background: #151924; color: var(--on-ink); padding-top: 28px; padding-bottom: 28px; font-size: 15px; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }

.toast { position: fixed; left: 50%; bottom: 20px; z-index: 60; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
  .seal.stamp { animation: none; }
}

@media (max-width: 1000px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .menu { display: none; }
  .hero { padding-top: 32px; padding-bottom: 56px; }
  .hero > .wrap, .prices .wrap, .book .wrap, .faq .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr; }
  .person, .person + .person { padding: 20px 0 8px; border-left: 0; }
  .person + .person { border-top: 1px solid var(--line); }
  .steps, .team, .prices, .book, .faq, .contact { padding-top: 60px; padding-bottom: 60px; }
}
@media (max-width: 560px) {
  .top .wrap { height: 60px; }
  .brand small, .lang { display: none; }
  .demo-strip .wrap { font-size: 13px; }
  .sits button { font-size: 17px; }
  .sheet { padding: 22px 18px 24px 26px; }
  .sheet::before { left: 12px; }
  .sheet-head { flex-direction: column; gap: 2px; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .seal { width: 84px; height: 84px; }
  .sheet-foot { flex-direction: column-reverse; align-items: flex-start; }
  .steps ol { grid-template-columns: 1fr; gap: 24px; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .plist li { flex-direction: column; gap: 4px; }
}
