/*
 * Kanoni & Partners – law firm template · Abedev (abedev.com)
 *
 * Design: sober and trustworthy – ink blue, ivory paper and a brass accent, a classic serif with section signs,
 * practice areas laid out like the table of contents of a code, a drawer menu from the left and a guide that asks three
 * questions and prints a document checklist.
 * Colours, fonts and spacing are variables: change them here and the whole site follows.
 * Sections: 1 fonts · 2 tokens · 3 base · 4 header & drawer · 5 home · 6 practice · 7 team · 8 guide · 9 forms
 * · 10 footer · 11 print
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-500-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pt-serif-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pt-serif-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pt-serif-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Kanoni Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-700-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Kanoni Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanoni Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kanoni Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Kanoni Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-500-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/raleway-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/raleway-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Kanoni Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* 2 ─ Tokens */
:root {
    --ink: #1b1f2a;
    --brass: #a7864a;
    --ivory: #f6f3ec;
    --paper: #fffdf8;
    --slate: #5b6577;
    --line: #ddd5c4;
    --serif: "Kanoni Serif", "PT Serif", Georgia, serif;
    --sans: "Kanoni Sans", "Raleway", system-ui, sans-serif;
    --wrap: 1160px;
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.7 var(--sans); overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
svg { display: block; }
svg[viewBox="0 0 24 24"] { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); hyphens: manual; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { line-height: 1.3; hyphens: none; }
:lang(ka) h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
:lang(ka) h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.eyebrow { margin: 0 0 12px; font: 600 13px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
:lang(ka) .eyebrow { letter-spacing: .04em; text-transform: none; font-size: 14px; }
.lead { font-size: 1.12rem; color: var(--slate); max-width: 38em; }
.muted { color: var(--slate); }
.note { color: var(--slate); font-size: 14.5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border: 1px solid transparent; border-radius: 0; font: 600 15px/1.2 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; text-align: center; transition: background .2s, color .2s; }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2d3446; }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: #8e7038; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--brass); }
.link-btn { padding: 0; border: 0; background: none; font: 600 14.5px var(--sans); color: var(--slate); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
q { quotes: "“" "”"; }
:lang(de) q, :lang(ka) q { quotes: "„" "“"; }
:lang(ru) q { quotes: "«" "»"; }

/* 4 ─ Header & drawer */
.topline { background: var(--ink); color: #c9ccd4; font-size: 13.5px; }
.topline-inner { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.topline-inner > span:first-child { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; }
.topline svg { color: var(--brass); }
.topline a { text-decoration: none; }
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px; border: 1px solid rgba(167, 134, 74, .6); border-bottom: 0; border-radius: 4px 4px 0 0; font: 600 12.5px var(--sans); cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang[open] summary::after { transform: rotate(-135deg); }
.lang .flag { width: 22px; height: auto; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.lang ul a { align-items: center; }
.lang ul { position: absolute; right: 0; top: 100%; z-index: 60; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--brass); box-shadow: 0 16px 30px rgba(27, 31, 42, .18); }
.lang ul a { display: flex; gap: 12px; padding: 8px 10px; color: var(--ink); text-decoration: none; font: 400 15px var(--serif); }
.lang ul a span { min-width: 22px; font: 600 11px/2 var(--sans); color: var(--slate); }
.lang ul a:hover { background: var(--ivory); }
.lang ul a[aria-current] { color: var(--brass); font-weight: 700; }
.header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 86px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; color: var(--ink); }
.logo .seal { width: 52px; height: 52px; flex: none; color: var(--brass); }
.logo > span { display: flex; flex-direction: column; font: 700 1.45rem/1 var(--serif); }
.logo small { margin-top: 5px; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
:lang(ka) .logo small { letter-spacing: .03em; text-transform: none; }
.logo-img { max-height: 54px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
:lang(ka) .nav a { padding: 8px 8px; font-size: 14px; }
.nav a::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--brass); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::before, .nav a[aria-current="page"]::before { transform: none; }
.drawer-btn { display: none; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); background: none; cursor: pointer; }
.db-lines { display: grid; gap: 5px; width: 22px; }
.db-lines i { display: block; height: 1.5px; background: var(--ink); }
.db-lines i:nth-child(2) { width: 70%; }
.drawer-shade { position: fixed; inset: 0; z-index: 50; background: rgba(27, 31, 42, .55); opacity: 0; transition: opacity .3s; }
.drawer-shade.is-open { opacity: 1; }
.drawer { position: fixed; z-index: 51; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; background: var(--paper); border-right: 6px double var(--brass); transform: translateX(-100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
.drawer.is-open { transform: none; }
.drawer-title { margin: 0; font: italic 400 1.1rem var(--serif); color: var(--slate); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.drawer nav { display: grid; }
.drawer nav a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dotted var(--line); font: 700 1.3rem var(--serif); text-decoration: none; }
.drawer nav a span { min-width: 34px; font: 400 1rem var(--serif); color: var(--brass); }
.drawer nav a[aria-current="page"] { color: var(--brass); }
.lang--drawer summary { border-color: var(--line); border-bottom: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
.lang--drawer ul { position: static; margin-top: 6px; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-shade { transition: none; } }

/* 5 ─ Home */
.hero { padding: clamp(40px, 7vw, 90px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.hero-text { position: relative; padding-left: 30px; border-left: 1px solid var(--brass); }
.hero-plate { margin: 0; padding: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(27, 31, 42, .12); }
.hero-plate img, .hero-plate svg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.25); }
.hero-plate figcaption { padding-top: 10px; font: italic 400 .95rem var(--serif); color: var(--slate); text-align: center; }
.figures { background: var(--paper); border-block: 1px solid var(--line); }
.figure-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 auto; }
.figure-list div { display: flex; flex-direction: column-reverse; padding: 24px; border-left: 1px solid var(--line); }
.figure-list div:first-child { border-left: 0; }
.figure-list dd { margin: 0; font: 700 2.3rem/1.1 var(--serif); color: var(--ink); }
.figure-list dt { color: var(--slate); font-size: 15px; }
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--tight { padding-top: 20px; }
.section--ink { background: var(--ink); color: #c9ccd4; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--paper { background: var(--paper); }
.page-head { padding: clamp(40px, 6vw, 70px) 0 30px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.head-row > div { min-width: 0; max-width: 100%; }
.head-row h2 { margin: 0; }
.code { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.code a { display: grid; grid-template-columns: 60px auto minmax(30px, 1fr) minmax(0, 1.4fr); gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .2s; }
.code a:hover { background: var(--paper); padding-left: 10px; }
.code-n { font: 400 1.05rem var(--serif); color: var(--brass); }
.code-name { font: 700 1.3rem var(--serif); }
.code-dots { border-bottom: 1px dotted var(--slate); transform: translateY(-6px); opacity: .5; }
.code-sum { color: var(--slate); font-size: 15.5px; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin: 36px 0 0; padding: 0; }
.principles li { padding-top: 18px; border-top: 1px solid rgba(167, 134, 74, .5); }
.principles span { display: block; margin-bottom: 8px; font: italic 400 1.6rem var(--serif); color: var(--brass); }
.principles p { margin: 0; }
.testimonies { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 20px; }
.testimony { margin: 0; padding: 28px; background: var(--paper); border-top: 3px solid var(--brass); }
.testimony blockquote { margin: 0 0 14px; font: italic 400 1.1rem/1.6 var(--serif); }
.testimony figcaption { display: grid; font-size: 14.5px; color: var(--slate); }
.testimony strong { color: var(--ink); }
.cta { background: var(--ink); color: #c9ccd4; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 56px 0; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; }
.cta .actions { margin: 0; }

/* 6 ─ Practice */
.practice { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 50px; align-items: start; }
.toc { position: sticky; top: 110px; display: grid; padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.toc-title { margin: 0 0 8px; font: italic 400 1.05rem var(--serif); color: var(--slate); }
.toc a { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--line); font-weight: 600; font-size: 15px; text-decoration: none; }
.toc a span { min-width: 30px; font-family: var(--serif); color: var(--brass); }
.toc a.is-on { color: var(--brass); }
.article { padding: 0 0 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.article-n { margin: 0; font: italic 400 1.4rem var(--serif); color: var(--brass); }
.article-sum { font: italic 400 1.15rem var(--serif); color: var(--slate); }
.article-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 24px 0; }
.clauses { list-style: none; margin: 0; padding: 0; }
.clauses li { display: flex; gap: 10px; padding: 6px 0; }
.clauses span { font-family: var(--serif); color: var(--brass); }
.docs { list-style: none; margin: 0; padding: 16px 18px; background: var(--paper); border: 1px dashed var(--line); }
.docs li { display: flex; gap: 8px; padding: 4px 0; font-size: 15.5px; }
.docs svg { margin-top: .25em; color: var(--brass); }
.article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.fee { margin: 0; font-weight: 600; }
.fee span { font: italic 400 1rem var(--serif); color: var(--slate); }

/* 7 ─ Team */
.lawyers { display: grid; gap: 30px; }
.lawyer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.lawyer-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.lawyer-photo img, .lawyer-photo svg { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.lawyer-ini { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font: 700 2.4rem var(--serif); color: var(--brass); }
.lawyer-body { align-self: center; }
.lawyer-role { font: italic 400 1.1rem var(--serif); color: var(--brass); }
.facts { display: grid; gap: 8px; margin: 16px 0 20px; }
.facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding-bottom: 8px; border-bottom: 1px dotted var(--line); }
.facts dt { color: var(--slate); font-size: 14.5px; }
.facts dd { margin: 0; font-weight: 600; }

/* 8 ─ Guide */
.wizard { max-width: 860px; margin: 0 auto; padding: clamp(22px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(27, 31, 42, .08); }
.w-progress { list-style: none; display: flex; justify-content: center; gap: 0; margin: 0 0 26px; padding: 0; }
.w-progress li { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; font: 700 14px var(--serif); color: var(--slate); background: var(--paper); position: relative; }
.w-progress li + li { margin-left: 40px; }
.w-progress li + li::before { content: ""; position: absolute; right: 100%; width: 40px; top: 50%; border-top: 1px solid var(--line); }
.w-progress li.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.w-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.w-step legend { padding: 0; margin-bottom: 18px; font: 700 1.5rem/1.3 var(--serif); }
.w-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 16px; }
.w-options--two { grid-template-columns: 1fr 1fr; }
.w-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.w-options span { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.w-options strong { font: 700 1.1rem var(--serif); }
.w-options small { color: var(--slate); font-size: 14.5px; }
.w-options span:hover { border-color: var(--brass); }
.w-options input:checked + span { border-color: var(--ink); background: var(--ivory); }
.w-options input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.w-kicker { margin: 0; font: italic 400 1.1rem var(--serif); color: var(--brass); }
.w-note { padding: 12px 16px; border-left: 3px solid var(--brass); background: var(--ivory); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dotted var(--line); }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border: 1.5px solid var(--ink); }
.glossary-wrap { max-width: 900px; }
.gl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gl-head h2 { margin: 0; }
.gl-search { display: flex; align-items: center; gap: 8px; min-width: min(320px, 100%); padding: 0 14px; border: 1px solid var(--ink); background: #fff; }
.gl-search input { border: 0; padding: 12px 0; background: transparent; }
.gl-search input:focus { box-shadow: none; }
.glossary { margin: 0; columns: 2; column-gap: 40px; }
.term { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--line); }
.term dt { font: 700 1.1rem var(--serif); }
.term dd { margin: 4px 0 0; color: var(--slate); font-size: 15.5px; }
.term mark { background: rgba(167, 134, 74, .3); color: inherit; }
.gl-none { color: var(--slate); }

/* 9 ─ Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 36px; align-items: start; }
.panel { padding: clamp(22px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--ink); scroll-margin-top: 110px; }
.fee-box { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--ivory); font-weight: 600; }
.fee-box svg { color: var(--brass); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
input, select, textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #cfc6b2; border-radius: 0; background: #fff; color: var(--ink); font: 400 16px var(--sans); }
input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 50px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.formats legend { width: 100%; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.formats input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.formats span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.formats input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.formats input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--ink); }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 18px; border-left: 4px solid var(--ink); font-size: 15px; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #e7efe7; }
.form-status.info { background: var(--ivory); }
.form-status.error { background: #f5e1df; }
.side { display: grid; gap: 18px; }
.side-block { padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.side-block h2 { font-size: 1.3rem; }
.side-block a { text-decoration: none; }
.hours { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.faq details { border-bottom: 1px dotted var(--line); }
.faq summary { padding: 12px 0; font-weight: 600; cursor: pointer; }
.faq p { color: var(--slate); font-size: 15px; }
.legal { max-width: 800px; overflow-wrap: break-word; }
.legal h2 { font-size: 1.4rem; margin-top: 1.4em; }
.legal h2:first-child { margin-top: 0; }

/* 10 ─ Footer */
.footer { background: var(--ink); color: #c9ccd4; padding: 60px 0 26px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.footer-name { font: 700 1.5rem var(--serif); color: #fff; }
.footer .footer-h { font: 600 12.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
:lang(ka) .footer .footer-h { letter-spacing: .03em; text-transform: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.disclaimer { font-style: italic; }

/* Responsive */
@media (max-width: 1200px) {
    :lang(ka) .nav, :lang(ka) .consult-top { display: none; }
    :lang(ka) .drawer-btn { display: grid; margin-left: auto; }
}
@media (max-width: 1040px) {
    .nav, .consult-top { display: none; }
    .drawer-btn { display: grid; margin-left: auto; }
}
@media (max-width: 900px) {
    .hero-grid, .practice, .contact-grid, .lawyer { grid-template-columns: minmax(0, 1fr); }
    .hero-plate { max-width: 420px; }
    .toc { position: static; }
    .lawyer-photo { max-width: 320px; }
    .article-cols { grid-template-columns: minmax(0, 1fr); }
    .code a { grid-template-columns: 50px minmax(0, 1fr); }
    .code-dots { display: none; }
    .code-sum { grid-column: 2; }
    .glossary { columns: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .topline-inner > span:first-child { display: none; }
    .topline-inner { justify-content: space-between; }
    .hero-text { padding-left: 18px; }
    .form { grid-template-columns: minmax(0, 1fr); }
    .w-options--two { grid-template-columns: minmax(0, 1fr); }
    .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .w-progress li + li { margin-left: 24px; }
    .w-progress li + li::before { width: 24px; }
}

/* 11 ─ Print: only the guide result (document checklist) */
@media print {
    body.printing-list > *:not(main), body.printing-list main > *:not(.section--tight), body.printing-list .w-progress, body.printing-list .w-result .actions, body.printing-list .page-head { display: none !important; }
    body.printing-list .wizard { box-shadow: none; border: 0; }
}
