/* theme.css
 * The sample website of a law and accounting office. The bordered frame: everything sits in .wrap 1280, each section is a bordered card, the card
 * background is split from the page background, the section head has a label and a title on the left and «See all» on the right, the header sticks with a rule under it.
 * Kept here: the colours of both backgrounds, the base, the page shell (header, footer, tab bar) and the parts that the home page and the inner pages both use.
 * The home page alone: home.css. The inner pages alone: inner.css.
 *
 * The accent is read from ONE variable, --accent. From it come:
 *   --on-accent   text on an accent background
 *   --accent-ink  the accent used as text or a thin stroke on the page background (4.5 : 1 at least)
 *   --accent-soft the pale accent background on a card background
 * The layout prints these three values from the brand colour of Theme options (Support/Accent.php). --bg, --paper, --ink must be hex codes.
 * Fonts: IBM Plex Sans for headings and Be Vietnam Pro for the text (SIL OFL 1.1), bundled in assets/fonts/lexora.
 *
 * Margin steps: 40 from 1200 up, 32 from 860 to 1199, 24 from 700 to 859, 16 below 700. From 1360 up .wrap stays at 1280 (margin 80 at 1440).
 */
:root{
  color-scheme:light;
  --bg:#F4F5F7;--paper:#FFFFFF;--sunk:#E9ECF1;--ink:#101828;--ink-on:#FFFFFF;--muted:#4B5565;--rule:#DCE0E7;--line:#7A8496;--ph:#D9DEE6;
  --hdr-bg:rgba(244,245,247,.92);--shadow:rgba(16,24,40,.34);--err:#B42318;
  --accent:#2D6A4F;--on-accent:#FFFFFF;
  --ft-bg:#0B1220;--ft-ink:#FFFFFF;--ft-mute:#C3CAD6;--ft-rule:#2A3446;
  --f-head:"IBM Plex Sans","Be Vietnam Pro",system-ui,sans-serif;
  --f-sans:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --r-in:8px;
  --accent-ink:#2D6A4F;
  --accent-soft:color-mix(in oklab,var(--accent) 11%,var(--paper));
  --px:40px;--gut:var(--px);--secy:64px;--headmb:32px;--gap:24px;--r:12px;--hdrh:72px;
  --h1:40px;--h1lh:48px;--h2:28px;--h2lh:36px;--h3:20px;--h3lh:28px;--body:16px;--bodylh:1.55;--name:18px;--namelh:26px;--sm:14px;--xs:13px;
}
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0D1117;--paper:#151B24;--sunk:#090C11;--ink:#EDF0F5;--ink-on:#0D1117;--muted:#9EA8B8;--rule:#263041;--line:#6E7A91;--ph:#212A38;
  --hdr-bg:rgba(13,17,23,.92);--shadow:rgba(0,0,0,.6);--err:#FF8F85;
  --ft-bg:#070A10;--ft-ink:#EDF0F5;--ft-mute:#9EA8B8;--ft-rule:#263041;
  --accent:#52B788;--on-accent:#0B0F14;--accent-ink:#52B788;
}
@media (prefers-color-scheme:dark){
  html:not([data-theme]){
    color-scheme:dark;
    --bg:#0D1117;--paper:#151B24;--sunk:#090C11;--ink:#EDF0F5;--ink-on:#0D1117;--muted:#9EA8B8;--rule:#263041;--line:#6E7A91;--ph:#212A38;
    --hdr-bg:rgba(13,17,23,.92);--shadow:rgba(0,0,0,.6);--err:#FF8F85;
    --ft-bg:#070A10;--ft-ink:#EDF0F5;--ft-mute:#9EA8B8;--ft-rule:#263041;
    --accent:#52B788;--on-accent:#0B0F14;--accent-ink:#52B788;
  }
}
@media (max-width:1199px){
  :root{--px:32px;--secy:48px;--h1:34px;--h1lh:42px;--h2:26px;--h2lh:34px}
}
@media (max-width:859px){
  :root{--px:24px;--secy:48px;--headmb:24px;--hdrh:60px;--h1:30px;--h1lh:38px;--h2:24px;--h2lh:32px;--h3:18px;--h3lh:26px}
}
@media (max-width:699px){
  :root{--px:16px;--secy:40px;--headmb:20px;--gap:16px;--h1:22px;--h1lh:30px;--h2:22px;--h2lh:28px;--h3:17px;--h3lh:24px;--body:15px;--name:16px;--namelh:22px;--sm:13px;--xs:12px}
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-sans);font-size:var(--body);line-height:var(--bodylh);-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote{margin:0}
h1,h2,h3,.logo-t,.ft-logo,.tm-hl,.stp-n,.plan-price strong,.price strong{font-family:var(--f-head)}
ul,ol{padding:0;list-style:none}
a{color:inherit}
img{display:block;width:100%;height:auto;object-fit:cover}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;font-size:12px}
.skip{position:absolute;left:8px;top:-60px;z-index:100;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;background:var(--ink);color:var(--ink-on);text-decoration:none}
.skip:focus{top:8px}
.ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.wrap{width:min(100% - 2*var(--px),1280px);margin-inline:auto}

