@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  /* Forest and night carry the brand; meskel yellow and berbere red come from the woven tibeb band. */
  --paper: #f8f7f3;
  --surface: #ffffff;
  --ink: #141d19;
  --muted: #586560;
  --line: #e3dfd4;
  --green: #17503c;
  --green-dark: #0f3327;
  --night: #0a231b;
  --green-tint: #e6efe9;
  --gold: #e2a41f;
  --gold-ink: #7d5a0c;
  --gold-tint: #fbf1d6;
  --red: #b23a2a;
  --red-tint: #f8e6e3;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px #0f33270d;
  --shadow: 0 2px 4px #0f33270d, 0 14px 32px #0f33271a;
  /* The Latin face is hosted here; Ethiopic uses the reader's own system font. */
  --sans: "Schibsted Grotesk", "Noto Sans Ethiopic", "Kefa", "Nyala", "Ebrima", "Abyssinica SIL", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.6 var(--sans);
  display: flex; flex-direction: column; min-height: 100vh;
}
/* Ethiopic script needs more line height than Latin. */
:lang(am) { line-height: 1.75; }
main { flex: 1; }
main.wrap { padding-block: 32px 64px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
:lang(am) h1, :lang(am) h2, :lang(am) h3 { line-height: 1.45; letter-spacing: 0; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h2 { font-size: 1.4rem; margin-top: 1.6em; }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
code { font-size: .85em; }
.icon { flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: #fff; color: var(--green-dark); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.flash { padding-top: 20px; }
main.wrap > .flash { padding-top: 0; }
main.full > .flash { padding-bottom: 4px; }
/* The woven band: a tibeb border, used under the banner and above the footer. */
.tibeb { height: 24px; background: var(--night) url(/img/tibeb.svg) repeat-x center / 48px 24px; }

/* header */
.site-header { background: var(--green-dark); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 #ffffff1a; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 10px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 1.35rem var(--sans); letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--gold); color: var(--night); font: 700 1.3rem var(--sans); line-height: 1; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.nav a, .nav .link { color: #dbe7e0; text-decoration: none; font-size: .95rem; font-weight: 500; padding-block: 6px; }
.nav a:hover, .nav .link:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { padding-block: 5px; }
.nav .btn.gold, .nav .btn.gold:hover { color: var(--night); }
.inline { display: inline; margin: 0; }
.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.lang { display: inline-flex; border: 1px solid #ffffff4d; border-radius: 999px; overflow: hidden; margin: 0; }
.lang a { padding: 3px 12px; font-size: .85rem; color: #dbe7e0; text-decoration: none; }
.lang a[aria-current="true"] { background: #fff; color: var(--green-dark); box-shadow: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid #ffffff4d; border-radius: 10px; background: none; cursor: pointer; place-items: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; content: ""; }
.menu-icon { position: relative; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; border: 1.5px solid var(--green);
  background: var(--green); color: #fff; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer;
  min-height: 44px; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn.small { padding: 5px 12px; min-height: 34px; font-size: .87rem; }
.btn.block { display: flex; width: 100%; }
.btn.outline { background: transparent; color: var(--green); }
.btn.outline:hover { background: var(--green-tint); color: var(--green-dark); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { background: #f0ebe0; color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn.gold:hover { background: #f0b83a; border-color: #f0b83a; color: var(--night); }
.btn.danger { background: var(--red); border-color: var(--red); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.large { min-height: 50px; font-size: 1rem; }
.btn.danger:hover { background: #912d20; border-color: #912d20; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.stack { display: grid; gap: 10px; }

/* surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card > h2:first-child { margin-top: 0; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.narrow { max-width: 460px; margin: 24px auto; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.section-head h1, .section-head h2 { margin-bottom: .4em; }
.notice { background: var(--green-tint); border-left: 4px solid var(--green); padding: 12px 16px; border-radius: 6px; }
.notice.warn { background: var(--gold-tint); border-color: var(--gold); }
.error { background: var(--red-tint); border-left: 4px solid var(--red); color: #6d1f19; padding: 10px 14px; border-radius: 6px; margin: 0 0 1em; }
ul.error { padding-left: 32px; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; border: 1px dashed var(--line); border-radius: var(--radius); line-height: 2.4; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 600 .78rem var(--sans); background: #ece7db; color: #4a4435; vertical-align: middle; }
.badge.ok, .badge.s-paid, .badge.p-success { background: var(--green-tint); color: var(--green-dark); }
.badge.warn, .badge.s-pending_payment, .badge.p-pending { background: var(--gold-tint); color: #6b4d12; }
.badge.s-cancelled, .badge.p-failed { background: var(--red-tint); color: #6d1f19; }
.badge.s-completed { background: #e3e8f3; color: #27365c; }

/* forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; min-height: 44px;
  border: 1.5px solid #cfc8b8; border-radius: 8px; background: #fff; color: var(--ink); font: 400 1rem var(--sans);
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 3px solid #b8862b66; border-color: var(--gold); }
input[disabled] { background: #f2efe8; color: var(--muted); }
input[type="radio"], input[type="checkbox"] { display: inline-block; width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--green); flex: none; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 8px; }
.option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; margin-bottom: 8px; cursor: pointer; font-weight: 500; }
.option:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.option.disabled { opacity: .55; cursor: not-allowed; }
.option-name { flex: 1; }
.option-price { font-variant-numeric: tabular-nums; font-weight: 600; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px 16px; }
.form-wide { max-width: 860px; }
.lawyer-only { display: none; }
.register:has(#role-lawyer:checked) .lawyer-only { display: block; }

/* home */
main.full > section.band:last-of-type { padding-bottom: 80px; }
.hero-band { background: var(--green-dark); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; padding-block: 64px 72px; }
.hero-copy h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: .45em; }
:lang(am) .hero-copy h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.4; letter-spacing: 0; }
.lead { font-size: 1.14rem; color: #38433e; max-width: 58ch; }
.hero-band .lead { color: #cfdfd6; }
.search { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: 0 18px 40px #00000040; margin: 28px 0 26px; }
.search input, .search select { margin: 0; border-color: transparent; background: #f3f1eb; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #cfdfd6; font-size: .95rem; }
.hero-trust li { display: flex; gap: 10px; align-items: center; }
.hero-trust .icon { color: var(--gold); width: 20px; height: 20px; }
.hero-panel { background: #fff; color: var(--ink); border-radius: 16px; padding: 22px 22px 16px; box-shadow: 0 24px 60px #00000052; }
.hero-panel-title { font-weight: 700; margin: 0 0 6px; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; }
.hero-panel li + li { border-top: 1px solid var(--line); }
.hero-panel li a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 0; color: inherit; text-decoration: none; }
.hero-panel li a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.hero-panel-who { display: grid; min-width: 0; }
.hero-panel-who span { color: var(--muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-panel-meta { display: grid; justify-items: end; font-size: .86rem; white-space: nowrap; }
.hero-panel-meta .rate { font-weight: 700; }
.hero-panel-meta .from { color: var(--muted); }
.hero-panel-all { display: block; text-align: center; padding: 12px 0 2px; border-top: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.hero-panel-all:hover { text-decoration: underline; }

.band { padding-block: 72px 0; }
.band.tinted, .band.ai-band { padding-block: 72px; margin-top: 72px; }
.band.tinted { background: #efede6; }
.band h2 { margin-top: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.band-head { max-width: 62ch; margin-bottom: 28px; }
.band-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.band-head.row-head { max-width: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.band-head.row-head h2 { margin: 0; }

.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.areas a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.areas a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.areas a, .ways a { box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.areas .icon { width: 30px; height: 30px; color: var(--green); margin-bottom: 10px; }
.areas a:hover .icon { color: var(--gold-ink); }
.areas span { color: var(--muted); font-size: .88rem; line-height: 1.4; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; border-top: 3px solid var(--green-dark); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font: 800 2.4rem/1 var(--sans); letter-spacing: -.04em; color: var(--green-dark); margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }
.ways-title { margin: 48px 0 16px; font-size: 1.15rem; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ways a { display: flex; gap: 14px; padding: 18px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ways a:hover { border-color: var(--green); }
.ways .icon { color: var(--green); margin-top: 2px; }
.ways a > span { display: grid; gap: 2px; }
.ways a > span > span { color: var(--muted); font-size: .92rem; }

.ai-band { background: var(--night); color: #fff; }
.band.ai-band + .band { padding-top: 72px; }
.band.tinted + .band { padding-top: 72px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-grid > div:first-child p { color: #cfdfd6; font-size: 1.08rem; max-width: 46ch; margin-bottom: 1.4em; }
.ai-demo { display: flex; flex-direction: column; gap: 10px; background: #ffffff0f; border: 1px solid #ffffff24; border-radius: 16px; padding: 20px; }
.ai-demo .msg { margin: 0; color: var(--ink); max-width: 90%; }
.ai-demo .msg.mine { background: var(--gold); border-color: var(--gold); color: var(--night); font-weight: 500; }
.ai-demo-link { align-self: flex-start; margin: 2px 0 0; padding: 6px 14px; border: 1.5px solid #ffffff66; border-radius: 8px; font-weight: 600; font-size: .9rem; }

.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.voices figure { margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.voices .stars { margin: 0; }
.voices blockquote { margin: 0; font-size: 1.06rem; line-height: 1.55; }
.voices figcaption { margin-top: auto; color: var(--muted); font-size: .9rem; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid #d6d1c3; }
.faq details:first-child { border-top: 1px solid #d6d1c3; }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.06rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--green); line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: #38433e; max-width: 64ch; }

.cta { background: var(--green-dark); color: #fff; border-radius: 18px; padding: 36px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .3em; }
.cta p { margin: 0; color: #cfdfd6; max-width: 56ch; }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eyebrow { color: var(--gold-ink); font-weight: 600; font-size: .92rem; margin-bottom: .4em; }
.page-head { margin-bottom: 24px; }
.page-head h1 { margin-bottom: .2em; }
.page-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* page banner: every inner page opens on the brand green and the woven band */
.banner { background: var(--green-dark) radial-gradient(900px 320px at 85% -20%, #1f6a4f80, transparent 70%); color: #fff; }
.banner > .wrap { padding-block: 34px 32px; }
.banner h1 { margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.banner p { margin: 10px 0 0; color: #cfdfd6; font-size: 1.06rem; max-width: 64ch; }
.tibeb.thin { height: 12px; background-size: 24px 12px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 14px -4px; color: #cfdfd6; text-decoration: none; font-size: .92rem; font-weight: 500; }
.back:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.back .icon { width: 18px; height: 18px; }
.banner-row { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.page-body { padding-block: 32px 72px; }
.page-body > h2:first-child { margin-top: 0; }
.stack.gap { gap: 18px; align-content: start; min-width: 0; }
.card h2 { margin-top: 0; font-size: 1.2rem; }

/* lawyers */
.directory { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.filter-box { position: sticky; top: 88px; padding: 18px 20px; max-height: calc(100vh - 104px); overflow-y: auto; }
.filter-box summary { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; list-style: none; margin-bottom: 16px; }
.filter-box summary::-webkit-details-marker { display: none; }
.filter-box summary .icon { width: 20px; height: 20px; color: var(--green); }
.filters .row .btn:first-child { flex: 1; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--night); font-size: .76rem; font-weight: 700; }
.results-bar { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 16px; min-height: 34px; }
.results-bar p { margin: 0; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 14px; border-radius: 999px; background: var(--green-tint); color: var(--green-dark); font-size: .86rem; font-weight: 600; text-decoration: none; }
.chips a:hover { background: var(--green-dark); color: #fff; }
.chips .icon { width: 14px; height: 14px; }
.lawyer-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; transition: border-color .15s, box-shadow .15s; }
.lawyer-card:hover { border-color: #b9c9bf; box-shadow: var(--shadow); }
.lawyer-card p { margin: 0; }
.lawyer-top { display: flex; gap: 14px; align-items: center; }
.lawyer-top h3, .lawyer-top h1 { margin: 0 0 2px; }
.lawyer-top h3 a { color: var(--ink); text-decoration: none; }
.lawyer-top h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.lawyer-top p { margin: 0; }
.rating { font-size: .92rem; }
.seal { display: inline-block; vertical-align: -3px; color: var(--green); }
.seal .icon { width: 18px; height: 18px; }
.meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: .9rem; }
.meta li { display: flex; align-items: center; gap: 6px; }
.meta .icon { width: 16px; height: 16px; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #1f6a4f, var(--green-dark)); color: #fff; font: 700 1.3rem var(--sans); line-height: 1; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--gold); }
.avatar.small { width: 34px; height: 34px; font-size: .92rem; box-shadow: none; }
.hero-panel .avatar { width: 44px; height: 44px; font-size: 1.1rem; }
.avatar.big { width: 84px; height: 84px; font-size: 2.1rem; }
.stars { color: #d1940f; letter-spacing: 1px; }
.stars .off { color: #d9d2c0; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--green-tint); color: var(--green-dark); border-radius: 6px; padding: 3px 10px; font-size: .82rem; font-weight: 500; }
.tags.links li { padding: 0; }
.tags.links a { display: block; padding: 6px 12px; text-decoration: none; color: inherit; border-radius: 6px; }
.tags.links a:hover { background: var(--green-dark); color: #fff; }
.card-foot { margin-top: auto; display: grid; gap: 8px; }
.fees { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; background: var(--paper); border-radius: var(--radius-sm); padding: 10px 0; }
.fees div { padding: 0 10px; min-width: 0; }
.fees div + div { border-left: 1px solid var(--line); }
.fees dt { display: flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--muted); }
.fees dt .icon { width: 14px; height: 14px; }
.fees dt span { min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.fees dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }
.card-foot p { text-align: center; }

/* lawyer profile */
.profile-banner > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 24px; }
.profile-banner .back { grid-column: 1 / -1; justify-self: start; }
.lawyer-top.big { align-items: flex-start; gap: 22px; }
.lawyer-top.big > div { min-width: 0; }
.lawyer-top.big .avatar { width: 96px; height: 96px; font-size: 2.4rem; background: var(--gold); color: var(--night); box-shadow: 0 0 0 4px #ffffff2e; }
.lawyer-top.big h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 8px; }
.lawyer-top.big .meta { color: #cfdfd6; font-size: .98rem; margin-bottom: 14px; }
.lawyer-top.big .meta strong { color: #fff; }
.lawyer-top.big .tags li { background: #ffffff1c; color: #fff; }
.badge .icon { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.book-jump { display: none; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.book { position: sticky; top: 88px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.book .option .icon { width: 20px; height: 20px; color: var(--green); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed #cfc8b8; padding-top: 14px; margin-bottom: 4px; }
.total strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.assurance { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.assurance li, .ticks li { display: flex; gap: 10px; align-items: flex-start; }
.assurance .icon, .ticks .icon { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.prose { white-space: pre-line; max-width: 68ch; margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 0; }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.facts.icons { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.facts.icons dt { display: flex; align-items: center; gap: 8px; }
.facts.icons .icon { width: 18px; height: 18px; color: var(--green); }
.facts.icons dd { padding-left: 26px; }
.rating-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; background: var(--paper); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 6px; }
.rating-summary p { display: grid; justify-items: center; margin: 0; line-height: 1.4; }
.rating-summary p strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.rating-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: .82rem; color: var(--muted); }
.rating-summary li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 10px; align-items: center; }
progress { width: 100%; height: 8px; border: 0; border-radius: 99px; overflow: hidden; background: #e7e2d5; -webkit-appearance: none; appearance: none; }
progress::-webkit-progress-bar { background: #e7e2d5; }
progress::-webkit-progress-value { background: var(--gold); }
progress::-moz-progress-bar { background: var(--gold); }
.reviews { list-style: none; padding: 0; margin: 0; }
.reviews li { padding: 16px 0; }
.reviews li + li { border-top: 1px solid var(--line); }
.reviews li:last-child { padding-bottom: 0; }
.reviews p { margin: 0; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-head p { display: grid; line-height: 1.35; margin-right: auto; }

/* tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; background: #f3f1ea; }
tbody tr:hover { background: #fbfaf6; }
.person, .service { display: flex; align-items: center; gap: 10px; }
.service .icon { width: 20px; height: 20px; color: var(--green); }
.block { display: block; }
.actions { text-align: right; }
.actions .btn { white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td form { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0 0 18px; }
.stat-row.six { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.stat-row .stat { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; }
.stat-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green); }
.stat-row dt { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.stat-row dd { margin: 0; font: 800 1.5rem/1.3 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ledger { margin: 0; display: grid; }
.ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; }
.ledger dt { color: var(--muted); }
.ledger dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger .sum { border-top: 1px dashed #cfc8b8; margin-top: 6px; padding-top: 12px; }
.ledger .sum dt { color: var(--ink); font-weight: 600; }
.ledger .sum strong { font-size: 1.5rem; font-weight: 800; color: var(--green-dark); }

/* admin */
.tabs { display: flex; gap: 4px; overflow-x: auto; margin: -8px 0 24px; border-bottom: 1px solid var(--line); }
.tabs a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs a:hover { border-bottom-color: var(--gold); }
.table-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 36px 0 14px; }
.table-head h2 { margin: 0; }
.table-search { width: min(320px, 100%); margin: 0; }
.no-match { padding: 20px; margin: 0; text-align: center; }

/* account and profile settings */
.side-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.side-nav { position: sticky; top: 88px; display: grid; gap: 2px; }
.side-who { display: flex; align-items: center; gap: 14px; padding: 0 8px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-who p { display: grid; margin: 0; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.side-nav > a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.side-nav > a:hover { background: var(--green-tint); color: var(--green-dark); }
.side-nav .icon { width: 20px; height: 20px; color: var(--green); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 16px; align-items: start; }
.fields.three { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.label-icon { display: flex; align-items: center; gap: 7px; }
.label-icon .icon { width: 18px; height: 18px; color: var(--green); }
.status-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sections { display: grid; gap: 18px; }
.section { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 8px 28px; }
.section > div > :last-child { margin-bottom: 0; }
.save-bar { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow); }
.save-bar .check { margin: 0; font-weight: 500; }
.save-bar .btn { min-width: 160px; }
/* keeps the floating AI button clear of the save button */
body:has(.save-bar) .advisor-widget { bottom: 96px; }

/* sign in, register, password reset */
.auth { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); max-width: 1040px; margin: 12px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--green-dark) radial-gradient(520px 360px at 0% 0%, #1f6a4f99, transparent 70%); color: #fff; }
.auth-aside > div:first-child { padding: 48px 40px 0; }
.auth-aside h2 { margin: 0 0 28px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; }
:lang(am) .auth-aside h2 { letter-spacing: 0; }
.auth-aside .hero-trust { gap: 16px; }
.auth-aside .hero-trust li { align-items: flex-start; }
.auth-aside .hero-trust .icon { margin-top: 2px; }
.auth-main { padding: 48px clamp(22px, 5vw, 64px); align-self: center; min-width: 0; }
.auth-main h1 { font-size: 1.8rem; margin-bottom: .3em; }
.auth-main > p.muted { margin-bottom: 1.6em; }
.form-aside { text-align: right; margin: -6px 0 16px; font-size: .9rem; }
.auth-switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 0 10px; }
.choice-row .option { margin-bottom: 8px; min-height: 52px; }
.hint { display: block; margin-top: 4px; font-weight: 400; font-size: .82rem; color: var(--muted); }
.password { display: block; position: relative; }
.password input { padding-right: 76px; }
.password .reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 8px; color: var(--green); font-size: .84rem; font-weight: 700; }

/* error and test checkout */
.error-page { max-width: 560px; margin: 48px auto; text-align: center; }
.error-page .tibeb { width: 168px; margin: 18px auto 24px; border-radius: 3px; }
.center-row { justify-content: center; }
.checkout { max-width: 460px; margin: 24px auto; padding: 0 28px 24px; overflow: hidden; }
.checkout-head { margin: 0 -28px 22px; padding: 28px; background: var(--green-dark); color: #fff; text-align: center; }
.checkout-head h1 { margin: 14px 0 4px; font-size: 2.4rem; font-weight: 800; }
.checkout-head p { margin: 0; color: #cfdfd6; }
.checkout .stack + p { margin: 18px 0 0; }

/* consultation room */
.progress-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.progress-steps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .86rem; font-weight: 600; color: var(--muted); }
.progress-steps li + li::before { content: ""; position: absolute; top: 15px; right: calc(50% + 22px); width: calc(100% - 44px); height: 2px; background: #d6d1c3; }
.progress-steps li.done + li::before { background: var(--green); }
.progress-steps .dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #d6d1c3; background: var(--surface); font-size: .86rem; }
.progress-steps .dot .icon { width: 18px; height: 18px; stroke-width: 2.5; }
.progress-steps .done { color: var(--green-dark); }
.progress-steps .done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.progress-steps .current { color: var(--ink); }
.progress-steps .current .dot { border-color: var(--gold); background: var(--gold); color: var(--night); box-shadow: 0 0 0 5px var(--gold-tint); }
.booking { margin-bottom: 18px; }
.topic { margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.topic summary { cursor: pointer; font-weight: 600; }
.topic p { margin: 8px 0 0; }
.pay { border-color: var(--gold); border-top-width: 4px; background: #fffdf7; box-shadow: var(--shadow); }
.star-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { margin: 0; padding: 0 3px; font-size: 2rem; line-height: 1.2; color: #d9d2c0; cursor: pointer; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #d1940f; }
.star-pick input:focus-visible + label { outline: 3px solid var(--gold); border-radius: 6px; }
.room { display: grid; gap: 18px; margin-top: 18px; }
.room.with-call { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.chat { display: flex; flex-direction: column; }
.chat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.chat-head h2 { margin: 0 0 .5em; }
.presence { font-size: .85rem; color: var(--muted); }
.presence::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #b5ad9b; margin-right: 6px; }
.presence.on { color: var(--green-dark); }
.presence.on::before { background: #2f9e62; }
.messages { list-style: none; margin: 0; padding: 12px; height: 420px; overflow-y: auto; background: #f6f2e9; border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
.messages:empty::before { content: attr(data-empty); color: var(--muted); margin: auto; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 12px 12px 12px 3px; background: #fff; border: 1px solid var(--line); align-self: flex-start; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--green); color: #fff; border-color: var(--green); border-radius: 12px 12px 3px 12px; }
.msg .who { font-size: .74rem; opacity: .75; display: block; margin-bottom: 2px; }
.msg .body { white-space: pre-wrap; }
.msg a.file { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: inherit; }
.msg a.file::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l5 5v13H6zM14 3v5h5'/%3E%3C/svg%3E") center / contain no-repeat; }
.typing { min-height: 1.4em; margin: 4px 0; }
.composer { display: flex; gap: 8px; align-items: center; }
.composer input { margin: 0; flex: 1; }
.attach { padding: 10px 12px; margin: 0; cursor: pointer; }
.attach .icon { width: 20px; height: 20px; }
.stage { position: relative; background: #101b16; border-radius: 10px; aspect-ratio: 4 / 3; overflow: hidden; }
.call.voice .stage { aspect-ratio: 16 / 7; }
.stage video { width: 100%; height: 100%; object-fit: cover; display: block; }
.call.voice .stage video { visibility: hidden; position: absolute; }
#local-video { position: absolute; right: 10px; bottom: 10px; width: 28%; height: auto; aspect-ratio: 4 / 3; border-radius: 8px; border: 2px solid #ffffffaa; background: #000; }
.stage-idle { position: absolute; inset: 0; display: grid; place-items: center; }
.call.video.connected .stage-idle { display: none; }
.call.connected .stage-idle .avatar { box-shadow: 0 0 0 6px #2f9e6266, 0 0 0 14px #2f9e6222; }
.call-status { margin: 12px 0; font-weight: 500; }
.after-room { margin-top: 18px; }

/* account */
.confirm-banner { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: baseline; margin: 0 0 1em; background: var(--gold-tint); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 6px; }
.confirm-banner .link { color: var(--green); text-decoration: underline; font-weight: 600; }
.account { display: grid; gap: 18px; min-width: 0; }
.account .card { scroll-margin-top: 88px; }
.account .card > p:last-child, .account form:last-child { margin-bottom: 0; }
td .row { flex-wrap: nowrap; gap: 6px; }

/* AI advisor */
.advisor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.advisor { min-width: 0; }
.advisor .chat-head { align-items: center; margin-bottom: 12px; }
.advisor-free { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--green-dark); }
.advisor-free .icon { color: var(--gold); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.advisor-log { height: min(58vh, 560px); margin-bottom: 12px; }
.advisor-log:empty { height: 150px; }
.advisor-log .msg { max-width: 88%; }
.advisor-log .msg.pending .body { color: var(--muted); font-style: italic; }
.advisor-log .suggest { margin-top: 10px; }
.examples { margin-bottom: 12px; }
.examples p { margin-bottom: 6px; }
.example { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 400 .92rem var(--sans); cursor: pointer; text-align: left; }
.example:hover { border-color: var(--green); color: var(--green); }
.advisor-form { align-items: flex-end; }
.advisor-form textarea { margin: 0; flex: 1; resize: none; }
.advisor-note { margin-top: 12px; }

/* floating chat */
.advisor-widget { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.advisor-widget > * { pointer-events: auto; }
.advisor-fab { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--gold); color: var(--night); font: 700 1rem var(--sans); cursor: pointer; box-shadow: 0 10px 30px #0a231b59; }
.advisor-fab:hover { background: #f0b83a; }
.advisor-panel { width: min(400px, calc(100vw - 40px)); height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px #0a231b66, 0 0 0 1px #0a231b1a; }
.advisor-panel-head { display: flex; align-items: center; gap: 4px; padding: 10px 10px 10px 16px; background: var(--green-dark); color: #fff; }
.advisor-panel-title { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.advisor-panel-title .icon { color: var(--gold); width: 20px; height: 20px; }
.advisor-panel-head .advisor-new { color: #dbe7e0; font-size: .85rem; text-decoration: underline; margin-right: 6px; }
.advisor-expand, .advisor-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: #dbe7e0; cursor: pointer; }
.advisor-expand:hover, .advisor-close:hover { background: #ffffff1f; color: #fff; }
.advisor-expand .icon { width: 18px; height: 18px; }
.advisor-panel-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px; }
.advisor-panel .advisor-log, .advisor-panel .advisor-log:empty { flex: 1; height: auto; min-height: 0; margin-bottom: 10px; }
.advisor-panel .advisor-log:empty::before { text-align: center; padding: 0 12px; }
.advisor-panel .msg { max-width: 92%; font-size: .95rem; }
.advisor-panel .examples { margin-bottom: 10px; }
.advisor-panel .example { font-size: .85rem; padding: 6px 12px; }
.advisor-panel .advisor-form textarea { font-size: 1rem; min-height: 0; }
.advisor-panel .advisor-note { margin: 8px 0 0; text-align: center; }
@media (max-width: 699px) {
  .advisor-widget { right: 14px; bottom: 14px; }
  /* On a phone the open chat takes the whole screen, like a messaging app. */
  .advisor-widget.open { inset: 0; }
  .advisor-widget.open .advisor-panel { width: 100%; height: 100%; border-radius: 0; }
  .advisor-widget.open .advisor-fab { display: none; }
  .advisor-fab span { display: none; }
  .advisor-fab { width: 56px; padding: 0; justify-content: center; }
}
@media print { .advisor-widget { display: none; } }

.error-code { font: 800 clamp(5rem, 16vw, 8rem)/1 var(--sans); letter-spacing: -.05em; color: var(--green-dark); margin: 0; }
.site-footer { background: var(--night); color: #b9cbc1; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 52px 36px; }
.footer-about p { margin: 14px 0 0; max-width: 40ch; }
.footer-about .footer-fine { font-size: .84rem; color: #8ea398; }
.site-footer h2 { font-size: .95rem; margin: 6px 0 14px; color: #fff; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer nav a { color: #b9cbc1; text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid #ffffff1f; padding-block: 18px 22px; font-size: .86rem; }
.footer-base p { margin: 0; }

.status { margin-bottom: 8px; }
.status .section-head h2 { margin: 0; }
.status-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 24px; margin: 16px 0 0; }
.status-list dt { font-weight: 600; margin-bottom: 4px; }
.status-list dd { margin: 0; display: grid; gap: 4px; justify-items: start; }

@media (max-width: 1000px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 52px; }
  .ai-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .advisor-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .js .menu-btn { display: grid; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 14px; }
  .js .nav.open { display: flex; }
  .js .nav a, .js .nav .link { padding: 10px 0; font-size: 1.02rem; }
  .js .nav .btn { margin: 6px 0; padding-inline: 16px; }
  .steps, .ways, .voices { grid-template-columns: 1fr; }
  .band { padding-block: 52px 0; }
  .band.tinted, .band.ai-band { padding-block: 52px; margin-top: 52px; }
  .band.ai-band + .band, .band.tinted + .band { padding-top: 52px; }
  .cta { padding: 26px; }
}
@media (max-width: 560px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-panel-meta .from { display: none; }
}
@media (max-width: 860px) {
  .directory, .profile-layout, .room.with-call, .side-layout, .section, .auth { grid-template-columns: minmax(0, 1fr); }
  .filter-box, .book, .side-nav { position: static; max-height: none; }
  .filter-box summary { cursor: pointer; margin: 0; }
  .filter-box[open] summary { margin-bottom: 16px; }
  .side-nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .side-who { grid-column: 1 / -1; }
  .auth-aside { display: none; }
  .auth { max-width: 560px; }
  .profile-banner > .wrap { grid-template-columns: 1fr; }
  .book-jump { display: inline-flex; justify-self: start; margin-top: 20px; }
  .search { grid-template-columns: 1fr; }
  .messages { height: 340px; }
  .advisor-log { height: 52vh; }
  .advisor-log:empty { height: 110px; }
}
@media (max-width: 720px) {
  .cards-sm { background: none; border: 0; box-shadow: none; overflow: visible; }
  .cards-sm table, .cards-sm tbody, .cards-sm tr, .cards-sm td { display: block; }
  .cards-sm thead { display: none; }
  .cards-sm tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 16px 16px; margin-bottom: 12px; }
  .cards-sm td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; border: 0; text-align: right; }
  .cards-sm td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; text-align: left; }
  .cards-sm .service { text-align: left; }
  .cards-sm .actions::before { content: none; }
  .cards-sm .actions .btn { flex: 1; min-height: 44px; }
}
@media (max-width: 560px) {
  .lawyer-top.big { flex-direction: column; gap: 14px; }
  .rating-summary { grid-template-columns: 1fr; gap: 12px; }
  .progress-steps li { font-size: .76rem; }
  .card { padding: 18px; }
  .stat-row, .stat-row.six { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-row .stat { display: block; padding: 12px 14px; }
  .stat-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
