/* LexorCorp Global — blocks. Every page section is one self-contained block:
   <section class="b-NAME" data-block="NAME">…</section>
   Styles below are scoped to that class only, so a block can be added,
   removed or moved without affecting any other block. */

/* ── header (MICA WEB4: top bar with trust + contact, then main bar) ─ */
.b-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(11,31,58,.02); }
.b-header .topbar { background: var(--ink); color: #c8d3e3; font-size: .82rem; }
.b-header .topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.b-header .topbar p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.b-header .topbar .trustline span + span::before { content: "·"; margin-right: 18px; color: var(--gold); }
.b-header .topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.b-header .topbar a:hover { text-decoration: underline; color: #fff; }
.b-header .topbar .contactline { margin-left: auto; }
@media (max-width: 859px) { .b-header .topbar .trustline { display: none; } .b-header .topbar .contactline { margin: 0 auto; } }
.b-header .mainbar { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; }
.b-header .brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.b-header .brand img { display: block; width: 165px; height: auto; }
@media (min-width: 720px) { .b-header .brand img { width: 180px; } }
.b-header nav ul { list-style: none; margin: 0; padding: 0; }
.b-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.b-header nav a:hover { color: var(--accent); }
.b-header nav a[aria-current="page"] { color: var(--accent); }
.b-header .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
/* MICA NAV: narrow screens — menu is a drawer on the right, from under the header to the very
   bottom of the screen; a dark backdrop covers the page (click = close); site.js locks page scroll
   while it is open (only the menu scrolls) and restores the same scroll position on close. */
.b-header nav { position: fixed; top: var(--nav-top, 102px); right: 0; bottom: 0; width: min(380px, 86vw); background: var(--surface); border-left: 1px solid var(--line); display: none; box-shadow: var(--shadow); overflow-y: auto; overscroll-behavior: contain; z-index: 2; }
.b-header nav.open { display: block; }
.b-header nav li a { display: block; padding: 14px var(--gutter); border-top: 1px solid var(--line); }
.b-header nav li:first-child a { border-top: 0; }
.b-header nav li a.btn { margin: 12px var(--gutter) 24px; display: flex; color: #fff; }
.nav-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(11, 20, 35, .55); }
html.nav-locked .b-header { z-index: 40; }  /* open menu above everything fixed, e.g. the order form's total bar (30) */
.nav-backdrop[hidden] { display: none; }
html.nav-locked body { overflow: hidden; }  /* body overflow goes to the viewport, so the sticky header stays put */
/* wide screens: normal horizontal menu, always visible, no Menu button */
@media (min-width: 1000px) {
  .b-header .menu-toggle { display: none; }
  .b-header nav { position: static; display: block; width: auto; border: 0; background: none; box-shadow: none; overflow: visible; }
  .b-header nav ul { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
  .b-header nav li a { padding: 0; border: 0; font-size: .88rem; }
  .b-header nav li a.btn { margin: 0; padding: .5em 1em; min-height: 40px; }
  .b-header .brand img { width: 140px; }
  .nav-backdrop { display: none; }
}
@media (min-width: 1180px) {
  .b-header nav ul { gap: 20px; }
  .b-header nav li a { font-size: .93rem; }
  .b-header nav li a.btn { padding: .55em 1.15em; }
  .b-header .brand img { width: 180px; }
}

/* ── hero ───────────────────────────────────────────────────────────── */
.b-hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.b-hero h1 { max-width: 16em; }
.b-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.b-hero .facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .93rem; }
.b-hero .facts li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
@media (min-width: 720px) { .b-hero { padding: 84px 0 64px; } }

/* ── page-intro (inner pages) ───────────────────────────────────────── */
.b-page-intro { padding: 40px 0 12px; }
/* MICA NAV: breadcrumb trail + "Back to <parent>" link (template: crumbs_html() in mica_seo_build.py) */
.b-page-intro .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.b-page-intro .crumbs .back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.b-page-intro .crumbs .back:hover { border-color: var(--accent); color: var(--accent); }
.b-page-intro .crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; min-width: 0; }
.b-page-intro .crumbs li { overflow-wrap: anywhere; }
.b-page-intro .crumbs li + li::before { content: "/"; margin: 0 .5em; color: var(--line-strong); }
.b-page-intro .crumbs ol a { color: var(--accent); }
.b-page-intro .crumbs li[aria-current] { color: var(--ink-soft); }

/* ── service-cards ──────────────────────────────────────────────────── */
.b-service-cards { padding: 48px 0 60px; }
.b-service-cards .grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 720px) { .b-service-cards .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .b-service-cards .grid { grid-template-columns: repeat(3, 1fr); } }
.b-service-cards .card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s; }
.b-service-cards .card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.b-service-cards .card h3 { font-size: 1.25rem; }
.b-service-cards .card .price { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; margin: 2px 0 10px; color: var(--accent); }
.b-service-cards .card .price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--muted); }
.b-service-cards .card p { color: var(--ink-soft); flex: 1; }
.b-service-cards .card .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ── package (price + includes + add-ons, rendered from prices.json) ─ */
.b-package { padding: 24px 0 48px; }
.b-package .layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .b-package .layout { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.b-package .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.b-package .headline-price { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; line-height: 1; margin: 0 0 4px; }
.b-package .headline-price small { font: 500 .95rem var(--sans); color: var(--muted); }
.b-package ul.includes { list-style: none; padding: 0; margin: 16px 0; }
.b-package ul.includes li { padding: 8px 0 8px 28px; border-top: 1px solid var(--line); position: relative; }
.b-package ul.includes li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.b-package ul.includes li.key { font-weight: 600; }
.b-package .excludes { margin: 12px 0; }
.b-package .individuals-only { margin: 0 0 16px; }
.b-package .variants { display: grid; gap: 10px; margin: 14px 0 6px; }
.b-package .variant { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.b-package .variant-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.b-package .variant-price { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; white-space: nowrap; }
.b-package .variant p { margin: 4px 0 0; }

/* ── price-list (table of priced lines, rendered from prices.json) ─── */
.price-list { width: 100%; border-collapse: collapse; }
.price-list th, .price-list td { text-align: left; padding: 11px 4px; border-top: 1px solid var(--line); vertical-align: top; }
.price-list thead th { border-top: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.price-list td.amount { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-list .unit { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }

/* ── steps ──────────────────────────────────────────────────────────── */
.b-steps { padding: 48px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b-steps ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 720px) { .b-steps ol { grid-template-columns: repeat(4, 1fr); } }
.b-steps li { counter-increment: s; padding-top: 44px; position: relative; }
.b-steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; }
.b-steps li strong { display: block; margin-bottom: 4px; }
.b-steps li span { color: var(--ink-soft); font-size: .95rem; }

/* ── trust (MICA WEB4: licence, address, years — the credibility band) ─ */
.b-trust { padding: 52px 0; background: var(--ink); color: #c8d3e3; }
.b-trust h2 { color: #fff; }
.b-trust .eyebrow { color: #d6b98c; }
.b-trust .grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 720px) { .b-trust .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .b-trust .grid { grid-template-columns: repeat(4, 1fr); } }
.b-trust .item { border-top: 2px solid var(--gold); padding-top: 14px; }
.b-trust .item strong { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 4px; color: #fff; }
.b-trust .item span { color: #c8d3e3; font-size: .95rem; }

/* ── cta ────────────────────────────────────────────────────────────── */
.b-cta { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--line); }
.b-cta .wrap { display: grid; gap: 8px; }
.b-cta p { color: var(--ink-soft); max-width: 40em; }
.b-cta .actions, .b-cta .wrap > .btn { justify-self: start; }
.b-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.b-cta .contact-alt { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.b-cta .contact-alt a { font-weight: 600; }

/* ── prose (legal / text pages) ─────────────────────────────────────── */
.b-prose { padding: 16px 0 56px; }
.b-prose .wrap > div { max-width: 46em; }
.b-prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.b-prose dl { display: grid; grid-template-columns: 1fr; gap: 2px 18px; }
.b-prose dt { font-weight: 600; margin-top: 10px; }
.b-prose dd { margin: 0; color: var(--ink-soft); }
@media (min-width: 600px) { .b-prose dl { grid-template-columns: 12em 1fr; } .b-prose dt { margin-top: 0; } }

/* ── order form ─────────────────────────────────────────────────────── */
.b-order { padding: 16px 0 64px; }
.b-order .layout { display: grid; gap: 20px; }
@media (min-width: 960px) { .b-order .layout { grid-template-columns: 1fr 340px; align-items: start; } }
.b-order fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; margin: 0 0 18px; min-width: 0; }
.b-order legend { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; padding: 0 6px; }
.b-order .choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 8px; margin-top: 10px; cursor: pointer; }
.b-order .choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.b-order .choice input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.b-order .choice .t { flex: 1; min-width: 0; }
.b-order .choice .t strong { display: block; }
.b-order .choice .p { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-order .addons { margin: 8px 0 4px 16px; padding-left: 14px; border-left: 2px solid var(--accent-soft); }
.b-order .addons[hidden] { display: none; }
.b-order .variant-group { margin: 6px 0 10px; }
.b-order .variant-group .choice { margin-top: 6px; padding: 10px; }
.b-order .variant-group .choice input { width: 18px; height: 18px; }
.b-order.is-entity .p, .b-order.is-entity .tag, .b-order .is-entity .p, .b-order .is-entity .tag { display: none; }
.b-order .is-entity .total-bar strong { font-size: 1rem; }
.b-order .addon { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px dashed var(--line); }
.b-order .addon:first-child { border-top: 0; }
.b-order .addon input[type=checkbox] { margin-top: 3px; width: 19px; height: 19px; flex: none; accent-color: var(--accent); }
.b-order .addon label { flex: 1; min-width: 0; cursor: pointer; }
.b-order .addon .p { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.b-order .addon .qty { width: 64px; min-height: 36px; margin-left: 6px; }
.b-order .tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--warn); background: var(--warn-soft); border-radius: 4px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
.b-order .field { margin-top: 14px; }
.b-order .field label { display: block; font-weight: 600; margin-bottom: 4px; }
.b-order .field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.b-order input[type=text], .b-order input[type=email], .b-order input[type=tel], .b-order input[type=number], .b-order select, .b-order textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); font: 16px var(--sans);
}
.b-order textarea { min-height: 110px; resize: vertical; }
.b-order .row2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .b-order .row2 { grid-template-columns: 1fr 1fr; } }
.b-order .err { color: var(--danger); font-size: .88rem; margin-top: 4px; }
.b-order [aria-invalid="true"] { border-color: var(--danger) !important; }
.b-order .hp { position: absolute; left: -5000px; }
.b-order .summary { position: sticky; top: 80px; }
.b-order .summary .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.b-order .summary h2 { font-size: 1.2rem; }
.b-order .summary ul { list-style: none; padding: 0; margin: 0 0 10px; font-size: .92rem; }
.b-order .summary li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.b-order .summary li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-order .summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; }
.b-order .summary .total strong { font-family: var(--serif); font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.b-order .summary .quote { font-size: .88rem; color: var(--warn); margin-top: 10px; }
.b-order .submit-row { margin-top: 18px; display: grid; gap: 10px; }
.b-order .submit-row .btn { width: 100%; }
.b-order .status { margin-top: 12px; }
/* Mobile: the running total stays visible as a bar at the bottom of the screen. */
.b-order .total-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); font-weight: 600; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.b-order .total-bar strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.b-order .total-bar a { color: #fff; font-size: .9rem; }
@media (min-width: 960px) { .b-order .total-bar { display: none; } }
@media (max-width: 959px) { .b-order { padding-bottom: 96px; } .b-order .summary { position: static; } }

/* ── footer ─────────────────────────────────────────────────────────── */
.b-footer { background: var(--ink); color: #b8c4d6; padding: 52px 0 28px; font-size: .93rem; border-top: 3px solid var(--gold); }
.b-footer a { color: #eef2f7; text-decoration: none; }
.b-footer a:hover { color: #fff; text-decoration: underline; }
.b-footer .cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .b-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .b-footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.b-footer h2 { font-size: .8rem; color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.b-footer .f-brand { margin: 0 0 14px; }
.b-footer .f-brand img { display: block; width: 195px; height: auto; background: #fff; border-radius: 8px; padding: 8px 12px; box-sizing: content-box; }
.b-footer ul { list-style: none; padding: 0; margin: 0; }
.b-footer li { margin: 7px 0; }
.b-footer .trust li { padding-left: 20px; position: relative; }
.b-footer .trust li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.b-footer .contact a { font-weight: 600; font-size: 1rem; }
.b-footer .legal { border-top: 1px solid #22324d; margin-top: 32px; padding-top: 18px; font-size: .82rem; }

/* ── VAT number marker (MICA WEB2): must be clearly visible everywhere ── */
.vat-badge { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.vat-badge.vat-yes { background: var(--ok-soft); color: var(--ok); border: 1.5px solid var(--ok); }
.vat-badge.vat-no { background: var(--warn-soft); color: var(--warn); border: 1.5px solid var(--warn); }
.b-package .variant.has-vat { border-left: 4px solid var(--ok); }
.b-package .variant.no-vat { border-left: 4px solid var(--warn); }
.b-package ul.includes li.vat-line::before { content: "!"; color: var(--warn); }
.b-order .variant-group .vat-badge { margin-top: 4px; }
.b-order .summary li.vat-row { font-weight: 700; }
.b-order .summary li.vat-row.vat-no span:last-child { color: var(--warn); }
.b-order .summary li.vat-row.vat-yes span:last-child { color: var(--ok); }
.b-service-cards .card .variants { display: grid; gap: 8px; margin: 0 0 12px; }
.b-service-cards .card .variant { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .92rem; }
.b-service-cards .card .variant.has-vat { border-left: 4px solid var(--ok); }
.b-service-cards .card .variant.no-vat { border-left: 4px solid var(--warn); }
.b-service-cards .card .variant-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.b-service-cards .card .variant-price { font-weight: 700; white-space: nowrap; }
.b-service-cards .card .variant p { display: none; }

/* ── companies (companies for sale, rendered from companies.json) ───── */
.b-companies { padding: 8px 0 56px; }
.b-companies .company-grid { display: grid; gap: 18px; margin-bottom: 20px; }
@media (min-width: 720px) { .b-companies .company-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .b-companies .company-grid { grid-template-columns: repeat(3, 1fr); } }
.b-companies .company-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.b-companies .company-card h2 { font-size: 1.3rem; margin: 8px 0 10px; overflow-wrap: anywhere; }
.b-companies .company-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 10px; font-size: .95rem; }
.b-companies .company-card dt { color: var(--muted); }
.b-companies .company-card dd { margin: 0; font-weight: 600; }
.b-companies .company-card dd .vat-badge { margin-top: 0; }
.b-companies .company-card .note { color: var(--ink-soft); font-size: .92rem; flex: 1; margin: 0 0 10px; }
.b-companies .company-price { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; margin: 4px 0 12px; }
.b-companies .status { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; }
.b-companies .status-available { background: var(--ok-soft); color: var(--ok); }
.b-companies .status-reserved { background: #d9d9d9; color: #444; }
.b-companies .company-card.is-reserved { background: #eeeeee; border-color: #cfcfcf; box-shadow: none; color: #6b6b6b; filter: grayscale(1); }
.b-companies .company-card.is-reserved h2, .b-companies .company-card.is-reserved .company-price { color: #6b6b6b; }
.b-companies .reserved-text { font-weight: 700; color: #555; margin: 0; }
.b-order .company-pick { margin: 6px 0 10px; padding: 12px; border: 1.5px solid var(--accent); border-radius: 8px; background: var(--accent-soft); }
.b-order .company-pick .company-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: 4px; }
.b-order .company-pick .choice { background: var(--surface); }

/* ── quote-form (licensed companies: quote request only — no total, no payment) ── */
.b-quote-form { padding: 8px 0 64px; scroll-margin-top: 72px; }
.b-quote-form .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); max-width: 820px; }
.b-quote-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0 0; min-width: 0; }
.b-quote-form legend { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; padding: 0 6px; }
.b-quote-form legend .hint { font: 400 .85rem var(--sans); color: var(--muted); }
.b-quote-form .field { margin-top: 14px; }
.b-quote-form .field label { display: block; font-weight: 600; margin-bottom: 4px; }
.b-quote-form .field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.b-quote-form input[type=text], .b-quote-form input[type=email], .b-quote-form input[type=tel], .b-quote-form select, .b-quote-form textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); font: 16px var(--sans);
}
.b-quote-form textarea { min-height: 100px; resize: vertical; }
.b-quote-form .row2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .b-quote-form .row2 { grid-template-columns: 1fr 1fr; } }
.b-quote-form .choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 8px; margin-top: 14px; cursor: pointer; }
.b-quote-form .choice input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.b-quote-form .err { color: var(--danger); font-size: .88rem; margin-top: 4px; }
.b-quote-form [aria-invalid="true"] { border-color: var(--danger) !important; }
.b-quote-form .hp { position: absolute; left: -5000px; }
.b-quote-form .btn { margin-top: 6px; }
.b-quote-form .status { margin-top: 12px; }

/* ── guide-links (list of guides: home, service pages, /guides) ── */
.b-guide-links { padding: 40px 0 48px; }
.b-guide-links .guide-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .b-guide-links .guide-list { grid-template-columns: 1fr 1fr; } }
.b-guide-links .guide-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.b-guide-links .guide-list a { font-weight: 600; display: block; margin-bottom: 4px; }
.b-guide-links .guide-list span { color: var(--ink-soft); font-size: .92rem; }

/* ── article (guides/*) ── */
.b-article article { max-width: 46em; }
.b-article h3 { font-size: 1.1rem; margin-top: 1.3em; }
.b-article li { margin: .3em 0; }
.b-cta .btn--ghost-light { background: var(--surface); color: var(--ink); border-color: var(--line-strong); margin-left: 8px; }
.b-cta .btn--ghost-light:hover { color: var(--accent); border-color: var(--accent); }

/* ── MICA WEB4 additions ─────────────────────────────────────────────── */
/* price-list group heading rows (e-resident services) */
.price-list tr.group th { padding-top: 22px; border-top: 0; font: 600 1.05rem var(--serif); color: var(--ink); text-transform: none; letter-spacing: 0; }
.price-list tbody tr.group:first-child th { padding-top: 6px; }
/* order form: item group headings and per-method prices */
.b-order .addon-group { margin: 14px 0 2px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.b-order .addon-group + .addon { border-top: 0; }
.b-companies .method-prices { list-style: none; padding: 0; margin: 4px 0 14px; border-top: 1px solid var(--line); }
.b-companies .method-prices li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.b-companies .method-prices strong { font: 700 1.25rem var(--serif); color: var(--ink); white-space: nowrap; }
.b-companies .company-card.is-reserved .method-prices strong { color: #6b6b6b; }
/* package panels: accent line */
.b-package .panel, .b-quote-form .panel { border-top: 3px solid var(--ink); }
/* contact page cards */
.b-contact { padding: 16px 0 56px; }
.b-contact .grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .b-contact .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .b-contact .grid { grid-template-columns: repeat(3, 1fr); } }
.b-contact .card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.b-contact .card h2 { font-size: 1.15rem; }
.b-contact .card .big { font: 700 1.25rem var(--serif); display: inline-block; margin-bottom: 10px; overflow-wrap: anywhere; }
.b-contact .card p { color: var(--ink-soft); margin-bottom: .6em; }

/* ── narrow screens (phones 320–599 px): nothing may be wider than the screen ──
   Checked by tests/test_mica_mobile.py at 320 and 360 px in a real browser.
   Long price rules ("One month's rent, min. €800") must wrap, never push the row wider. */
.price-list td.amount { white-space: normal; }
.price-list td.amount, .b-order .addon .p { overflow-wrap: break-word; }
.b-package .layout > *, .b-order .layout > *, .b-order .layout > div > fieldset { min-width: 0; }
.b-order .addon label, .b-order .choice .t, .b-package .variant-head strong { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 599px) {
  /* price table -> stacked list: service name, price underneath */
  .price-list thead { display: none; }
  .price-list, .price-list tbody, .price-list tr, .price-list th, .price-list td { display: block; width: auto; }
  .price-list tr { padding: 11px 0; border-top: 1px solid var(--line); }
  .price-list td { padding: 0; border-top: 0; }
  .price-list td.amount { text-align: left; margin-top: 3px; color: var(--accent); }
  .price-list tr.group { border-top: 0; padding: 18px 0 2px; }
  .price-list tbody tr.group:first-child { padding-top: 4px; }
  .price-list tr.group th { padding: 0; }
  /* order form: price of an add-on goes under its name, quantity box stays on the row */
  .b-order .addon { flex-wrap: wrap; }
  .b-order .addon label { flex: 1 1 calc(100% - 100px); }
  .b-order .addon .p { flex-basis: 100%; padding-left: 29px; white-space: normal; }
  .b-order .addons { margin-left: 4px; padding-left: 10px; }
  .b-order fieldset { padding: 16px 12px; }
  .b-order .choice { padding: 10px; gap: 10px; }
  .b-package .panel, .b-quote-form .panel { padding: 18px 14px; }
  .b-package .variant-head { flex-wrap: wrap; }
}

/* ── sitemap (MICA NAV: human-readable site map, /sitemap) ─────────── */
.b-sitemap { padding: 12px 0 56px; }
.b-sitemap .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .b-sitemap .wrap { grid-template-columns: 1fr 1fr; } }
.b-sitemap .group { min-width: 0; }
.b-sitemap h2 { font-size: 1.15rem; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.b-sitemap ul { list-style: none; margin: 0; padding: 0; }
.b-sitemap li { border-bottom: 1px solid var(--line); }
.b-sitemap li a { display: block; padding: 10px 0; overflow-wrap: anywhere; }