/* photo: a frame with a locked ratio, the photo fills it, corners follow the card */
.frame{position:relative;overflow:hidden;aspect-ratio:var(--ar,3/2);background:var(--ph);border-radius:var(--r)}
.frame img{width:100%;height:100%}
html[data-theme="dark"] .frame img{filter:brightness(.92)}
.card{position:relative;background:var(--paper);border:1px solid var(--rule);border-radius:var(--r)}
.stretch::after{content:"";position:absolute;inset:0;border-radius:inherit}
.chip{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:6px;background:var(--accent-soft);font-size:13px;font-weight:600;color:var(--ink)}
.badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:6px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border:1.5px solid transparent;border-radius:var(--r-in);font-size:16px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap}
.btn-accent{background:var(--accent);color:var(--on-accent)}
.btn-accent:hover{filter:brightness(.92)}
.btn-ghost{border-color:var(--ink);color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--ink-on)}
.btn-line{border-color:var(--line);background:var(--paper);color:var(--ink)}
.btn-line:hover{border-color:var(--ink)}
.btn-onink{background:var(--ft-ink);color:var(--ft-bg)}
.btn-onink:hover{filter:brightness(.92)}
.btn-outink{border-color:var(--ft-mute);color:var(--ft-ink)}
.btn-outink:hover{background:var(--ft-ink);color:var(--ft-bg)}
.more{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;font-weight:600;color:var(--accent-ink);text-decoration:none;white-space:nowrap}
.more:hover{text-decoration:underline;text-underline-offset:4px}
.more .ic{width:18px;height:18px}


/* sticky header with a rule under it and a blurred ground */
.hd{position:sticky;top:0;z-index:40;background:var(--hdr-bg);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--rule)}
.hd-in{display:flex;align-items:center;gap:24px;height:var(--hdrh)}
.logo{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;color:var(--ink)}
.logo-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--accent);color:var(--on-accent)}
.logo-mark .ic{width:20px;height:20px;stroke-width:2.4}
.logo-t{font-size:24px;font-weight:700;letter-spacing:-.03em}
.menu{display:flex;gap:4px;margin-left:16px;min-width:0}
.menu a{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:8px;font-size:15px;font-weight:600;color:var(--muted);text-decoration:none;white-space:nowrap}
.menu a:hover{background:var(--sunk);color:var(--ink)}
.menu a[aria-current]{background:var(--accent-soft);color:var(--ink)}
.hd-tools{margin-left:auto;display:flex;align-items:center;gap:10px}
.hd-tel{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap}
.hd-tel:hover{color:var(--accent-ink)}
.lang{display:flex;gap:2px;padding:3px;border:1px solid var(--rule);border-radius:8px;background:var(--sunk)}
.lang a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.lang :is(button,a){min-width:40px;min-height:36px;border:0;border-radius:6px;background:transparent;font-size:13px;font-weight:700;color:var(--muted)}
.lang :is(button,a)[aria-current="true"]{background:var(--paper);color:var(--ink);box-shadow:0 1px 3px rgba(16,24,40,.2)}
.icon-btn{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--rule);border-radius:8px;background:var(--paper);color:var(--ink)}
.icon-btn:hover{border-color:var(--ink)}
.hd-cta{min-height:44px;padding:0 18px;font-size:15px}

