/* minev.bg — визия „v10“ (24.09.2026): бяло / тъмносиньо / злато, прави ъгли, линии и точков растер.
   Playfair Display (заглавия) + Manrope (текст). Съдържанието е от src/pages, текстовете не се пипат. */
:root {
  --bg: #f7f8f9; --bg2: #edf1f4; --paper: #ffffff; --ink: #1f2432; --ink2: #4d5866; --mute: #66717d;
  --line: #d9dfe4; --gold: #a5854e; --gold2: #c9a063; --gold3: #dbba82;
  --navy: #1f2432; --navy2: #262d3d; --navy3: #3a4254; --icon-bg: #222937;
  --on-navy: #f7f8f9; --on-navy2: #c6cdd7; --on-navy3: #97a0ae;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif; --sans: Manrope, "Segoe UI", system-ui, sans-serif;
  --wrap: 1320px; --gutter: 40px;
  --dots-gold: radial-gradient(rgba(165,133,78,.2) .8px, transparent .9px) 0 0 / 7px 7px;
  --dots-grey: radial-gradient(rgba(120,147,158,.35) .8px, transparent 1px) 0 0 / 9px 9px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
/* класическата кирилица навсякъде (Manrope с lang="bg" иначе рисува „д“ като g, „т“ като m) */
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; font-feature-settings: "locl" 0; }
a { color: inherit; text-decoration: none; } a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; text-wrap: pretty; overflow-wrap: normal; word-break: normal; hyphens: manual; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding-left: 20px; }
figure { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; flex: none; width: 38px; height: 1px; background: currentColor; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: 18px; line-height: 1.75; color: var(--ink2); }
.sr { position: absolute; left: -9999px; }
.hp { position: absolute; left: -9999px; }
.hidden { display: none !important; }

