/* viviaict.com — "Rack elevation": the page is Vivia ICT's rack, drawn unit by unit between two numbered rails. */
@font-face { font-family: "Chivo"; src: url("fonts/chivo-var-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Chivo Mono"; src: url("fonts/chivo-mono-var-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --paper: #f4f6f8;
  --void: #e9edf1;
  --white: #ffffff;
  --ink: #14202e;
  --ink-2: #3a4757;
  --ink-3: #566373;
  --steel: #d3dae1;
  --steel-2: #e6eaee;
  --hole: #9ba7b3;
  --field: #8592a0;
  --blue: #1f5fd1;
  --blue-d: #174aa8;
  --cyan: #3fd3db;
  --green: #2fb36b;
  --amber: #e0a21b;
  --off: #c3ccd5;
  --grad: linear-gradient(90deg, #3d8bff, #4fe0e6);
  --sans: "Chivo", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Chivo Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gut: clamp(16px, 4vw, 40px);
  --head: 66px;
  --u: 28px;
  --rail: 58px;
  --holes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='28'%3E%3Cg fill='%23f4f6f8' stroke='%239ba7b3'%3E%3Crect x='2.5' y='3.5' width='5' height='5'/%3E%3Crect x='2.5' y='11.5' width='5' height='5'/%3E%3Crect x='2.5' y='19.5' width='5' height='5'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
[dir="rtl"] { --sans: "Plex Arabic", "Chivo", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 8px); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.ic { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .ic { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100%, 1240px); margin-inline: auto; padding-inline: var(--gut); }
.lead { font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }

/* LEDs: state is a mark */
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--off); flex: none; box-shadow: inset 0 0 0 1px rgba(20, 32, 46, .25); transition: background .3s, box-shadow .3s; }
.led.on, .in .led { background: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; background: var(--blue); color: #fff; border: 1.5px solid var(--blue); border-radius: 2px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ic { transform: scaleX(-1) translateX(3px); }

/* header */

/* hero */
.hero { padding-block: clamp(28px, 4vh, 48px) clamp(40px, 6vh, 64px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 64px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.95rem, 1.1rem + 1.75vw, 2.55rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; }
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.35; max-width: 24ch; }
.hero .lead { margin-top: 20px; max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* the rack elevation */
.rack { --u: 28px; padding-inline-end: 168px; }
.rack-frame { display: grid; grid-template-columns: 30px 300px 30px; background: var(--steel); border: 2px solid var(--ink); border-block-width: 10px; }
.rail-nos li { height: var(--u); display: flex; align-items: center; justify-content: flex-start; padding-inline-start: 3px; font-size: 10.5px; color: var(--ink-3); background: var(--holes) no-repeat right 1px center / 10px 28px; }
.rail-end li { color: transparent; background-position: left 1px center; }
[dir="rtl"] .rail-nos li { background-position: left 1px center; }
[dir="rtl"] .rail-end li { background-position: right 1px center; }
.units { background: var(--void); }
.unit { position: relative; height: calc(var(--h) * var(--u)); padding-block: 1px; }
.u-face { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; padding-inline: 10px; background: var(--white); border: 1px solid var(--ink); text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
a.u-face:hover, a.u-face:focus-visible { border-color: var(--blue); background: #f5f9ff; outline: none; }
a.u-face:hover .led, a.u-face:focus-visible .led { background: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 211, 219, .3); }
.u-brand .u-face { gap: 8px; }
.u-mark { width: 22px; height: auto; }
.u-word { font-weight: 800; font-size: 11.5px; letter-spacing: .02em; }
.u-sub { font-size: 11px; color: var(--ink-3); margin-inline-start: auto; }
.u-brand .u-face::before { content: ""; position: absolute; inset-inline: -1px; bottom: -1px; height: 3px; background: var(--grad); }
.u-logo { height: 15px; width: auto; }
.u-vendor .u-face { justify-content: space-between; }
.u-vendor .led { order: 2; }
.u-blank .u-face { padding-inline: 14px; }
.u-res .u-face { background: transparent; border: 1.5px dashed var(--ink-3); justify-content: center; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.u-res .u-face:hover, .u-res .u-face:focus-visible { border-color: var(--blue); color: var(--blue); background: rgba(255, 255, 255, .6); }
.rack .art { font-size: 5.2px; margin-inline-start: auto; }
/* callouts: leader lines from each unit to its name */
.co { position: absolute; inset-inline-start: calc(100% + 30px + 18px); top: 50%; transform: translateY(-50%); display: flex; align-items: baseline; gap: 8px; white-space: nowrap; font-size: 13px; pointer-events: none; }
.co::before { content: ""; position: absolute; inset-inline-end: calc(100% + 6px); top: 50%; width: 42px; border-top: 1px solid var(--ink-3); }
.co-u { font-size: 11px; color: var(--ink-3); }
.co-n { font-weight: 600; color: var(--ink); }
a.u-face:hover .co-n, a.u-face:focus-visible .co-n { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
a.u-face:hover .co::before, a.u-face:focus-visible .co::before { border-color: var(--blue); }

/* hardware art (em-based, scales with font-size) */
.art { display: inline-flex; flex: none; color: var(--ink-2); }
.a-tel { display: grid; grid-template-columns: repeat(12, 1.8em); grid-auto-rows: 1.5em; gap: .5em .4em; }
.a-tel i, .a-out i { position: relative; background: var(--steel-2); border: 1px solid currentColor; border-radius: 1px; }
.a-tel i::after { content: ""; position: absolute; top: .2em; inset-inline-start: .2em; width: .45em; height: .3em; background: var(--green); animation: blink 2.6s var(--d) infinite steps(2, jump-none); }
.a-ai { gap: 1em; }
.a-ai i { width: 7em; height: 3.4em; border: 1px solid currentColor; background: repeating-linear-gradient(90deg, currentColor 0 .3em, var(--steel-2) .3em .8em); background-clip: content-box; padding: .5em; }
.a-it { gap: .6em; }
.a-it i { position: relative; width: 5.2em; height: 3.8em; border: 1px solid currentColor; background: var(--steel-2); }
.a-it i::before { content: ""; position: absolute; inset-inline: .6em; bottom: .7em; height: .5em; border: 1px solid currentColor; background: var(--white); }
.a-it i::after { content: ""; position: absolute; top: .6em; inset-inline-end: .6em; width: .6em; height: .6em; border-radius: 50%; background: var(--green); }
.a-bi .scr { display: flex; align-items: flex-end; gap: .5em; width: 16em; height: 3.6em; padding: .5em .7em; background: var(--ink); border: 1px solid var(--ink); }
.a-bi .scr i { flex: 1; height: calc(var(--v) * 100%); background: var(--cyan); }
.a-iot { align-items: center; gap: 1.4em; }
.a-iot i { width: 2.4em; height: 2.4em; border-radius: 50%; border: 1px solid currentColor; background: radial-gradient(circle, currentColor 0 .35em, var(--steel-2) .4em); }
.a-iot b { width: 7em; height: .9em; border: 1px solid currentColor; background: var(--steel-2); border-radius: .45em; }
.a-out { display: grid; grid-template-columns: repeat(12, 1.6em); gap: .4em; }
.a-out i { height: 1.6em; }
.a-out i:nth-child(odd)::before, .a-out i:nth-child(3n)::before { content: ""; position: absolute; inset: .25em; background: var(--blue); }
.a-out i:nth-child(4n)::before { background: var(--cyan); }
.a-st { flex-direction: column; gap: .5em; }
.a-st i { display: block; width: 12em; height: .9em; border: 1px solid currentColor; background: linear-gradient(90deg, var(--green) 0 1em, var(--steel-2) 1em); }
.a-vent { width: 100%; height: 1.6em; background: repeating-linear-gradient(90deg, var(--ink-3) 0 .35em, transparent .35em 1.2em); background-clip: content-box; }
.rack .a-vent { font-size: 6px; }
@keyframes blink { 50% { opacity: .2; } }

/* the page rack: every section sits between two rails */
.sec { scroll-margin-top: var(--head); }
.bay { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr) var(--rail); }
.rail { position: relative; background: var(--steel) var(--holes) repeat-y right 6px top / 10px 28px; border-inline-start: 2px solid var(--ink); }
.rail-e { border-inline-start: 0; border-inline-end: 2px solid var(--ink); background-position: left 6px top; }
[dir="rtl"] .rail { background-position: left 6px top; }
[dir="rtl"] .rail-e { background-position: right 6px top; }
.rail-u { position: absolute; top: 10px; inset-inline-start: 6px; font-size: 11px; line-height: 1.25; color: var(--ink-2); max-width: 32px; }
#about .bay:first-child .rail, #about .bay:first-child .face { border-top: 10px solid var(--ink); }
#about .bay:first-child .face { border-top-width: 10px; }
.face { background: var(--white); border-top: 1.5px solid var(--ink); }
.bay-head > div:not(.rail) { padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px) 28px; background: var(--void); }
.sec-head { display: grid; gap: 12px; }
.sec-head > * { max-width: 60ch; }

/* about: copy + status panel */
.about-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 48px); }
.about-copy { display: grid; gap: 18px; align-content: start; }
.about-copy p:not(.lead) { color: var(--ink-2); max-width: 62ch; }
.status { border: 1.5px solid var(--ink); background: var(--paper); align-self: start; }
.status-h { padding: 10px 16px; border-bottom: 1px solid var(--steel); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; }
.status-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px 16px; }
.status-rows li + li { border-top: 1px solid var(--steel); }
.status-rows .led { grid-row: span 2; margin-top: 8px; }
.v-n { font-size: 1rem; }
.status-rows p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

/* services: six devices stacked edge to edge */
.dev { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) minmax(0, auto); gap: clamp(20px, 3vw, 40px); align-items: center; padding: 28px clamp(20px, 3vw, 36px); scroll-margin-top: calc(var(--head) + 12px); }
.dev-id { display: flex; align-items: center; gap: 12px; }
.dev-id h3 { font-size: 1.25rem; }
.dev-txt { display: grid; gap: 10px; justify-items: start; }
.dev-txt p { color: var(--ink-2); max-width: 58ch; }
.dev-art .art { font-size: 9px; }
.dev-out .dev-art .art { font-size: 10px; }
.ask { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 15px; text-decoration: none; padding-block: 4px; }
.ask:hover { text-decoration: underline; text-underline-offset: 3px; }
.ask .ic { width: 16px; height: 16px; }
.dev-watch .face { transition: background .4s; }

/* vendors: three branded units */
.vend { display: grid; grid-template-columns: auto 170px minmax(0, 1fr) minmax(60px, 180px); align-items: center; gap: clamp(16px, 3vw, 36px); padding: 20px clamp(20px, 3vw, 36px); }
.vend img { height: 40px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
[dir="rtl"] .vend img { object-position: right center; }
.vend-hikvision img { height: 24px; }
.vend p { color: var(--ink-2); font-weight: 500; }
.vents { height: 22px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 3px, transparent 3px 10px); opacity: .7; }

/* 3CX tray, slid out on its rails */
.bay-cx > .cx { padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px); background: var(--void); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cx-head { display: grid; gap: 16px; justify-items: start; }
.tray { position: relative; }
.slide { position: absolute; top: 72px; bottom: 18px; width: 8px; background: var(--steel); border: 1px solid var(--ink-3); }
.slide-s { inset-inline-start: -14px; }
.slide-e { inset-inline-end: -14px; }
.tray-front { display: flex; align-items: center; gap: 18px; height: 72px; padding-inline: 22px; background: var(--white); border: 1.5px solid var(--ink); }
.tray-front img { height: 34px; width: auto; }
.tray-u { margin-inline-start: auto; font-size: 12px; color: var(--ink-3); }
.tray-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; padding: 26px 24px; background: var(--white); border: 1.5px solid var(--ink); border-top: 0; transform-origin: top; transition: clip-path 1s cubic-bezier(.2, .7, .2, 1); clip-path: inset(0 0 100% 0); }
.tray.in .tray-in { clip-path: inset(0 0 0 0); }
.tray-col h3 { font-size: 15px; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); margin-bottom: 4px; }
.spec { padding: 10px 0; border-bottom: 1px solid var(--steel); }
.spec dt { font-weight: 700; font-size: 15px; }
.spec dd { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.lic-h { margin-top: 22px; }
.lic { padding-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* contact: reserved units */
.bay-res > .contact { padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px); background: var(--void); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 28px clamp(24px, 3vw, 40px); }
.contact-head { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 60ch; }
.order { background: var(--white); border: 1.5px dashed var(--ink-3); padding: clamp(18px, 2.5vw, 28px); }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cell { display: grid; gap: 4px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 2px; background: var(--white); transition: border-color .2s; }
.cell:focus-within { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.cell.wide { grid-column: 1 / -1; }
.lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.req { color: var(--blue); }
.cell input, .cell select, .cell textarea { border: 0; padding: 2px 0; background: transparent; outline: none; font-size: 16px; width: 100%; }
.cell textarea { resize: vertical; min-height: 92px; }
.cell select { cursor: pointer; }
.order-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.fine { font-size: 13.5px; color: var(--ink-3); flex: 1 1 220px; }
.form-err { margin-top: 12px; color: #b4231b; font-weight: 600; font-size: 14.5px; }
.plate { align-self: start; background: var(--white); border: 1.5px solid var(--ink); }
.plate h3 { padding: 14px 20px; border-bottom: 3px solid; border-image: var(--grad) 1; }
.plate dl > div { padding: 12px 20px; border-top: 1px solid var(--steel); }
.plate dl > div:first-child { border-top: 0; }
.plate dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.plate dd { font-weight: 500; }
.plate dd a { color: var(--blue); text-decoration: none; font-weight: 600; }
.plate dd a:hover { text-decoration: underline; }
#contact .bay:last-child .rail, #contact .bay:last-child > .contact { border-bottom: 10px solid var(--ink); }

/* footer */
.foot { background: var(--ink); color: #c3ccd6; padding-block: 52px 28px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: start; }
.foot-brand img { width: 150px; height: auto; margin-bottom: 14px; }
.foot p { margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin: 0; padding: 0; }
.foot-nav a { display: inline-block; padding-block: 6px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot a:focus-visible { outline-color: #fff; }
.foot-base { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .14); font-size: 14px; color: #a3aebb; }

/* responsive */

@media (max-width: 1060px) {
  .hero-in { grid-template-columns: 1fr; }
  .rack { justify-self: start; }
  .dev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .dev-art { grid-column: 1 / -1; }
  .bay-cx > .cx { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --rail: 16px; }
  .rail-u { display: none; }
  .rail { background-position: center top; }
  .rail-e, [dir="rtl"] .rail, [dir="rtl"] .rail-e { background-position: center top; }
  
  .rack { padding-inline-end: 0; width: 100%; }
  .rack-frame { grid-template-columns: 26px minmax(0, 1fr) 26px; }
  .rack .art { display: none; }
  .rack .a-vent { display: block; margin-inline: 0; }
  .co { position: static; transform: none; margin-inline-start: auto; font-size: 12.5px; }
  .co::before { display: none; }
  .u-vendor .u-face { justify-content: flex-start; }
  .u-vendor .co { order: 3; }
  .dev { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; }
  .dev-art { overflow: hidden; }
  .about-in { grid-template-columns: 1fr; }
  .vend { grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; padding: 18px; }
  .vend p { grid-column: 1 / -1; }
  .vents { display: none; }
  .tray-in { grid-template-columns: 1fr; }
  .slide { display: none; }
  .bay-res > .contact { grid-template-columns: 1fr; }
  .cells { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tray-in { clip-path: none; }
}

/* <hook2> hook = exactly 2 lines (team rule, rechecked 2026-11-13): two nowrap lines sized to the copy column */
.hero-copy { container-type: inline-size; }
.hero h1 { max-width: none; text-wrap: initial; font-size: min(3rem, 12.3cqi); }
.hero h1 .hl { display: block; white-space: nowrap; }
:lang(ar) .hero h1 { max-width: none; font-size: min(2.8rem, 7.5cqi); }
/* </hook2> */
/* <sh-tokens> */
/* shared header + dropdown tokens (owner remarks 2026-11-13: one header, one dropdown on every site) */
:root { --head: var(--sh-h); }
.sh { --sh-bg: rgb(244 246 248 / .97); --sh-ink: var(--ink); --sh-ink-2: var(--ink-2); --sh-line: var(--steel); --sh-accent: var(--blue); --sh-hover: rgb(20 32 46 / .06); --sh-focus: var(--blue-d); --sh-panel-bg: var(--paper); --sh-logo-h: 32px; --sh-logo-h-m: 26px; --sh-max: calc(1240px - 2 * var(--gut)); --sh-gut: var(--gut);
  --dd-ink: var(--ink); --dd-line: var(--field); --dd-hover: rgb(20 32 46 / .06); --dd-menu-bg: #fff; --dd-menu-ink: var(--ink); --dd-accent: var(--ink); --dd-accent-ink: #fff; }
/* </sh-tokens> */





















/* <lang-dd:start> */
/* ==== lang-dd: shared language dropdown (team notes + owner remarks 2026-11-13). One look on every site:
   size, type scale, radius, spacing and caret are fixed here; sites only set COLOUR tokens:
   --dd-ink --dd-bg --dd-line --dd-hover --dd-menu-bg --dd-menu-ink --dd-accent --dd-accent-ink (font family is inherited). ==== */
.lang-dd { position: relative; flex: none; font-family: inherit; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 64px; min-height: 40px; margin: 0; padding: 0 11px 0 13px;
  font-family: inherit; font-size: .82rem; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: none;
  color: var(--dd-ink, currentColor); background: var(--dd-bg, transparent);
  border: 1px solid var(--dd-line, currentColor); border-radius: 4px; box-shadow: none; cursor: pointer;
  transition: background-color .15s ease;
}
.lang-btn:hover { background: var(--dd-hover, rgb(0 0 0 / .05)); }
.lang-btn:focus-visible { outline: 2px solid var(--dd-ink, currentColor); outline-offset: 2px; }
.lang-btn svg { flex: none; width: 10px; height: 10px; transition: transform .18s ease; }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; inset-inline-end: 0; inset-inline-start: auto; top: calc(100% + 6px); z-index: 60;
  min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--dd-menu-bg, #fff); border: 1px solid var(--dd-line, rgb(0 0 0 / .2)); border-radius: 4px;
  box-shadow: 0 10px 24px rgb(0 0 0 / .14);
}
.lang-menu[hidden] { display: none; }
.lang-menu li { margin: 0; padding: 0; border: 0; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 10px; border-radius: 3px;
  font-family: inherit; font-size: .92rem; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-decoration: none;
  color: var(--dd-menu-ink, #1a1a1a);
}
.lang-menu a span { font-size: .74rem; font-weight: 600; letter-spacing: .04em; opacity: .62; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--dd-hover, rgb(0 0 0 / .06)); outline: none; }
.lang-menu a:focus-visible { box-shadow: inset 0 0 0 2px var(--dd-menu-ink, #1a1a1a); }
.lang-menu a[aria-current] { color: var(--dd-accent-ink, #fff); background: var(--dd-accent, #1a1a1a); }
.lang-menu a[aria-current] span { opacity: .8; }
@media (prefers-reduced-motion: reduce) { .lang-btn, .lang-btn svg { transition: none; } }
/* <lang-dd:end> */

/* <sh-header:start> */
/* ==== sh: shared site header (owner remarks 2026-11-13). Structure, spacing, behaviour and focus are fixed here;
   sites only set tokens on .sh: --sh-bg --sh-ink --sh-ink-2 --sh-line --sh-border --sh-accent --sh-hover --sh-focus
   --sh-panel-bg --sh-font --sh-logo-h --sh-logo-h-m --sh-max --sh-gut (+ the --dd-* colour tokens of the dropdown). ==== */
:root { --sh-h: 72px; }
html { scroll-padding-top: calc(var(--sh-h) + 16px); }
.sh {
  position: sticky; top: 0; z-index: 50;
  background: var(--sh-bg, #fff); color: var(--sh-ink, #15171a);
  border-bottom: var(--sh-border, 1px solid var(--sh-line, rgb(0 0 0 / .14)));
  font-family: var(--sh-font, inherit);
}
.sh-in {
  width: min(100% - 2 * var(--sh-gut, 24px), var(--sh-max, 1240px)); margin-inline: auto;
  height: var(--sh-h); display: flex; align-items: center; gap: 24px;
}
.sh-brand { flex: none; display: flex; align-items: center; border-radius: 4px; }
.sh-brand img { display: block; width: auto; max-width: none; height: var(--sh-logo-h, 36px); }
.sh-nav { margin-inline-start: auto; min-width: 0; }
.sh-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sh-link {
  display: block; padding: 10px 12px; border-radius: 4px; white-space: nowrap;
  font-family: inherit; font-size: .95rem; font-weight: 500; line-height: 1.2; text-decoration: none;
  color: var(--sh-ink-2, var(--sh-ink, inherit)); box-shadow: inset 0 -2px 0 transparent;
  transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.sh-link:hover { color: var(--sh-ink, inherit); background: var(--sh-hover, rgb(0 0 0 / .05)); }
.sh-link[aria-current="true"], .sh-link[aria-current="page"] { color: var(--sh-ink, inherit); box-shadow: inset 0 -2px 0 var(--sh-accent, currentColor); }
.sh-tools { flex: none; display: flex; align-items: center; gap: 12px; }
.sh .sh-panel-cta { display: none; }
.sh-tel { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--sh-ink, inherit); font-size: .92rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; border-radius: 4px; }
.sh-tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.sh-tel-ic { width: 17px; height: 17px; flex: none; color: var(--sh-accent, currentColor); }
.sh-menu {
  display: none; flex: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin: 0;
  font: 600 .92rem/1 var(--sh-font, inherit); color: var(--sh-ink, inherit);
  background: transparent; border: 1px solid var(--sh-line, currentColor); border-radius: 4px; cursor: pointer;
}
.sh-menu:hover { background: var(--sh-hover, rgb(0 0 0 / .05)); }
.sh-burger { position: relative; display: block; width: 16px; height: 12px; }
.sh-burger i { position: absolute; inset-inline: 0; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.sh-burger i:nth-child(1) { top: 0; } .sh-burger i:nth-child(2) { top: 5px; } .sh-burger i:nth-child(3) { top: 10px; }
.sh-menu[aria-expanded="true"] .sh-burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.sh-menu[aria-expanded="true"] .sh-burger i:nth-child(2) { opacity: 0; }
.sh-menu[aria-expanded="true"] .sh-burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.sh a:focus-visible, .sh button:focus-visible { outline: 2px solid var(--sh-focus, currentColor); outline-offset: 2px; }
.sh .lang-btn, .sh .sh-menu { min-height: 44px; }
@media (max-width: 1280px) { .sh-tel { display: none; } }
@media (max-width: 1080px) {
  .sh-menu { display: inline-flex; }
  .sh-tools { margin-inline-start: auto; }
  .sh-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%; margin: 0;
    max-height: calc(100dvh - var(--sh-h)); overflow-y: auto;
    background: var(--sh-panel-bg, var(--sh-bg, #fff)); border-bottom: var(--sh-border, 1px solid var(--sh-line, rgb(0 0 0 / .14)));
    box-shadow: 0 14px 28px rgb(0 0 0 / .1);
  }
  .sh.is-open .sh-nav { display: block; }
  .sh-list { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 2 * var(--sh-gut, 24px), var(--sh-max, 1240px)); margin-inline: auto; padding: 8px 0; }
  .sh-list li + li { border-top: 1px solid var(--sh-line, rgb(0 0 0 / .1)); }
  .sh-link { padding: 15px 12px; font-size: 1.05rem; border-radius: 0; box-shadow: none; border-inline-start: 3px solid transparent; }
  .sh-link[aria-current="true"], .sh-link[aria-current="page"] { box-shadow: none; border-inline-start-color: var(--sh-accent, currentColor); }
}
@media (max-width: 720px) {
  :root { --sh-h: 64px; }
  .sh-in { gap: 10px; }
  .sh-brand img { height: var(--sh-logo-h-m, var(--sh-logo-h, 30px)); }
  .sh-tools { gap: 8px; }
  .sh .sh-tools .sh-cta { display: none; }
  .sh .sh-panel-cta { display: flex; justify-content: center; width: min(100% - 2 * var(--sh-gut, 24px), var(--sh-max, 1240px)); margin: 4px auto 18px; }
}
@media (max-width: 370px) { .sh-menu-t { display: none; } .sh-menu { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .sh-link, .sh-burger i { transition: none; } }
/* <sh-header:end> */