/* section: the head has a label and a title on the left, a link on the right */
.sec{padding-block:var(--secy)}
.sec-sunk{background:var(--sunk)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:var(--headmb)}
.sec-titles{display:flex;flex-direction:column;gap:6px;min-width:0}
.eyebrow{font-size:var(--sm);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink)}
.sec-head h2,.h2{font-size:var(--h2);line-height:var(--h2lh);font-weight:600;letter-spacing:-.02em}
.sec-lead{font-size:var(--body);color:var(--muted)}
.sec-head .more,.sec-head .btn{flex:none}
.more-t{white-space:nowrap}
.sec-more{margin-top:24px;display:flex}

/* service card: the whole card is one link (the link stretches from the name) */
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.svc{display:flex;flex-direction:column;overflow:hidden}
.svc .frame{--ar:3/2;border-radius:0;border-bottom:1px solid var(--rule)}
.svc-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:20px 20px 20px}
.svc-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.svc-ic{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:8px;background:var(--accent-soft);color:var(--accent-ink)}
.svc-group{font-size:var(--xs);font-weight:600;color:var(--muted)}
.svc h3{font-size:var(--h3);line-height:var(--h3lh);font-weight:600;letter-spacing:-.01em}
.svc h3 a{text-decoration:none}
.svc:hover h3 a{color:var(--accent-ink)}
.svc-desc{font-size:15px;color:var(--muted)}
.svc-meta{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;margin-top:auto;padding-top:14px;border-top:1px solid var(--rule)}
.price{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;font-size:15px}
.price s{color:var(--muted);font-size:14px}
.price strong{font-size:18px;font-weight:700;letter-spacing:-.01em}
.price .unit{color:var(--muted);font-size:14px}
.dur{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--muted)}
.dur .ic{width:16px;height:16px}
.svc-feat{margin-left:auto}


/* lawyers and experts */
.lw-lead{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);overflow:hidden;margin-bottom:var(--gap)}
.lw-lead .frame{--ar:4/5;border-radius:0;height:100%;aspect-ratio:auto;min-height:100%;max-height:520px}
.lw-lead .lw-fig{position:relative;border-right:1px solid var(--rule);background:var(--ph)}
.lw-lead .lw-fig .frame{position:absolute;inset:0;max-height:none}
.lw-lead .chip{align-self:flex-start}
.lw-lead .lw-body{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:40px}
.lw-name{font-size:var(--h2);line-height:var(--h2lh);font-weight:600;letter-spacing:-.02em}
.lw-name a{text-decoration:none}
.lw .lw-name{font-size:var(--h3);line-height:var(--h3lh);letter-spacing:-.01em}
.lw-role{font-size:15px;font-weight:600;color:var(--accent-ink)}
.lw-bio{font-size:15px;color:var(--muted)}
.lw-contact{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:6px}
.lw-contact a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;font-weight:600;text-decoration:none}
.lw-contact a:hover{color:var(--accent-ink);text-decoration:underline;text-underline-offset:4px}
.lw-contact .ic{width:18px;height:18px;color:var(--accent-ink)}
.lw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.lw{display:flex;flex-direction:column;overflow:hidden}
.lw .frame{--ar:4/5;border-radius:0;border-bottom:1px solid var(--rule)}
.lw .lw-body{display:flex;flex-direction:column;gap:6px;padding:20px}
.lw-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.lw-tags li{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:6px;background:var(--sunk);font-size:var(--xs);font-weight:600}

/* testimonials */
.tm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.tm{display:flex;flex-direction:column;gap:12px;padding:24px}
.stars{display:flex;gap:2px;color:var(--accent-ink)}
.stars .ic{width:18px;height:18px;fill:currentColor;stroke:currentColor}
.stars .ic.off{fill:none;color:var(--line)}
.tm-hl{font-size:var(--h3);line-height:var(--h3lh);font-weight:600;letter-spacing:-.01em}
.tm-body{font-size:15px;color:var(--muted)}
.tm-by{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--rule)}
.avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;overflow:hidden;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-size:16px;font-weight:700}
.avatar img{width:100%;height:100%}
.tm-who{display:flex;flex-direction:column;min-width:0}
.tm-name{font-size:16px;font-weight:600}
.tm-job{font-size:var(--sm);color:var(--muted)}