/* Buttons — прави, без заобляне */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 1px solid var(--navy); border-radius: 0; background: var(--navy); color: #fff; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: #2c3347; color: #fff; }
.btn.gold { background: var(--gold2); border-color: var(--gold2); color: #152a3c; } .btn.gold:hover { background: var(--gold3); border-color: var(--gold3); color: #152a3c; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); } .btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); } .btn.light:hover { background: var(--bg2); color: var(--ink); }
.btn.outline-light { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; } .btn.outline-light:hover { border-color: var(--gold2); color: #fff; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn svg { flex: none; }

/* Top bar + nav */
.topbar { background: var(--navy); color: #e5e7e6; font-size: 13px; letter-spacing: .02em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; } .topbar a:hover { color: var(--gold2); }
.topbar .lang { letter-spacing: .14em; font-size: 12px; padding-left: 14px; margin-left: 10px; border-left: 1px solid rgba(255,255,255,.25); }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 5px 25px rgba(20,34,50,.03); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; line-height: 1.12; }
.brand .mark { flex: none; width: 46px; height: 52px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 26px; line-height: 1; }
.brand .name { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.brand .name small { display: block; margin-top: 5px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #69757e; }
.brand:hover { color: inherit; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.menu a { padding: 8px 0; border-bottom: 1px solid transparent; }
.menu a:hover { color: #806335; border-color: var(--gold); }
.menu a.on { border-bottom-color: var(--gold); color: var(--ink); }
.menu .cta { margin-left: 6px; min-height: 48px; padding: 0 20px; background: var(--navy); border-color: var(--navy); color: #fff; }
.menu .cta:hover { background: #2c3347; color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 0; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
@media (max-width: 1100px) { .menu { gap: 16px; font-size: 14px; } .brand .name { font-size: 17px; } }
@media (max-width: 960px) {
  .nav .wrap { min-height: 80px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(16,28,42,.1); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu a.on { color: var(--gold); }
  .menu .cta { margin: 14px 0 0; }
  .burger { display: inline-flex; }
  .topbar .hide-m { display: none; }
  .topbar .only-m { display: inline; }
}
@media (max-width: 480px) { .brand .mark { width: 40px; height: 46px; font-size: 22px; } .brand .name { font-size: 15.5px; } .brand .name small { font-size: 9.5px; } }

/* Sections */
.section { padding: 104px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg2); }
.section.white { background: #fff; }
.section.dark { background: var(--navy); color: var(--on-navy); }
.section.dark .eyebrow { color: var(--gold2); }
.section.dark .lead, .section.dark p.mute { color: var(--on-navy2); }
.section.dark h2 { color: #fff; }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(30px, 3.3vw, 50px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.sec-head.row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 64px; }
.sec-head.row > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.sec-head.row > p { max-width: 380px; padding-left: 26px; border-left: 1px solid rgba(201,160,99,.45); color: var(--ink2); line-height: 1.8; }
.section.dark .sec-head.row > p { color: var(--on-navy2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .section { padding: 80px 0; } .sec-head.row { flex-direction: column; align-items: flex-start; gap: 20px; } }
@media (max-width: 600px) { :root { --gutter: 18px; } .section { padding: 64px 0; } .sec-head { margin-bottom: 32px; } .lead { font-size: 17px; } }

/* Hero — Съдебната палата нощем */
.hero { position: relative; overflow: hidden; color: #fff; padding: 110px 0 120px; min-height: 690px; display: flex; align-items: center; background: var(--navy) url(../images/site/hero-palace-v3.jpg) center 46% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,28,42,.88) 0%, rgba(16,28,42,.76) 30%, rgba(16,28,42,.52) 48%, rgba(16,28,42,.14) 68%, rgba(16,28,42,0) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: #e0c99e; }
.hero .eyebrow::before { width: 52px; background: var(--gold2); }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 4.4vw, 68px); line-height: 1.16; letter-spacing: -.03em; color: #fff; }
.hero h1 span { display: block; color: var(--gold3); }
.hero .lead { margin-top: 28px; max-width: 560px; color: #dbe2e9; line-height: 1.9; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); } .hero .btn.ghost:hover { background: transparent; border-color: var(--gold2); color: #fff; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 44px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); max-width: 880px; }
.hero-facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; color: #fff; }
.hero-facts span { display: block; max-width: 190px; margin-top: 6px; font-size: 13px; line-height: 1.5; color: #aeb9c4; }
.hero-credit { position: absolute; right: 20px; bottom: 14px; z-index: 2; padding: 4px 10px; background: rgba(16,28,42,.66); color: #cfd6dc; font-size: 11.5px; line-height: 1.6; }
.hero-credit a { text-decoration: underline; text-underline-offset: 3px; } .hero-credit a:hover { color: var(--gold3); }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 72px 0 96px; background-position: 62% 40%; }
  .hero::before { background: linear-gradient(90deg, rgba(16,28,42,.86), rgba(16,28,42,.64) 60%, rgba(16,28,42,.4)); }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 48px; }
}
@media (max-width: 600px) { .hero { padding: 56px 0 92px; } .hero h1 { font-size: 38px; } .hero .actions .btn { flex: 1 1 100%; } .hero-facts b { font-size: 24px; } .hero-credit { left: 18px; right: auto; max-width: calc(100% - 36px); } }

/* За нас — снимка с изместена рамка */
.intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 32px 80px; align-items: center; }
.editorial-photo { position: relative; padding: 0 20px 20px 0; }
.editorial-photo::after { content: ""; position: absolute; inset: 24px 0 0 24px; border: 1px solid #b7a784; pointer-events: none; }
.editorial-photo img { position: relative; z-index: 1; width: 100%; height: 440px; object-fit: cover; }
.intro h2 { font-size: clamp(30px, 3.1vw, 48px); margin-top: 16px; }
.intro-copy { margin-top: 26px; color: var(--ink2); line-height: 1.85; }
.intro-copy p { margin-bottom: 18px; } .intro-copy p:first-child { font-size: 18px; color: var(--ink); }
.signature { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(201,160,99,.5); font-family: var(--serif); font-size: 20px; line-height: 1.5; color: #283345; }
.intro-wrap { position: relative; }
.intro-wrap::after { content: ""; position: absolute; right: 0; bottom: -80px; width: 240px; height: 190px; background: radial-gradient(rgba(165,133,78,.33) .7px, transparent 1px) 0 0 / 8px 8px; pointer-events: none; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .editorial-photo img { height: 320px; } .intro-wrap::after { display: none; } }

/* Услуги (4) — номерирани колони с линия отгоре */
.svc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 36px; counter-reset: svc; }
.svc { display: flex; flex-direction: column; gap: 12px; padding: 28px 0 8px; border-top: 1px solid var(--line); transition: border-color .2s; }
.svc::before { counter-increment: svc; content: "0" counter(svc); display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.svc:hover { border-top-color: var(--gold); color: inherit; }
.svc h3 { font-size: 23px; line-height: 1.3; }
.svc p { font-size: 15.5px; color: var(--ink2); }
.svc .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--gold); }
@media (max-width: 1000px) { .svc-list { grid-template-columns: 1fr 1fr; gap: 0 32px; } }
@media (max-width: 600px) { .svc-list { grid-template-columns: 1fr; } }

/* Области — тъмна секция с гравюри */
.practice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.practice-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.14); align-items: start; transition: border-color .2s; }
.practice-row:hover { border-top-color: var(--gold2); color: inherit; }
.practice-row .art { width: 150px; height: 150px; background: var(--icon-bg); border: 1px solid rgba(201,160,99,.18); overflow: hidden; }
.practice-row .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.practice-row:hover .art img { transform: scale(1.05); }
.practice-row .num { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gold2); }
.practice-row .num::after { content: ""; width: 26px; height: 1px; background: rgba(201,160,99,.5); }
.practice-row h3 { margin: 10px 0 12px; font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.55; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.practice-row p { font-size: 15.5px; line-height: 1.8; color: var(--on-navy2); }
.practice-row .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--gold2); }
@media (max-width: 1000px) { .practice { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .practice-row { grid-template-columns: 84px minmax(0, 1fr); gap: 18px; padding: 26px 0; } .practice-row .art { width: 84px; height: 84px; } .practice-row h3 { font-size: 15px; } }

/* Cards & grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) { .grid3, .grid2, .grid4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.card h3 { font-size: 22px; } .card p { font-size: 15.5px; color: var(--ink2); }
.card .more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--gold); }
a.card:hover { color: inherit; border-color: #c9b58f; box-shadow: inset 0 3px 0 var(--gold); }
.card .ico { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg2); color: var(--gold); margin-bottom: 4px; }
.card.dark { background: var(--navy2); border-color: var(--navy3); color: var(--on-navy); } .card.dark p { color: var(--on-navy2); } .card.dark h3 { color: #fff; }
.area-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* Quote — тъмна лента с точков растер */
.principle { background-color: var(--navy); background-image: var(--dots-gold); color: #f8f7f2; border-top: 1px solid rgba(201,160,99,.6); padding: 84px 0; }
.principle .quote-grid { display: grid; grid-template-columns: .7fr 1.6fr; gap: 80px; align-items: center; }
.principle .latin { padding-left: 24px; border-left: 1px solid var(--gold2); font-family: var(--serif); font-size: 21px; line-height: 1.6; color: #d1b889; }
.principle blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.7vw, 40px); line-height: 1.4; }
@media (max-width: 900px) { .principle .quote-grid { grid-template-columns: 1fr; gap: 28px; } .principle { padding: 60px 0; } }
.quote { text-align: center; max-width: 860px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.quote .latin { font-size: 16px; color: var(--mute); margin-bottom: 12px; font-family: var(--serif); }

/* ИИ асистент — бяла карта със злато отгоре и растер вляво */
.assistant { display: grid; grid-template-columns: 230px minmax(0, 1fr); background: #fff; border: 1px solid #c9d2d8; border-top: 3px solid var(--gold); box-shadow: 0 16px 44px rgba(31,36,50,.04); }
.assistant-art { position: relative; display: grid; place-items: center; min-height: 380px; background-color: #e2e9ec; background-image: var(--dots-grey); border-right: 1px solid #c9d2d8; }
.assistant-lattice { width: 125px; height: 165px; position: relative; transform: rotate(-18deg); }
.assistant-lattice i { position: absolute; inset: 0; border: 1px solid #658492; border-radius: 48%; background: rgba(227,234,237,.33); }
.assistant-lattice i:nth-child(2) { transform: rotate(35deg); } .assistant-lattice i:nth-child(3) { transform: rotate(70deg); } .assistant-lattice i:nth-child(4) { transform: rotate(105deg); border-color: #af915c; }
.assistant-body { padding: 44px 48px; }
.assistant-body .eyebrow { color: #577c88; }
.assistant-body h2 { margin: 14px 0 16px; font-size: clamp(30px, 2.8vw, 42px); }
.assistant-body > p { color: var(--ink2); }
.case-box { position: relative; margin-top: 26px; }
.case-box textarea { min-height: 150px; padding: 18px 18px 36px; line-height: 1.7; background: #fafbf9; border: 1px solid #cdd7d7; }
.case-box .counter { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: #718896; }
.case-actions { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 18px; }
.case-actions .fine { font-size: 13.5px; }
.assistant .steps-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); counter-reset: st; }
.steps-mini div { font-size: 14px; line-height: 1.6; color: var(--ink2); }
.steps-mini b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.steps-mini b::before { counter-increment: st; content: "0" counter(st) "  "; color: var(--gold); font-weight: 600; letter-spacing: .08em; white-space: pre; }
@media (max-width: 1000px) { .assistant { grid-template-columns: 1fr; } .assistant-art { min-height: 130px; border-right: 0; border-bottom: 1px solid #c9d2d8; } .assistant-lattice { width: 70px; height: 95px; } .case-actions { grid-template-columns: 1fr; } .case-actions .btn { justify-self: start; } }
@media (max-width: 600px) { .assistant-body { padding: 28px 20px; } .steps-mini { grid-template-columns: 1fr !important; gap: 14px !important; } .case-actions .btn { justify-self: stretch; } }

/* CTA band */
.cta-band { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; padding: 44px 48px; background: var(--navy); background-image: var(--dots-gold); color: var(--on-navy); border-top: 3px solid var(--gold); }
.cta-band h2 { font-size: clamp(24px, 2.6vw, 34px); color: #fff; }
.cta-band p { color: var(--on-navy2); margin-top: 12px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: 30px 24px; } .cta-band .actions { justify-content: flex-start; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; counter-reset: step; }
.step { padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gold2); }
.step h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--on-navy2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* Екип — портрети */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.member { display: flex; flex-direction: column; }
.member .portrait { height: 330px; overflow: hidden; background: #dbdcda; }
.member .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .5s; }
.member:hover .portrait img { transform: scale(1.03); }
.member .details { flex: 1; display: flex; flex-direction: column; padding-top: 26px; border-top: 3px solid #b39561; }
.member h3 { font-size: 26px; line-height: 1.35; }
.member .role { margin: 10px 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #806437; }
.member p { font-size: 15.5px; line-height: 1.8; color: var(--ink2); }
.member .more { margin-top: auto; padding-top: 22px; align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.member .more span { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.member:hover { color: inherit; } .member:hover .more span { border-color: var(--gold); color: var(--gold); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; gap: 32px; } .member { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 18px; } .member .portrait { height: 150px; border-bottom: 3px solid #b39561; } .member .details { padding-top: 0; border-top: 0; } .member h3 { font-size: 21px; } .member .role { margin: 6px 0 10px; font-size: 12px; } .member p { font-size: 14.5px; line-height: 1.7; } .member .more { padding-top: 12px; } }

.person { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; padding: 0 0 48px; background: none; border: 0; border-bottom: 1px solid var(--line); }
.person + .person { padding-top: 16px; }
.person img { width: 320px; height: 380px; object-fit: cover; object-position: center 22%; border-bottom: 3px solid #b39561; background: #dbdcda; }
.person h3 { font-size: 32px; } .person .role { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #806437; margin: 8px 0 18px; }
.person p { font-size: 16px; line-height: 1.85; color: var(--ink2); } .person p + p { margin-top: 12px; }
.person .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .person .tags span { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink2); }
@media (max-width: 800px) { .person { grid-template-columns: 1fr; gap: 24px; } .person img { width: 100%; max-width: 420px; height: 380px; } }
.team-cards .card { align-items: center; text-align: center; } .team-cards img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.team-strip { display: flex; align-items: center; margin-top: 18px; gap: 12px; }
.team-strip .avatars { display: flex; } .team-strip img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--bg); object-fit: cover; margin-left: -12px; } .team-strip img:first-child { margin-left: 0; }
.team-strip span { font-size: 14px; color: var(--ink2); }

/* Page header (inner pages) */
.page-head { padding: 64px 0 48px; border-bottom: 1px solid var(--line); background: var(--bg); }
.page-head h1 { font-size: clamp(34px, 4vw, 56px); margin-top: 16px; max-width: 900px; }
.page-head .lead { margin-top: 18px; max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.crumbs a { color: var(--mute); } .crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; color: var(--mute); }
.page-head.photo { position: relative; color: #fff; padding: 88px 0 72px; border-bottom: 0; background: var(--navy) center/cover no-repeat; }
.page-head.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,28,42,.96) 0%, rgba(16,28,42,.86) 45%, rgba(16,28,42,.55) 100%); }
.page-head.photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(214,188,135,.14) .7px, transparent .9px) 0 0 / 7px 7px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.page-head.photo .wrap { position: relative; z-index: 1; } .page-head.photo h1 { color: #fff; } .page-head.photo .lead { color: #dbe2e9; } .page-head.photo .eyebrow { color: #e0c99e; }
.page-head.photo .crumbs { color: #e0c99e; } .page-head.photo .crumbs a, .page-head.photo .crumbs span { color: #aeb9c4; } .page-head.photo .crumbs a:hover { color: var(--gold3); } .page-head.photo .meta { color: #aeb9c4; }
@media (max-width: 600px) { .page-head.photo { padding: 56px 0 48px; } }

/* Article / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 44px 0 14px; } .prose h3 { font-size: 22px; margin: 30px 0 10px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--ink2); font-size: 17px; line-height: 1.85; } .prose p strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 18px; color: var(--ink2); font-size: 16.5px; line-height: 1.8; } .prose li { margin-bottom: 6px; }
.prose .box { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); margin: 24px 0; font-size: 16px; }
.prose .box b { color: var(--ink); }
.prose .warn { padding: 18px 20px; background: #fbf6ec; border: 1px solid #e8d7b8; border-left: 3px solid #b8864f; font-size: 15px; color: #6b4d1f; margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 12px 0 22px; } .prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; } .prose th { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 40px; } }
.side { position: sticky; top: 116px; display: flex; flex-direction: column; gap: 18px; }
.side .card { border-top: 3px solid var(--gold); }
.side .card h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; }
.side .card ul { padding-left: 18px; font-size: 15px; color: var(--ink2); } .side .card li { margin-bottom: 6px; }
.side .card.dark { border-top-color: var(--gold2); background-image: var(--dots-gold); }
.meta { font-size: 13.5px; color: var(--mute); margin-top: 14px; }
.checklist { list-style: none; padding: 0; } .checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border: 1px solid var(--gold); background: #fff; }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.4; position: relative; }
.faq summary:hover { color: #806335; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-size: 26px; color: var(--gold); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 22px; color: var(--ink2); font-size: 16px; line-height: 1.8; max-width: 780px; }

/* Articles list */
.post { display: flex; flex-direction: column; gap: 8px; padding: 28px; background: var(--paper); border: 1px solid var(--line); }
.post .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post h3 { font-size: 22px; line-height: 1.3; } .post p { font-size: 15.5px; color: var(--ink2); }
.post .more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--gold); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-rows { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-rows .r { display: grid; grid-template-columns: 150px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-rows .r > span { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #62717c; padding-top: 2px; }
.contact-rows a { font-weight: 600; }
@media (max-width: 600px) { .contact-rows .r { grid-template-columns: 1fr; gap: 4px; } }
.map-card { position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 48px; background-color: #f0f3f4; background-image: radial-gradient(rgba(157,169,176,.36) .8px, transparent .8px); background-size: 8px 8px; border: 1px solid #cfd7d1; border-top: 3px solid var(--gold); }
.map-card h3 { margin-top: 18px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.4; max-width: 420px; }
.map-card .btn { align-self: flex-start; } .map-card .btn.ghost { background: #fff; } .map-card .btn.ghost:hover { background: var(--ink); }
@media (max-width: 600px) { .map-card { padding: 30px 24px; min-height: 0; } }
.contact-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.contact-list .row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--line); }
.contact-list .row svg { flex: none; color: var(--gold); margin-top: 3px; }
.contact-list b { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
.contact-list a { font-weight: 600; }
.map { border: 1px solid var(--line); overflow: hidden; background: var(--bg2); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; } form label { font-size: 13.5px; font-weight: 700; }
input[type=text], input[type=tel], input[type=email], textarea, select { width: 100%; font: inherit; font-size: 16px; padding: 13px 15px; border: 1px solid #cdd7d7; border-radius: 0; background: #fafbf9; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #577c88; box-shadow: 0 0 0 3px rgba(87,124,136,.12); }
textarea { min-height: 140px; resize: vertical; }
.msg { padding: 12px 14px; font-size: 14px; margin: 12px 0; } .msg.err { background: #fbe9e7; color: #8a2d22; } .msg.ok { background: #e8f3e8; color: #1f5a2a; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink2); } .consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--gold); } .consent a { text-decoration: underline; }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy2); padding: 72px 0 32px; font-size: 14.5px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); margin-bottom: 16px; }
.footer a { color: var(--on-navy); } .footer a:hover { color: var(--gold3); }
.footer ul { list-style: none; padding: 0; } .footer li { margin-bottom: 9px; }
.footer .brand .name { color: #fff; } .footer .brand .name small { color: var(--on-navy3); } .footer .brand .mark { border-color: var(--gold2); color: var(--gold2); }
.footer .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--navy3); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: var(--on-navy3); }
.footer .bottom a { color: var(--on-navy3); text-decoration: underline; text-underline-offset: 3px; }
.footer .bottom a:hover { color: var(--gold3); }
.footer .note { font-size: 13px; color: var(--on-navy3); margin-top: 18px; line-height: 1.7; max-width: 380px; }

/* Mobile call bar */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); border-top: 1px solid var(--gold); gap: 10px; }
.callbar .btn { flex: 1; min-height: 46px; font-size: 14px; padding: 0 10px; white-space: nowrap; }
@media (max-width: 640px) { .callbar { display: flex; } body { padding-bottom: 70px; } }

/* Kazus (chat) page */
.kz-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .kz-grid { grid-template-columns: 1fr; } }
.chat { display: flex; flex-direction: column; background: var(--paper); border: 1px solid #c9d2d8; border-top: 3px solid var(--gold); overflow: hidden; }
.chat-log { display: flex; flex-direction: column; gap: 12px; padding: 24px; min-height: 340px; max-height: 60vh; overflow-y: auto; background: #fff; }
.bub { max-width: 88%; padding: 13px 17px; font-size: 15.5px; line-height: 1.6; white-space: pre-wrap; }
.bub.ai { align-self: flex-start; background: var(--bg2); border-left: 2px solid #577c88; }
.bub.me { align-self: flex-end; background: var(--navy); color: #fff; }
.bub.sys { align-self: center; background: transparent; color: var(--mute); font-size: 13.5px; }
.bub .typing { display: inline-flex; gap: 4px; } .bub .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; } .bub .typing i:nth-child(2) { animation-delay: .2s; } .bub .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-in { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); background: #fafbf9; }
.chat-in textarea { min-height: 52px; max-height: 160px; resize: none; background: #fff; }
.chat-in .btn { min-height: 52px; padding: 0 20px; }
.chat-hint { padding: 0 14px 12px; font-size: 12.5px; color: var(--mute); background: #fafbf9; }
.kz-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--paper); border: 1px solid #c9d2d8; border-top: 3px solid var(--gold); }
.kz-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.kz-card h3 i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--gold); color: var(--gold); font-style: normal; font-size: 12px; font-weight: 700; }
.doclist { display: flex; flex-direction: column; gap: 8px; }
.docitem { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); }
.docitem b { display: block; font-size: 14.5px; } .docitem small { font-size: 13px; color: var(--mute); }
.docitem .st { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; padding: 3px 8px; background: #fff; border: 1px solid var(--line); color: var(--mute); }
.docitem .st.ok { background: #e8f3e8; color: #1f5a2a; border-color: #cfe5cf; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px; border: 1px dashed var(--gold); background: #fafbf9; text-align: center; cursor: pointer; }
.drop b { font-size: 14.5px; } .drop small { font-size: 12.5px; color: var(--mute); }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.file { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.file button { border: 0; background: none; cursor: pointer; color: #8a7a63; font-size: 16px; line-height: 1; padding: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.fine { font-size: 13px; line-height: 1.6; color: var(--mute); }
.dl-list { padding-left: 18px; font-size: 14px; color: var(--ink2); }

/* Снимки в карти и секции */
.card.pic { padding: 0; overflow: hidden; }
.card.pic .img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg2); }
.card.pic .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.card.pic:hover .img img { transform: scale(1.035); }
.card.pic .body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.card.pic .body .more { margin-top: auto; }
.card.pic .img.sq { aspect-ratio: 4/3; }
.section.photo { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; }
.section.photo::before { content: ""; position: absolute; inset: 0; background: rgba(16,28,42,.9); }
.section.photo .wrap { position: relative; } .section.photo .eyebrow { color: var(--gold2); } .section.photo h2 { color: #fff; }
.section.photo .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #fff; } .section.photo .card h3 { color: #fff; } .section.photo .card p { color: var(--on-navy2); }
.section.quote-bg { position: relative; background: var(--bg2) center/cover no-repeat; }
.section.quote-bg::before { content: ""; position: absolute; inset: 0; background: rgba(237,241,244,.93); } .section.quote-bg .wrap { position: relative; }
.figure { position: relative; overflow: visible; padding: 0 16px 16px 0; }
.figure::after { content: ""; position: absolute; inset: 20px 0 0 20px; border: 1px solid #b7a784; pointer-events: none; }
.figure img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { position: relative; z-index: 1; padding: 10px 14px; font-size: 13px; color: var(--mute); background: var(--paper); }

/* „Защо нас“ — 2×2 с линии */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.why > div { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.16); }
.why h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why p { font-size: 15px; color: var(--on-navy2); line-height: 1.75; }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
/* панелът с документите светва, когато асистентът даде списъка */
.kz-card.flash { animation: kzflash 1.6s ease-out 2; }
@keyframes kzflash { 0% { box-shadow: 0 0 0 0 rgba(201,160,99,.75); border-color: var(--gold); } 100% { box-shadow: 0 0 0 14px rgba(201,160,99,0); } }
.bub.sys { font-weight: 600; color: #806437; }
/* хиро: латинската сентенция до „Защото…“ и отделен ред за представителството */
.hero-latin { margin-top: 16px; padding-left: 18px; border-left: 1px solid var(--gold2); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--gold3); max-width: 560px; }
.hero-sub { margin-top: 26px; max-width: 560px; font-size: 16px; line-height: 1.8; color: #aeb9c4; }
@media (max-width: 600px) { .hero-latin { font-size: 17px; } }

.hero h1, .hero .lead, .hero-latin, .hero-sub, .hero-facts { text-shadow: 0 1px 14px rgba(8,16,26,.55); }

.footer .bottom .credit { flex-basis: 100%; font-size: 11.5px; opacity: .75; }
/* секцията „практика пред съдилищата в Хасково“ — съдебната палата на Хасково отзад */
.section.photo.court { background-position: center 55%; }
.section.photo.court::before { background: linear-gradient(90deg, rgba(16,28,42,.9) 0%, rgba(16,28,42,.72) 45%, rgba(16,28,42,.62) 100%); }
@media (max-width: 360px) { .callbar .btn { font-size: 13px; padding: 0 6px; } } /* „Свържете се с нас“ да се събира на малки телефони (02.10.2026) */
@media (min-width: 961px) { .topbar .only-m { display: none; } } /* адресът горе само на телефон; на компютър е в .hide-m (02.10.2026) */
