/* SIMPRO R2 — Varnost v praksi. Local assets; progressive enhancement. */
:root {
  color-scheme: light;
  --navy: #102e42;
  --ink: #19384c;
  --muted: #4a6171;
  --blue: #eaf2f7;
  --blue-deep: #315b77;
  --green: #397126;
  --green-light: #edf4e8;
  --paper: #fff;
  --canvas: #f5f8fa;
  --line: #ccd8e0;
  --line-strong: #8498a7;
  --radius: 5px;
  --max: 1200px;
  --header-offset: 116px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3,h4 { color: var(--navy); line-height: 1.12; }
h1,h2 { font-weight: 600; letter-spacing: -.052em; }
h2 { font-size: clamp(2.1rem,4vw,3.5rem); }
h3 { font-weight: 600; font-size: 1.5rem; letter-spacing: -.025em; }
p + p { margin-top: 20px; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
a:hover { color: var(--green); }
button,input,textarea { font: inherit; }
button,a,input,textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #397126; outline-offset: 5px; }
.hero :focus-visible,.service-band-2 :focus-visible,.site-footer :focus-visible { outline-color: #b9e692; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
::selection { background: #cfe7bf; color: #102e42; }
[hidden] { display: none !important; }
.container { width: min(var(--max),calc(100% - 80px)); margin-inline: auto; }
section[id],article[id] { scroll-margin-top: 20px; }
.container > *, .service-group > *, .company-grid > *, .people-grid > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 12px 20px; background: #fff; color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-chrome { position: sticky; z-index: 30; top: 0; background: #fff; box-shadow: 0 2px 15px #102e4208; }
.preview-bar { display: flex; justify-content: center; align-items: center; min-height: 24px; padding: 3px 12px; color: #395465; background: #eaf2f7; font-size: .625rem; font-weight: 700; letter-spacing: .12em; text-align: center; }
.site-header { border-bottom: 1px solid #dce5eb; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { width: 180px; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: .8125rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; }
.header-phone { min-height: 44px; display: grid; align-content: center; padding-left: 24px; border-left: 1px solid var(--line); text-decoration: none; white-space: nowrap; }
.header-phone span { color: var(--muted); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; }
.header-phone strong { font-size: .9375rem; }
.menu-toggle { display: none; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; gap: 10px; padding: 8px 12px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--navy); font-size: .8125rem; }
.menu-symbol { display: grid; gap: 4px; width: 17px; }
.menu-symbol span { display: block; width: 17px; height: 2px; background: currentColor; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--blue-deep); font-size: .6875rem; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); flex: 0 0 auto; }
.hero { position: relative; isolation: isolate; background: #0b2334; color: #fff; overflow: clip; }
.hero-image { position: absolute; inset: 0; z-index: -2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 53%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(7,27,41,.97) 0%,rgba(7,27,41,.88) 32%,rgba(7,27,41,.48) 59%,rgba(7,27,41,.06) 85%),linear-gradient(0deg,rgba(7,27,41,.25),transparent 45%); }
.hero-grid { display: flex; align-items: center; min-height: 650px; padding-block: 68px 78px; }
.hero-copy { max-width: 570px; }
.hero .eyebrow { color: #dbe9ee; margin-bottom: 26px; }
.hero .eyebrow::before { background: #a5d77f; }
.hero h1 { font-size: 64px; line-height: 1.035; letter-spacing: -.05em; color: #fff; }
.hero h1 span { display: block; }
.hero h1 .last-word { color: #fff; }
.hero-lead { max-width: 500px; margin-top: 28px; margin-bottom: 30px; color: #edf3f6; font-size: 1.0625rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 14px 22px; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: #fff; font-size: .875rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background 180ms ease, transform 180ms ease, border-color 180ms ease; }
.button:hover { background: #254e68; border-color: #254e68; color: #fff; transform: translateY(-2px); }
.hero .button { background: #b9e692; border-color: #b9e692; color: #173b23; }
.hero .button:hover { background: #d3efba; border-color: #d3efba; color: #173b23; }
.button-arrow { font-size: 1.3rem; font-weight: 400; }
.text-call { display: inline-flex; min-height: 48px; align-items: center; gap: 10px; font-weight: 600; font-size: .875rem; }
.hero .text-call:hover { color: #c7eea9; }
.call-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.hero .call-dot { background: #b9e692; }
.intro-section { padding-block: 64px 28px; }
.hero-baseline { display: grid; grid-template-columns: .7fr 1.6fr; gap: 100px; align-items: start; }
.experience { display: block; max-width: 260px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.experience strong { display: block; color: var(--green); font-size: 76px; font-weight: 500; letter-spacing: -.065em; line-height: 1; margin-bottom: 14px; }
.intro-copy { margin: 0; color: var(--muted); font-size: 1rem; }
.intro-copy strong { display: block; max-width: 650px; margin-bottom: 18px; color: var(--navy); font-size: clamp(1.5rem,2.3vw,2rem); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; }
.system-composition { position: relative; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); }
.system-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .625rem; font-weight: 600; letter-spacing: .12em; }
.system-stack { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 26px; }
.system-card { display: flex; align-items: center; gap: 16px; }
.system-code { color: var(--navy); font-size: 1.45rem; font-weight: 650; letter-spacing: -.06em; }
.system-name { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: .6875rem; line-height: 1.6; }
.system-footnote { margin-top: 28px; color: var(--muted); font-size: .625rem; letter-spacing: .1em; }
.system-cross { position: absolute; right: 0; bottom: -3px; color: var(--green); font-size: 1.8rem; line-height: 1; }
.value-section { padding-block: 50px 60px; background: var(--canvas); border-top: 1px solid #e7edf1; }
.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 52px; }
.value-card { border-top: 2px solid #bdd0dc; padding-top: 24px; }
.value-card:first-child { border-color: var(--green); }
.value-number { display: block; margin-bottom: 22px; color: var(--blue-deep); font-size: .625rem; letter-spacing: .12em; font-weight: 700; }
.value-card h3 { margin-bottom: 16px; font-size: 1.375rem; line-height: 1.25; }
.value-card p { color: var(--muted); font-size: .9375rem; line-height: 1.75; }
.section { padding-block: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section-index { max-width: 340px; color: var(--muted); font-size: .6875rem; letter-spacing: .08em; }
.services-section { padding-bottom: 0; }
.service-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.service-jumps a { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 44px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 30px; font-size: .8125rem; font-weight: 600; text-decoration: none; }
.service-jumps a:hover,.service-jumps a.is-current { color: #fff; background: var(--navy); border-color: var(--navy); }
.service-band { position: relative; }
.service-band-1 { background: #eaf2f7; }
.service-band-2 { background: #102e42; color: #edf3f6; }
.service-band-3 { background: #f4f7fa; }
.service-band-4 { background: #eaf1eb; }
.service-group { display: grid; grid-template-columns: .82fr 1.65fr; gap: 64px; padding-block: 66px; }
.service-label { position: relative; padding-right: 12px; }
.group-number { display: block; color: #5e7e91; font-size: 4.5rem; line-height: 1; font-weight: 300; letter-spacing: -.07em; margin-bottom: 26px; }
.service-label h3 { font-size: clamp(1.6rem,2.3vw,2.1rem); margin-bottom: 20px; line-height: 1.16; }
.service-label p { color: var(--blue-deep); font-size: .625rem; letter-spacing: .13em; font-weight: 700; }
.service-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; align-content: start; }
.service-item { position: relative; padding: 14px 0 14px 20px; border-bottom: 1px solid #c9d7df; font-size: .875rem; line-height: 1.65; overflow-wrap: anywhere; }
.service-item::before { content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 14px; background-color: var(--green); -webkit-mask: url("assets/arrow-ne.svg") center / contain no-repeat; mask: url("assets/arrow-ne.svg") center / contain no-repeat; }
.coming-soon { color: var(--blue-deep); }
.coming-soon::before { content: "—"; color: var(--blue-deep); top: 14px; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; }
.service-band-2 h3 { color: #fff; }
.service-band-2 .group-number { color: #99b2c2; }
.service-band-2 .service-label p { color: #bfd2df; }
.service-band-2 .service-item { border-color: #365366; }
.service-band-2 .service-item::before { color: #b9e692; }
.consultation-wrap { padding-block: 44px 80px; }
.consultation { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 28px 0 28px 30px; border-left: 3px solid var(--green); }
.consultation h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 12px; }
.consultation p { max-width: 780px; color: var(--muted); font-size: .9375rem; }
.consultation .button { flex-shrink: 0; }
.company-section { background: var(--blue); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.company-name { color: var(--muted); font-size: .875rem; margin-top: 25px; }
.area-tag { display: flex; align-items: center; gap: 10px; color: var(--blue-deep); font-size: .8125rem; margin-top: 14px; }
.company-photo { position: relative; margin-top: 34px; }
.company-photo::after { content: ""; position: absolute; width: 64px; height: 5px; left: 0; bottom: 0; background: #397126; }
.company-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px; }
.company-copy { padding-top: 46px; }
.company-copy p { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.company-copy p:first-child { color: var(--navy); font-size: 1.3rem; line-height: 1.55; letter-spacing: -.015em; }
.company-copy .company-motto { padding-top: 25px; margin-top: 30px; border-top: 1px solid #b7cbd8; color: var(--navy); font-size: 1.625rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.3; }
.people-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; }
.person { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); padding-top: 30px; }
.person-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.person h3 { font-size: 1.8rem; margin-bottom: 12px; }
.person-role { color: var(--blue-deep); font-size: .8125rem; max-width: 320px; }
.person-monogram { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 54px; height: 54px; background: #edf4e8; border-radius: 50%; color: var(--green); font-size: .875rem; font-weight: 600; }
.person-bio { color: var(--muted); font-size: .9375rem; line-height: 1.85; margin: 25px 0; }
.person-links { display: flex; flex-wrap: wrap; gap: 2px 24px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.person-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; font-size: .8125rem; font-weight: 600; }
.review-sections { padding-block: 84px; background: #f4f7fa; }
.references-panel > p:not(.eyebrow) { max-width: 690px; margin-top: 24px; color: var(--muted); }
.client-logos { display: grid; grid-template-columns: 1fr 1fr 1.75fr 1fr; margin-top: 38px; gap: 14px; }
.client-logo { background: #fff; min-width: 0; padding: 20px 16px; border: 1px solid #e3e9ed; border-radius: 5px; }
.client-logo-image { height: 152px; display: flex; align-items: center; justify-content: center; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
.client-logo figcaption { padding-top: 18px; margin-top: 16px; border-top: 1px solid #e7edf1; font-size: .75rem; line-height: 1.55; }
.client-logo figcaption strong { color: var(--navy); font-weight: 600; }
.client-logo figcaption span { display: block; color: var(--muted); margin-top: 3px; }
.client-statements { margin-top: 60px; }
.client-statements > h3 { font-size: 1.625rem; }
.client-source { color: var(--muted); font-size: .8125rem; margin-top: 12px; }
.client-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 32px; }
.client-quote { display: flex; flex-direction: column; align-items: flex-start; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.quote-mark { display: block; height: 50px; font-family: Georgia,serif; font-size: 5rem; line-height: 1; color: var(--green); }
.client-quote blockquote { margin: 16px 0 26px; }
.client-quote blockquote p { color: var(--navy); font-size: 1.125rem; line-height: 1.7; letter-spacing: -.015em; }
.client-quote figcaption { margin-top: auto; font-size: .8125rem; }
.client-quote figcaption span { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; }
.source-reviews { position: relative; min-width: 0; margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line-strong); }
.source-reviews-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 25px; }
.source-reviews-score { color: var(--navy); font-size: 2.25rem; line-height: 1.15; font-weight: 600; letter-spacing: -.045em; }
.source-reviews-label { color: var(--muted); font-size: .875rem; }
.source-reviews-heading { font-size: 1.25rem; margin-bottom: 12px; }
.source-reviews-help { color: var(--muted); font-size: .8125rem; max-width: 760px; }
.source-review-quotes { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--line-strong) var(--blue); padding: 8px 0 18px; margin-top: 20px; }
.source-review-quote { flex: 0 0 calc((100% - 36px)/3); min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 26px; border: 1px solid #dce5eb; border-radius: 5px; background: #fff; scroll-snap-align: start; overflow-wrap: anywhere; }
.source-review-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--green); font-size: .75rem; font-weight: 700; }
.source-review-stars { letter-spacing: .12em; }
.source-review-quote blockquote { margin: 0; }
.source-review-quote blockquote p,.source-review-empty { font-size: 1.0625rem; line-height: 1.6; color: var(--navy); }
.source-review-quote figcaption { margin-top: auto; font-size: .8125rem; font-weight: 700; color: var(--navy); }
.source-review-quote figcaption span { display: block; font-size: .6875rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
.source-reviews-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
.source-reviews-position { margin: 0; color: var(--muted); font-size: .8125rem; }
.source-reviews-controls { display: flex; gap: 8px; }
.source-reviews-arrow { display: inline-flex; justify-content: center; align-items: center; width: 46px; min-width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--navy); color: #fff; background: var(--navy); font-size: 1.5rem; transition: background 180ms ease; }
.source-reviews-arrow:hover:not(:disabled) { background: var(--blue-deep); }
.source-reviews-arrow:disabled { color: var(--muted); border-color: var(--line); background: var(--blue); cursor: default; }
.source-reviews-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.source-reviews a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-size: .8125rem; font-weight: 700; overflow-wrap: anywhere; }
.source-reviews .source-reviews-date { color: var(--muted); max-width: 820px; font-size: .75rem; margin: 6px 0 0; }
.gallery-wrap { padding-block: 34px; }
.gallery-panel { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.gallery-panel .eyebrow { margin: 0 auto 0 0; }
.gallery-panel h2 { font-size: 1.375rem; letter-spacing: -.03em; }
.gallery-state { margin: 0; padding: 6px 14px; background: var(--canvas); border: 1px solid var(--line); border-radius: 30px; color: var(--muted); font-size: .8125rem; }
.contact-section { padding-block: 88px; background: #eaf2f7; }
.contact-heading { max-width: 830px; margin-bottom: 40px; }
.contact-subtitle { max-width: 650px; margin-top: 24px; color: var(--muted); font-size: 1rem; }
.preview-note { max-width: 750px; margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--blue-deep); background: #dce8f0; color: var(--navy); font-size: .875rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.contact-person { padding: 26px 0; border-bottom: 1px solid #bdcfdc; }
.contact-person:first-child { padding-top: 0; }
.contact-person h3 { margin-bottom: 8px; font-size: 1rem; }
.contact-person a { display: flex; align-items: center; width: fit-content; min-height: 44px; padding-block: 8px; overflow-wrap: anywhere; font-size: .9375rem; }
.contact-person .contact-tel { font-size: clamp(1.4rem,2.3vw,1.875rem); font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.address-block { padding-top: 30px; }
.address-block h3 { font-size: 1rem; margin-bottom: 14px; }
.address-block p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.map-link { display: inline-flex; align-items: center; min-height: 44px; gap: 18px; margin-top: 12px; font-size: .875rem; font-weight: 600; }
.inquiry-panel { padding: 34px; background: #fff; border: 1px solid #d9e4eb; border-radius: 6px; box-shadow: 0 14px 40px #102e4205; }
.advice-copy { font-size: .9375rem; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.advice-copy strong { display: block; font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.advice-copy a { font-weight: 600; }
.inquiry-fieldset,.category-fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.inquiry-fieldset > legend { padding: 0; margin-bottom: 24px; font-size: 1.25rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: grid; min-width: 0; gap: 8px; margin-bottom: 20px; }
.field label,.category-legend { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.field input,.field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: #f5f8fa; color: var(--muted); font-size: .9375rem; opacity: 1; -webkit-text-fill-color: var(--muted); }
.field textarea { min-height: 150px; resize: vertical; }
.field textarea::placeholder { color: var(--muted); -webkit-text-fill-color: var(--muted); opacity: 1; }
.category-fieldset { margin-bottom: 24px; }
.category-legend { padding: 0; margin-bottom: 12px; }
.category-options { display: flex; flex-wrap: wrap; gap: 8px; }
.category-option { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--canvas); color: var(--muted); font-size: .75rem; }
.category-option input { width: 15px; height: 15px; margin: 0; accent-color: var(--green); }
.button:disabled { width: 100%; border-color: var(--line-strong); background: var(--blue); color: var(--muted); opacity: 1; cursor: not-allowed; transform: none; }
.reply-note { color: var(--muted); font-size: .8125rem; line-height: 1.6; margin-top: 14px; }
.site-footer { padding: 64px 0 24px; background: var(--navy); color: #d9e5ec; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 60px; }
.footer-brand > a { display: inline-flex; align-items: center; min-height: 44px; padding: 14px; background: #fff; border-radius: 3px; margin-bottom: 24px; }
.footer-brand img { width: 175px; }
.footer-business { max-width: 330px; color: #c0d2de; font-size: .8125rem; margin-top: 0; margin-bottom: 18px; }
.footer-heading { color: #fff; margin-bottom: 12px; font-size: .8125rem; font-weight: 600; }
.footer-links { display: grid; align-content: start; gap: 1px; }
.footer-links a { display: flex; align-items: center; width: fit-content; min-height: 44px; padding-block: 7px; color: #d9e5ec; font-size: .8125rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: #b9e692; text-decoration: underline; }
.footer-links .footer-primary { font-size: 1.5rem; font-weight: 600; color: #fff; }
.footer-links a + .footer-heading { margin-top: 22px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid #395568; color: #bfd0dc; font-size: .75rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; }
.footer-bottom a:hover { color: #b9e692; }
@keyframes hero-enter { from { opacity: .2; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow { animation: hero-enter .6s ease-out both; }
  .hero h1 { animation: hero-enter .75s .06s ease-out both; }
  .hero-lead { animation: hero-enter .75s .13s ease-out both; }
  .hero-actions { animation: hero-enter .75s .2s ease-out both; }
}
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .header-inner { gap: 18px; }
  .brand img { width: 164px; }
  .header-phone { padding-left: 18px; }
  .hero-copy { max-width: 510px; }
  .hero-baseline { gap: 60px; }
  .value-grid { gap: 30px; }
  .service-group { gap: 36px; grid-template-columns: .7fr 1.65fr; }
  .service-list { gap: 0 24px; }
  .company-grid,.contact-grid { gap: 45px; }
  .people-grid,.client-quotes { gap: 36px; }
  .client-logos { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .client-logo-image { height: 160px; }
  .client-logo-otrin img { max-width: none; }
  .source-review-quote { flex-basis: calc((100% - 18px)/2); }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 12px 18px; min-height: 74px; }
  .main-nav { order: 4; width: 100%; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); gap: 0 24px; }
  .header-phone { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .js .main-nav[data-menu-open="false"] { display: none; }
  .main-nav { max-height: 40vh; overflow-y: auto; }
  .hero-grid { min-height: 600px; }
  .hero h1 { font-size: 60px; }
  .hero-lead { max-width: 450px; }
  .system-stack { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 22px; }
  .system-card { min-height: 48px; }
  .system-code { width: 90px; flex: 0 0 auto; }
  .service-group { grid-template-columns: 1fr; gap: 28px; }
  .service-label { display: grid; grid-template-columns: 80px 1fr; column-gap: 22px; align-items: center; }
  .group-number { grid-row: 1/3; margin: 0; font-size: 4rem; }
  .service-label h3 { margin: 0 0 10px; max-width: 460px; }
  .service-label p { grid-column: 2; }
  .company-copy { padding-top: 0; }
  .company-copy p:first-child { font-size: 1.125rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 720px) {
  :root { --header-offset: 148px; }
  .container { width: calc(100% - 40px); }
  h2 { font-size: clamp(2rem,8.7vw,2.7rem); line-height: 1.14; }
  .site-chrome { position: relative; }
  .js .site-chrome { position: sticky; }
  .header-inner { gap: 8px 12px; padding-block: 10px; }
  .brand img { width: 155px; }
  .menu-toggle { margin-left: auto; }
  .header-phone { order: 3; width: 100%; display: flex; min-height: 44px; align-items: center; justify-content: space-between; margin: 0; padding: 6px 0 0; border-left: 0; border-top: 1px solid #e2e9ee; }
  .header-phone span { font-size: .625rem; }
  .header-phone strong { font-size: .8125rem; }
  .main-nav { gap: 0 22px; }
  .hero-grid { min-height: 0; padding-block: 46px 300px; }
  .hero-copy { max-width: 540px; }
  .hero h1 { font-size: 40px; line-height: 1.075; }
  .hero .eyebrow { margin-bottom: 22px; font-size: .625rem; }
  .hero-lead { font-size: 1rem; margin-top: 24px; margin-bottom: 24px; max-width: 480px; }
  .hero-actions { gap: 10px 20px; }
  .hero-image { inset: auto 0 0; height: 300px; }
  .hero-image img { object-position: 78% 60%; }
  .hero::after { background: linear-gradient(0deg,rgba(7,27,41,.04) 0,rgba(11,35,52,.08) 175px,#0b2334 300px); }
  .hero .button { min-height: 50px; }
  .intro-section { padding-top: 44px; }
  .hero-baseline { grid-template-columns: 1fr; gap: 30px; }
  .experience { display: flex; gap: 24px; align-items: center; max-width: 340px; font-size: .875rem; }
  .experience strong { font-size: 64px; margin: 0; flex-shrink: 0; }
  .intro-copy { font-size: .9375rem; line-height: 1.8; }
  .intro-copy strong { font-size: 1.625rem; line-height: 1.25; }
  .system-composition { margin-top: 34px; }
  .system-topline { font-size: .5625rem; letter-spacing: .07em; }
  .system-stack { gap: 22px 18px; }
  .system-card { display: block; }
  .system-code { display: block; width: auto; margin-bottom: 10px; font-size: 1.375rem; }
  .system-name { display: block; padding-left: 12px; font-size: .6875rem; }
  .system-footnote { font-size: .5625rem; }
  .value-section { padding-block: 38px 44px; }
  .value-grid { grid-template-columns: 1fr; gap: 28px; }
  .value-card { padding-top: 22px; }
  .value-number { margin-bottom: 14px; }
  .value-card h3 { max-width: 370px; }
  .section { padding-block: 58px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-index { margin-top: 20px; font-size: .625rem; }
  .service-jumps { margin-bottom: 30px; gap: 8px; }
  .service-jumps a { gap: 20px; padding-inline: 13px; font-size: .75rem; }
  .services-section { padding-bottom: 0; }
  .service-group { padding-block: 40px; gap: 22px; }
  .service-label { grid-template-columns: 58px 1fr; column-gap: 18px; }
  .group-number { font-size: 3.25rem; }
  .service-label h3 { font-size: 1.6rem; }
  .service-label p { font-size: .5625rem; letter-spacing: .08em; }
  .service-list { grid-template-columns: 1fr; }
  .service-item { font-size: .9375rem; padding-block: 13px; }
  .consultation-wrap { padding-block: 32px 52px; }
  .consultation { flex-direction: column; align-items: flex-start; gap: 22px; padding: 4px 0 4px 22px; }
  .consultation h3 { font-size: 1.25rem; }
  .company-grid { grid-template-columns: 1fr; gap: 30px; }
  .company-photo { margin-top: 28px; }
  .company-copy p { font-size: .9375rem; }
  .company-copy p:first-child { font-size: 1.125rem; }
  .company-copy .company-motto { font-size: 1.5rem; }
  .people-grid { grid-template-columns: 1fr; gap: 40px; }
  .person-top { gap: 14px; }
  .person h3 { font-size: 1.625rem; }
  .person-monogram { width: 46px; height: 46px; }
  .review-sections { padding-block: 54px; }
  .references-panel > p:not(.eyebrow) { font-size: .9375rem; }
  .client-logos { margin-top: 28px; gap: 12px; }
  .client-logo { padding: 14px 12px; }
  .client-logo-image { height: 112px; }
  .client-logo figcaption { padding-top: 14px; margin-top: 12px; font-size: .6875rem; }
  .client-logo-otrin { grid-column: 1/-1; order: 4; }
  .client-logo-vztrajnost { grid-column: 1/-1; }
  .client-logo-vztrajnost .client-logo-image { height: 164px; }
  .client-logo-vztrajnost img { max-width: 200px; }
  .client-logo-otrin .client-logo-image { height: auto; min-height: 76px; }
  .client-logo-otrin img { height: auto; object-fit: contain; }
  .client-statements { margin-top: 42px; }
  .client-quotes { grid-template-columns: 1fr; gap: 30px; margin-top: 28px; }
  .client-quote blockquote p { font-size: 1rem; line-height: 1.75; }
  .source-reviews { margin-top: 36px; padding-top: 30px; }
  .source-reviews-summary { gap: 10px 16px; }
  .source-reviews-score { font-size: 2rem; }
  .source-reviews-label { font-size: .8125rem; }
  .source-review-quote { flex-basis: 88%; padding: 22px; }
  .source-reviews-help { font-size: .75rem; }
  .gallery-wrap { padding-block: 24px; }
  .gallery-panel { gap: 12px 24px; }
  .gallery-panel .eyebrow { width: 100%; }
  .contact-section { padding-block: 54px; }
  .contact-heading { margin-bottom: 30px; }
  .contact-subtitle { font-size: .9375rem; }
  .preview-note { padding: 14px 16px; font-size: .8125rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-person .contact-tel { font-size: 1.65rem; }
  .inquiry-panel { padding: 24px; }
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .hero-grid { padding-top: 38px; padding-bottom: 264px; }
  .hero-image { height: 264px; }
  .hero::after { background: linear-gradient(0deg,rgba(7,27,41,.04),rgba(11,35,52,.08) 135px,#0b2334 264px); }
  .hero-actions { gap: 8px 20px; }
  .hero .button { width: 100%; }
  .hero .text-call { min-height: 44px; }
  .inquiry-panel { padding: 20px; }
  .person h3 { font-size: 1.5rem; }
  .person-monogram { width: 38px; height: 38px; font-size: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .client-logo-image { height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html,.source-review-quotes { scroll-behavior: auto !important; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}
@media print {
  :root { --header-offset: 0px; }
  body { font-size: 10pt; }
  .container { width: 100%; }
  .site-chrome,.js .site-chrome { position: static; }
  .main-nav,.menu-toggle,.header-phone,.service-jumps,.hero-actions,.source-reviews-navigation,.source-reviews-help,.source-reviews-live,.skip-link { display: none !important; }
  .hero { background: #fff; color: #102e42; }
  .hero-image,.hero::after { display: none; }
  .hero-grid { min-height: 0; padding: 24px 0; }
  .hero h1,.hero h1 .last-word,.hero .eyebrow,.hero-lead { color: #102e42; }
  .hero h1 { font-size: 36pt; }
  .hero h1 span { display: inline; }
  .section,.review-sections,.contact-section { padding-block: 24px; }
  .service-group { padding-block: 24px; }
  .service-band,.site-footer { background: #fff; color: #102e42; }
  .service-band-2 h3,.service-band-2 .service-label p,.footer-heading,.footer-links a,.footer-business,.footer-bottom { color: #102e42; }
  .source-review-quotes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .source-review-quote,.client-quote,.person { break-inside: avoid; }
  .company-grid,.contact-grid { gap: 30px; }
  .inquiry-panel { box-shadow: none; }
  .footer-links .footer-primary { color: #102e42; }
}

/* R2 browser follow-up: effective mobile touch sizes and numeral contrast. */
.header-phone { flex-shrink: 0; }
.advice-copy a { display:inline-flex; align-items:center; min-height:44px; }
.footer-links a { min-width:44px; }
.group-number { color:#466477; }
.service-band-2 .group-number { color:#99b2c2; }

.main-nav a { min-width:44px; }

/* R4 editable inquiry preview */
.inquiry-help { margin: 0 0 24px; color: var(--muted); font-size: .875rem; }
.inquiry-check { width: 100%; }
.inquiry-check[hidden] { display: none; }
.field input:enabled,.field textarea:enabled { background: #fff; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.field input:focus-visible,.field textarea:focus-visible { outline: 3px solid #397126; outline-offset: 3px; }
.field [aria-invalid="true"] { border-color: #a52b2b; }
.category-option:has(input:checked) { background: #e4f0df; border-color: #397126; }
.inquiry-status:not(:empty) { padding: 16px; margin: 16px 0; background: #edf4f7; border-left: 3px solid #397126; color: var(--ink); }

/* R5: six sourced references; preserve original logo artwork without cropping. */
.client-logos { grid-template-columns:repeat(3,minmax(0,1fr)); }
.client-logo-kis { grid-column:span 2; }
.client-logo-sahara .client-logo-image { background:#151513; }
@media(max-width:1000px){.client-logos{grid-template-columns:repeat(2,minmax(0,1fr));}.client-logo-kis{grid-column:1/-1;}}
@media(max-width:600px){.client-logo-sahara{grid-column:1/-1;}.client-logo-kis{order:5;}.client-logo-kis .client-logo-image{height:105px;}}
/* R7: vector arrows render consistently across OS emoji/font settings. */
.ui-arrow { display:inline-block; width:1em; height:1em; flex:0 0 auto; vertical-align:-.125em; pointer-events:none; }
.button-arrow { display:inline-flex; align-items:center; }

/* R8: original customer logo at native size; AI-authored rating geometry. */
.client-logo-iak img { width:103px; height:80px; max-width:100%; object-fit:contain; }
.source-review-stars { display:inline-flex; align-items:center; gap:2px; letter-spacing:normal; }
.source-review-stars svg { flex:none; }
.facebook-link { min-height:44px; display:inline-flex; align-items:center; text-decoration:underline; text-underline-offset:4px; }

/* R9: recognizable Facebook mark with readable label and keyboard focus. */
.facebook-link { gap:10px; padding:8px 12px; border:1px solid currentColor; border-radius:8px; text-decoration:none; font-weight:700; }
.facebook-link .social-icon { display:block; width:24px; height:24px; flex:0 0 24px; }
.facebook-link:hover { background:rgba(255,255,255,.08); }
.facebook-link:focus-visible { outline:3px solid currentColor; outline-offset:4px; }

/* Production form enhancement; native POST remains usable without JavaScript. */
.form-honeypot { display: none; }
.inquiry-check[aria-busy="true"] { cursor: progress; }
.inquiry-check:disabled { opacity: .7; cursor: not-allowed; }
.inquiry-status:not(:empty) { padding: 1rem; border: 1px solid currentColor; border-radius: .6rem; }
.inquiry-status[data-state="error"], .inquiry-status[data-state="uncertain"] { color: #8c2525; }
.inquiry-status[data-state="success"] { color: #246329; }
.form-privacy { margin-top: 1.2rem; font-size: .9rem; line-height: 1.6; }
.form-privacy summary { cursor: pointer; font-weight: 700; padding: .5rem 0; }
.form-privacy p { margin-top: .75rem; }
.not-found { padding-top: 8vh; padding-bottom: 8vh; max-width: 780px; }
.not-found h1 { font-size: clamp(2rem, 6vw, 4rem); }
.not-found p, .not-found .eyebrow { margin: 1.5rem 0; }

.form-privacy summary { display: flex; align-items: center; gap: .5rem; list-style: none; }
.form-privacy summary::-webkit-details-marker { display: none; }
.privacy-chevron { flex: 0 0 16px; }
.form-privacy[open] .privacy-chevron { transform: rotate(90deg); }