/* partners: a row of logo cells, the whole cell is a link when it has an address */
.pt-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--gap)}
.pt-a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:112px;padding:16px 12px;text-align:center;text-decoration:none}
a.pt-a:hover{border-color:var(--ink)}
.pt-logo{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:700;letter-spacing:-.01em}
.pt-logo .ic{width:28px;height:28px;color:var(--accent-ink)}
.pt-group{font-size:var(--xs);color:var(--muted)}

/* process */
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);counter-reset:s}
.stp{display:flex;flex-direction:column;gap:10px;padding:24px}
.stp-n{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-size:16px;font-weight:700}
.stp h3{font-size:var(--h3);line-height:var(--h3lh);font-weight:600}
.stp p{font-size:15px;color:var(--muted)}

/* news */
.nw{display:flex;flex-direction:column;overflow:hidden}
.nw .frame{--ar:3/2;border-radius:0;border-bottom:1px solid var(--rule)}
.nw-body{display:flex;flex-direction:column;gap:8px;flex:1;padding:20px}
.nw-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.nw-date{font-size:var(--xs);color:var(--muted)}
.nw h3{font-size:var(--h3);line-height:var(--h3lh);font-weight:600;letter-spacing:-.01em}
.nw h3 a{text-decoration:none}
.nw:hover h3 a{color:var(--accent-ink)}
.nw p.nw-ex{font-size:15px;color:var(--muted)}

/* breadcrumb */
.crumb{padding-top:16px}
.crumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 4px}
.crumb li{display:inline-flex;align-items:center;gap:4px;font-size:14px;color:var(--muted)}
.crumb li+li::before{content:"";width:6px;height:6px;margin-right:4px;border-top:1.5px solid var(--muted);border-right:1.5px solid var(--muted);transform:rotate(45deg)}
.crumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);text-decoration:none}
.crumb a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.crumb [aria-current]{color:var(--ink);font-weight:600}

/* empty state: one card */
.empty{display:grid;justify-items:start;gap:12px;padding:40px 32px;border:1px solid var(--rule);border-radius:var(--r);background:var(--paper)}
.empty-ic{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--accent);color:var(--on-accent)}
.empty h2{font-size:var(--h2);line-height:var(--h2lh);font-weight:600;letter-spacing:-.02em}
.empty p{font-size:16px;color:var(--muted)}
.empty .btn{margin-top:12px}

/* questions: <details>, readable with JS off */
.fq-list{border-top:1.5px solid var(--ink)}
.fq{border-bottom:1px solid var(--line)}
.fq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:12px 0;font-size:18px;font-weight:600;letter-spacing:-.01em;cursor:pointer;list-style:none}
.fq summary::-webkit-details-marker{display:none}
.fq summary .ic{transition:transform .25s ease}
.fq[open] summary .ic{transform:rotate(180deg)}
.fq summary:hover{color:var(--accent-ink)}
.fq-a{padding:0 0 24px;font-size:16px;color:var(--muted)}
.js .fq:not([open]) .fq-a{display:none}

/* question groups: the group name on the left, the questions on the right (home and the Questions page) */
.fg-head{display:flex;flex-direction:column;gap:6px;align-self:start;position:sticky;top:96px}
.fg-head h2{font-size:var(--h2);line-height:var(--h2lh);font-weight:600;letter-spacing:-.02em}
.fg-head p{color:var(--muted)}
.fq-split{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:var(--gap);align-items:start}
@media (max-width:1099px){.fq-split{grid-template-columns:1fr}.fg-head{position:static}}

/* forms */
.field{display:grid;gap:6px}
.field>label,.field>legend{font-size:14px;font-weight:600}
.field input,.field textarea,.field select{width:100%;min-height:48px;padding:10px 14px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-in)}
.field textarea{min-height:128px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:var(--muted)}
.field-err{display:flex;align-items:flex-start;gap:8px;font-size:var(--sm);font-weight:600;color:var(--err)}
.field-err .ic{width:18px;height:18px;margin-top:1px}
.field input[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:var(--err);box-shadow:0 0 0 1px var(--err)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.done{display:grid;justify-items:start;gap:12px}
.done h2{margin:0;font-size:22px;line-height:28px;font-weight:600;letter-spacing:-.01em}
.done p{font-size:16px;color:var(--muted)}
.done .btn{margin-top:8px}
.done-ic{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--accent);color:var(--on-accent)}

/* footer: dark ground, the content sits in .wrap */
.ft{background:var(--ft-bg);color:var(--ft-ink)}
.ft-in{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:40px;padding-block:48px 32px}
.ft-logo{display:inline-flex;align-items:center;gap:10px;font-size:26px;font-weight:700;letter-spacing:-.03em}
.ft-logo .logo-mark{background:var(--ft-ink);color:var(--ft-bg)}
.ft-d{margin-top:10px;font-size:15px;color:var(--ft-mute)}
.ft-h{margin-bottom:10px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ft-ink)}
.ft-col li a,.ft-soc a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;font-size:15px;color:var(--ft-mute);text-decoration:none}
.ft-col li a:hover,.ft-soc a:hover{color:var(--ft-ink);text-decoration:underline;text-underline-offset:4px}
.ft-addr,.ft-co{font-size:15px;color:var(--ft-mute)}
.ft-tel{display:inline-flex;align-items:center;min-height:44px;font-size:22px;font-weight:600;color:var(--ft-ink);text-decoration:none}
.ft-soc{display:flex;flex-wrap:wrap;gap:0 20px}
.ft-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-block:20px 28px;border-top:1px solid var(--ft-rule);font-size:13px;color:var(--ft-mute)}
.ft .lang{display:none;background:#1A2232;border-color:#2A3446}
.ft .lang :is(button,a){color:#C3CAD6}
.ft .lang :is(button,a)[aria-current="true"]{background:#EDF0F5;color:#0B1220}

/* bottom bar: only below 860 */
.tabbar{display:none}
.tabbar noscript{display:contents}

/* motion: visible by default, hidden only with JS and before the block comes into view */
.js [data-reveal]{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.js [data-reveal].in{opacity:1;transform:none}
html[data-still]{scroll-behavior:auto!important}
html[data-still] *,html[data-still] *::before,html[data-still] *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
html[data-still] [data-reveal]{opacity:1!important;transform:none!important}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .js [data-reveal]{opacity:1;transform:none}
}

/* 1100 to 1199: the six-column grid becomes three */
@media (max-width:1199px){
  .ft-in{grid-template-columns:1fr 1fr}
}
@media (max-width:1099px){
  .grid3,.tm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid3>.card:last-child:nth-child(odd),.tm-grid>.card:last-child:nth-child(odd){grid-column:1/-1}
  .lw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lw-grid>.card:last-child:nth-child(odd){grid-column:1/-1}
  .pt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lw-lead .lw-body{padding:32px}
}
/* 860 to 1199: a tighter menu, the phone number and the Book button keep only their icons */
@media (min-width:860px) and (max-width:1199px){
  .hd-in{gap:12px}
  .logo-t{font-size:22px}
  .menu{margin-left:4px;gap:0}
  .menu a{padding:0 9px;font-size:14px}
  .hd-tools{gap:8px}
  .hd-cta,.hd-tel{width:44px;padding:0;justify-content:center}
  .hd-tel .hd-tel-t,.hd-cta .hd-cta-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .hd-tel{border:1px solid var(--rule);border-radius:8px;background:var(--paper)}
}
/* below 860: the bottom bar sticks to the bottom, the header keeps only the logo and the colour button */
@media (max-width:859px){
  .menu,.hd .lang,.hd-cta,.hd-tel{display:none}
  .ft .lang{display:flex}
  .ft .lang :is(button,a){min-width:44px;min-height:44px}
  .crumb a{padding:0 6px}
  .crumb ol{gap:0}
  .sec-more{margin-top:16px}
  .ft-in{grid-template-columns:1fr;gap:24px;padding-block:40px 16px}
  .crumb li{font-size:13px}
  .empty{padding:24px 16px}
  .empty h2{font-size:18px}
  .empty p{font-size:14px}
  .fq summary{min-height:56px;font-size:16px}
  .fq-a{font-size:14px}
  .lw-lead{grid-template-columns:1fr}
  .lw-lead .lw-fig{border-right:0;border-bottom:1px solid var(--rule);aspect-ratio:4/3}
  .lw-lead .lw-body{padding:24px}
  .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;padding-bottom:env(safe-area-inset-bottom);background:var(--paper);border-top:1px solid var(--line)}
  .tabbar a{position:relative;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding-top:4px;font-size:11px;line-height:1.2;text-decoration:none;color:var(--muted)}
  .tabbar a[aria-current]{color:var(--accent-ink);font-weight:700}
  .tabbar a[aria-current]::before{content:"";position:absolute;top:4px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}
@media (max-width:699px){
  .sec-head{flex-wrap:wrap;align-items:flex-start}
  .sec-head .more{justify-content:center;width:44px;padding:0;border:1px solid var(--rule);border-radius:8px;background:var(--paper);align-self:flex-start}
  .sec-head .more .more-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .svc-body,.nw-body,.lw .lw-body{padding:16px}
  .tm,.stp{padding:20px}
  .pt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pt-grid>li:last-child:nth-child(odd){grid-column:1/-1}
  .steps{grid-template-columns:1fr}
  .two{grid-template-columns:1fr}
  .pt-a{min-height:96px}
  .ft-logo{font-size:22px}
  .sec-lead{font-size:14px}
  .tm-hl{font-size:17px;line-height:24px}
}
@media (max-width:599px){
  .grid3,.tm-grid,.lw-grid{grid-template-columns:1fr}
  .grid3>.card:last-child:nth-child(odd),.tm-grid>.card:last-child:nth-child(odd),.lw-grid>.card:last-child:nth-child(odd){grid-column:auto}
}

/* newsletter and the row of buttons: used by the home page, News and the booking invitation */
.actions{display:flex;flex-wrap:wrap;gap:12px}
.nl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;padding:32px 40px}
.nl-form{display:flex;gap:12px;align-items:flex-start}
.nl-form .field{flex:1;min-width:0}
.nl-form .btn{flex:none}
.nl-ok{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600}
.nl-ok .done-ic{width:40px;height:40px}
@media (max-width:1099px){.nl{padding:24px 32px}}
@media (max-width:859px){.nl{grid-template-columns:1fr;padding:24px;gap:16px}}
@media (max-width:699px){.nl{padding:16px}.nl-form{flex-direction:column;align-items:stretch}.actions .btn{flex:1 1 100%}}

/* inner page head: breadcrumb, title, one line of description */
.ph{padding:8px 0 32px}
.ph h1{font-size:var(--h1);line-height:var(--h1lh);font-weight:700;letter-spacing:-.03em}
.ph p{margin-top:12px;font-size:18px;line-height:28px;color:var(--muted)}
/* booking invitation: a dark panel used on many pages */
.cta{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:40px 48px;border:1px solid var(--ft-rule);border-radius:var(--r);background:var(--ft-bg);color:var(--ft-ink)}
.cta-tx{display:flex;flex-direction:column;gap:8px;min-width:0}
.cta h2{font-size:var(--h2);line-height:var(--h2lh);font-weight:600;letter-spacing:-.02em}
.cta p{font-size:16px;color:var(--ft-mute)}
.cta .actions{flex:none}
/* contact row: icon, label, value. Used by the Contact page and the page of one lawyer */
.cp-list{display:grid;gap:4px}
.cp-row{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;padding:8px 0}
.cp-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:var(--accent-soft);color:var(--accent-ink)}
.cp-tx{display:flex;flex-direction:column;min-width:0}
.cp-l{font-size:var(--xs);font-weight:600;color:var(--muted)}
.cp-v{font-size:16px;font-weight:600;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
a.cp-v:hover{color:var(--accent-ink);text-decoration:underline;text-underline-offset:4px}
.cp-s{font-size:var(--sm);color:var(--muted)}
@media (max-width:1099px){
  .cta{padding:32px}
}
@media (max-width:859px){
  .ph{padding:4px 0 24px}
  .ph p{font-size:16px;line-height:24px}
  .cta{flex-direction:column;align-items:flex-start;gap:20px;padding:24px}
}
@media (max-width:699px){
  .ph p{font-size:15px;line-height:22px}
  .cta{padding:20px}
  .cta .actions{width:100%}
  .cta .actions .btn{flex:1 1 100%}
}
/* legal links at the foot of the footer */
.ft-legal{display:flex;flex-wrap:wrap;gap:0 20px}
.ft-legal a{display:inline-flex;align-items:center;min-height:44px;color:var(--ft-mute);text-decoration:none}
.ft-legal a:hover{color:var(--ft-ink);text-decoration:underline;text-underline-offset:4px}
