/* Cortio: design tokens, base, shared components (header, footer, contact) and homepage sections. */

:root{
  --night:#0F1A22;      /* dark sections, matches the background images */
  --ink:#14222B;        /* body text, dark buttons */
  --ink-hover:#27394A;
  --paper:#F3F5F4;      /* page background */
  --mist:#E6EBEA;       /* alternating section background */
  --surface:#FFFFFF;
  --steel:#55636E;      /* secondary text */
  --line:#D2D9DA;
  --warn:#C07A12;       /* incident, graphics; 3:1 on light */
  --warn-ink:#8C5306;   /* amber text on light */
  --ok:#2F9E66;         /* working, graphics */
  --ok-ink:#1C6A44;     /* green text on light */
  --ok-lit:#4CC089;     /* green on dark */
  --accent:#1C6A44;     /* the single accent: primary buttons */
  --accent-hover:#15533A;

  --f-cond:'IBM Plex Sans Condensed','IBM Plex Sans',sans-serif;
  --f-sans:'IBM Plex Sans',Helvetica,Arial,sans-serif;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
[hidden]{display:none!important} /* the attribute always wins over component display rules */
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--f-sans);font-size:17px;-webkit-font-smoothing:antialiased;text-wrap:pretty;overflow-wrap:break-word;hyphens:auto}
h1,h2,h3{hyphens:manual}
a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--steel);text-underline-offset:3px}
a:hover{text-decoration-color:var(--ink)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
button,input,textarea{font:inherit;color:inherit}
img{max-width:100%}
.v-page{min-height:100vh;display:flex;flex-direction:column}
.v-page>main{flex:1}
.v-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@keyframes om-reveal{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@keyframes v-draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes v-draw-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes v-pop{from{transform:scale(0)}to{transform:scale(1)}}
@keyframes v-in{from{opacity:0}to{opacity:1}}

@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

/* ---------- Layout & type ---------- */
.v-wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.v-sec{border-bottom:1px solid var(--line)}
.v-sec--mist{background:var(--mist)}
.v-sec-in{max-width:1120px;margin:0 auto;padding:88px 24px}
.v-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:48px 64px;align-items:start}

.v-h2{font-family:var(--f-cond);font-size:clamp(34px,4vw,54px);line-height:1.02;font-weight:600;letter-spacing:-.01em;margin:0 0 40px;overflow-wrap:normal;hyphens:manual;text-wrap:balance}
.v-h3{font-size:19px;font-weight:600;margin:0}
.v-muted{margin:0;line-height:1.55;color:var(--steel);font-size:16px}
.v-big{font-family:var(--f-cond);font-size:clamp(38px,4.2vw,58px);line-height:1;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}

.v-btn{display:inline-block;text-decoration:none;background:var(--accent);color:var(--paper);padding:15px 24px;border-radius:4px;font-weight:600;font-size:16px;transition:background-color .15s ease}
.v-btn:hover{background:var(--accent-hover)}
.v-btn--outline{background:transparent;border:1px solid var(--ink);color:var(--ink);padding:12px 20px}
.v-btn--outline:hover{background:var(--surface)}
.v-link{font-size:15px;font-weight:500}
.v-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ok);display:inline-block}
.v-dot--warn{background:var(--warn)}

/* ---------- Header ---------- */
.v-header{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:30}
.v-header-in{max-width:1120px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:36px;min-height:40px}
.v-logo{text-decoration:none;font-family:var(--f-cond);font-weight:600;font-size:21px;letter-spacing:.01em;display:flex;align-items:center;gap:10px;color:var(--ink)}
.v-logo::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok);display:inline-block}
.v-nav{display:flex;align-items:center;gap:26px;font-size:15px;flex:1}
.v-nav a,.v-nav-btn{text-decoration:none;color:var(--steel);transition:color .15s ease}
.v-nav a:hover,.v-nav-btn:hover,.v-nav [aria-current="page"]{color:var(--ink)}
.v-nav-btn{all:unset;cursor:pointer;display:flex;align-items:center;gap:6px;padding:6px 0;color:var(--steel)}
.v-nav-btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.v-caret{font-size:10px;line-height:1;transition:transform .15s ease}
.v-nav-btn[aria-expanded="true"] .v-caret{transform:rotate(180deg)}
.v-drop{position:relative}
.v-drop-panel{position:absolute;top:calc(100% + 16px);left:-22px;background:var(--surface);border:1px solid var(--line);border-radius:6px;box-shadow:0 10px 30px rgba(27,36,48,.08);padding:22px 24px 24px;display:grid;grid-template-columns:auto auto;gap:24px 48px;width:max-content;animation:om-reveal .15s ease}
.v-drop-panel[hidden]{display:none}
.v-drop-panel p{margin:0 0 10px;font-size:13px;color:var(--steel)}
.v-drop-panel ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.v-nav .v-drop-panel a{display:block;padding:6px 0;color:var(--ink)}
.v-nav .v-drop-panel a:hover{text-decoration:underline}
.v-head-right{display:flex;align-items:center;gap:22px;font-size:14px}
.v-head-cta{text-decoration:none;background:var(--ink);color:var(--paper);padding:9px 14px;border-radius:4px;font-weight:600;white-space:nowrap;transition:background-color .15s ease,transform .1s ease}
.v-head-cta:hover{background:var(--ink-hover)}
.v-head-cta:active{transform:translateY(1px)}
.v-lang{display:flex;gap:6px;color:var(--steel)}
.v-lang [aria-current]{color:var(--ink);font-weight:500}
.v-lang a{text-decoration:none;color:var(--steel)}
.v-lang a:hover{color:var(--ink)}
.v-menu-btn{all:unset;cursor:pointer;margin-left:auto;padding:10px 4px;min-height:24px;font-size:15px;font-weight:500;display:none;align-items:center;gap:8px}
.v-menu-btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.v-mnav{border-top:1px solid var(--line);padding:8px 24px 28px;font-size:17px;animation:om-reveal .15s ease}
.v-mnav[hidden]{display:none}
.v-mnav p{margin:14px 0 4px;font-size:13px;color:var(--steel)}
.v-mnav ul{list-style:none;margin:0;padding:0}
.v-mnav li a{display:block;padding:11px 0;text-decoration:none}
.v-mnav-more{margin-top:8px!important;padding-top:8px!important;border-top:1px solid var(--line)}
.v-mnav-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}
.v-mnav-foot .v-head-cta{padding:13px 18px;font-weight:500}
.v-mnav-foot .v-lang-sw{text-decoration:none;color:var(--steel);padding:12px 0}
[data-gate][hidden]{display:none!important}
@media (max-width:940px){
  .v-nav,.v-head-right{display:none}
  .v-menu-btn{display:flex}
}
@media (min-width:941px){.v-mnav{display:none!important}}

/* ---------- Footer ---------- */
.v-footer{border-top:1px solid var(--line)}
.v-footer-in{max-width:1120px;margin:0 auto;padding:40px 24px 44px;display:flex;flex-wrap:wrap;gap:32px 56px;font-size:14px;line-height:1.6;color:var(--steel)}
.v-footer-id{flex:1 1 220px;display:flex;flex-direction:column;gap:2px}
.v-footer-id strong{color:var(--ink);font-weight:600}
.v-footer a{color:var(--steel);text-decoration:none;transition:color .15s ease}
.v-footer a:hover{color:var(--ink)}
.v-footer-id a{text-decoration:underline}
.v-footer nav{flex:1 1 220px}
.v-footer nav+nav{flex-basis:200px}
.v-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.v-footer .v-lang{flex:0 0 auto}
.v-footer .v-lang [aria-current]{font-weight:400}

/* ---------- 1. Hero: weekend timeline ---------- */
.v-hero{background:var(--paper);border-bottom:1px solid var(--line);padding:clamp(56px,8vw,96px) 0 clamp(48px,7vw,80px)}
.v-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,3vw,36px);align-items:start}
.v-hero-grid>div{display:flex;flex-wrap:wrap;gap:24px 56px;align-items:flex-end;justify-content:space-between}
.v-display{font-family:var(--f-cond);font-size:clamp(46px,6.4vw,92px);line-height:.95;font-weight:600;letter-spacing:-.015em;margin:0;text-wrap:balance;overflow-wrap:normal;hyphens:manual}
.v-lead{font-size:20px;line-height:1.5;color:var(--steel);margin:0;max-width:46ch}
.v-cta{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.v-rail{list-style:none;margin:80px 0 0;padding:0;display:grid;grid-template-columns:1fr 1.3fr 2.1fr 1.35fr}
.v-ev{position:relative;padding:36px 24px 0 0}
.v-ev::after{content:"";position:absolute;left:0;right:0;top:10px;height:2px;background:var(--line);transform-origin:left center;animation:v-draw .55s linear both}
.v-ev::before{content:"";position:absolute;left:0;top:3px;width:16px;height:16px;border-radius:50%;background:var(--paper);border:2px solid var(--steel);z-index:1;animation:v-pop .25s ease-out both}
.v-ev--alert::after,.v-ev--hold::after{top:7px;height:8px;background:var(--warn)}
.v-ev--alert::after{right:-2px}
.v-ev--alert::before{background:var(--warn);border-color:var(--warn)}
.v-ev--hold::before{display:none}
.v-ev--ok::before{background:var(--ok);border-color:var(--ok)}
.v-ev--ok::after{background:var(--ok)}
.v-ev time{display:block;font-family:var(--f-cond);font-size:16px;font-weight:600;letter-spacing:.01em;color:var(--steel);margin-bottom:6px;font-variant-numeric:tabular-nums}
.v-ev--alert time{color:var(--warn-ink)}
.v-ev--ok time{color:var(--ok-ink)}
.v-ev span{display:block;font-size:16px;line-height:1.45;max-width:24ch}
.v-ev>*{animation:v-in .4s ease both}
.v-ev:nth-child(1)::before{animation-delay:.15s}.v-ev:nth-child(1)::after{animation-delay:.25s}.v-ev:nth-child(1)>*{animation-delay:.3s}
.v-ev:nth-child(2)::before{animation-delay:.8s}.v-ev:nth-child(2)::after{animation-delay:.85s}.v-ev:nth-child(2)>*{animation-delay:.9s}
.v-ev:nth-child(3)::after{animation-delay:1.4s}.v-ev:nth-child(3)>*{animation-delay:1.6s}
.v-ev:nth-child(4)::before{animation-delay:1.95s}.v-ev:nth-child(4)::after{animation-delay:2s}.v-ev:nth-child(4)>*{animation-delay:2.05s}
.v-note{margin:20px 0 0;font-size:14px;line-height:1.5;color:var(--steel);animation:v-in .4s ease 2.4s both}
@media (max-width:768px){
  .v-rail{grid-template-columns:minmax(0,1fr);margin-top:48px}
  .v-ev{padding:0 0 28px 34px}
  .v-ev::after{left:7px;right:auto;top:0;bottom:0;width:2px;height:auto;transform-origin:center top;animation-name:v-draw-y}
  .v-ev--alert::after,.v-ev--hold::after{left:4px;width:8px;top:0;height:auto}
  .v-ev--ok{padding-bottom:4px}
  .v-ev--ok::after{display:none}
  .v-ev::before{top:2px}
  .v-ev span{max-width:none}
}

/* ---------- 2. From chaos to system ---------- */
.v-sys{position:relative;background:var(--night);color:var(--paper);--bg-opacity:.38}
.v-sys-pin{position:relative;top:0;overflow:hidden}
.v-sys-grid{position:static;max-width:1120px;margin:0 auto;padding:96px 24px;display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:32px 64px;align-items:center}
.v-sys-copy{position:relative;z-index:1}
.v-sys-h{margin:0;display:grid;max-width:560px;font-family:var(--f-cond);font-size:clamp(32px,2.6vw + 20px,54px);line-height:1.04;font-weight:600;letter-spacing:-.01em;color:var(--paper);text-wrap:balance;overflow-wrap:normal;hyphens:manual}
.v-sys-h>span{grid-area:1 / 1}
.v-sys-h>span+span{opacity:0}
.v-sys-tabs{margin-top:32px;display:none;gap:4px;padding:4px;border:1px solid rgba(247,247,245,.18);border-radius:6px}
.v-sys-tabs button{min-height:44px;padding:0 18px;border:0;border-radius:4px;cursor:pointer;font-size:15px;font-weight:500;background:transparent;color:rgba(247,247,245,.7);transition:background-color .2s linear,color .2s linear}
.v-sys-tabs button[aria-pressed="true"]{background:rgba(247,247,245,.14);color:var(--paper)}
.v-sys-stage{position:static;margin:0;min-width:0}
.v-sys-bg{position:absolute;inset:0;z-index:0;opacity:var(--bg-opacity,.38);pointer-events:none}
.v-sys-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.v-sys-svg{position:relative;z-index:1;display:block;width:100%;max-width:680px;max-height:calc(100vh - 96px);margin-left:auto;overflow:visible}
.v-card rect{fill:#13222C;fill-opacity:.96;stroke:rgba(247,247,245,.32);stroke-width:1px;vector-effect:non-scaling-stroke}
.v-card circle{fill:#6E757A}
.v-card text{font-size:17px;font-weight:600;fill:#F3F5F4}
/* Desktop with motion: pinned, scroll-driven storyboard. */
@media (min-width:769px) and (prefers-reduced-motion:no-preference){
  .v-sys{height:350vh}
  .v-sys-pin{position:sticky;height:100vh}
  .v-sys-grid{height:100%;padding:48px 24px}
}
@media (max-width:768px){
  .v-sys-grid{grid-template-columns:minmax(0,1fr);padding:64px 24px 0}
  .v-sys-stage{position:relative;margin:0 -24px}
  .v-sys-tabs{display:inline-flex}
}

/* ---------- 3. Services ---------- */
.v-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:0 48px;border-top:1px solid var(--line)}
.v-svc{text-decoration:none;color:var(--ink);padding:28px 0 32px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:14px;transition:border-color .15s ease}
a.v-svc:hover{border-bottom-color:var(--ink)}
.v-svc-sub{margin:0;font-style:italic;color:var(--steel);line-height:1.5}
.v-svc-txt{margin:0;line-height:1.6;flex:1}
.v-svc dl{margin:8px 0 0;display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:15px;line-height:1.5}
.v-svc dt{color:var(--steel)}
.v-svc dd{margin:0}
.v-svc .v-price{font-weight:600;font-variant-numeric:tabular-nums}
.v-svc-more{font-size:15px;font-weight:500;text-decoration:underline;text-decoration-color:var(--steel);text-underline-offset:3px}
.v-after{margin:24px 0 0;font-size:16px;color:var(--steel)}

/* ---------- 4. Process ---------- */
.v-steps4{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:32px}
.v-steps4 li{display:grid;grid-template-columns:auto 1fr;gap:16px}
.v-steps4 .v-n{font-family:var(--f-cond);font-size:28px;line-height:1;font-weight:600;color:var(--steel);font-variant-numeric:tabular-nums}
.v-steps4 .v-h3{margin-bottom:6px}

/* ---------- 5. Not on one person ---------- */
.v-three{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:32px}
.v-three>div{border-top:1px solid var(--ink);padding-top:16px}
.v-three .v-h3{margin-bottom:8px}

/* ---------- 6. Audit ---------- */
.v-audit h2{margin-bottom:24px}
.v-audit p{font-size:17px;line-height:1.6}
.v-audit ul{margin:0 0 32px;padding:0 0 0 20px;line-height:1.6;display:flex;flex-direction:column;gap:8px}
.v-fork{margin:0;display:grid;grid-template-columns:1fr;gap:12px;font-size:16px;line-height:1.5}
.v-fork>div{display:flex;gap:12px;flex-wrap:wrap}
.v-fork dt{color:var(--steel)}
.v-fork dd{margin:0;font-weight:500}
.v-spreads{display:grid;grid-template-columns:repeat(12,minmax(0,1fr))}
.v-spread{grid-row:1;aspect-ratio:1.414 / 1;background:var(--mist);border:1px solid var(--line);border-radius:4px;overflow:hidden}
.v-spread:first-child{grid-column:1 / 11}
.v-spread+.v-spread{grid-column:3 / 13;margin-top:26%;box-shadow:0 14px 34px rgba(20,34,43,.10)}
.v-spread img{display:block;width:100%;height:100%;object-fit:cover;color:transparent} /* no broken-image alt text if a spread is missing */

/* ---------- 7. Why Cortio ---------- */
.v-photo{aspect-ratio:4/5;max-height:520px;border:1px solid var(--line);border-radius:6px;background:var(--mist);display:flex;align-items:flex-end;padding:16px;font-size:14px;color:var(--steel)}
.v-why h2{margin-bottom:24px}
.v-why-txt{display:flex;flex-direction:column;gap:16px;font-size:17px;line-height:1.6;max-width:62ch}
.v-why-txt p{margin:0}
.v-stats{margin:40px 0 0;padding-top:24px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:24px}
.v-stats dd{margin:8px 0 0;font-size:15px;line-height:1.45;color:var(--steel)}

/* ---------- 8. Case studies ---------- */
.v-cases{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px}
.v-case{text-decoration:none;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:24px 26px 26px;display:flex;flex-direction:column;gap:14px;transition:border-color .15s ease}
.v-case:hover{border-color:var(--ink)}
.v-case-meta{font-size:14px;font-weight:500;color:var(--steel)}
.v-case-num{font-family:var(--f-cond);font-size:clamp(34px,3.6vw,46px);line-height:1.02;font-weight:600;font-variant-numeric:tabular-nums}
.v-case-line{font-size:16px;line-height:1.55}

/* ---------- 9. Price list + calculator ---------- */
.v-price-in{max-width:1120px;margin:0 auto;padding:88px 24px 56px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:32px 64px;align-items:start}
.v-price-in h2{margin:0}
.v-table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5;font-variant-numeric:tabular-nums}
.v-table th{text-align:left;color:var(--steel);font-size:14px;padding:0 0 12px;border-bottom:1px solid var(--ink);font-weight:500}
.v-table td{padding:14px 0;border-bottom:1px solid var(--line)}
.v-table th+th,.v-table td+td{padding-left:16px}
.v-table td+td{white-space:nowrap;font-weight:600}
.v-table tr:last-child td+td{white-space:normal}
.v-intro-price{margin:20px 0 16px;font-size:16px;line-height:1.55;color:var(--steel)}

.v-calc-wrap{max-width:1120px;margin:0 auto;padding:0 24px 88px}
.v-calc{border-top:1px solid var(--line);padding-top:44px}
.v-calc-h{font-family:var(--f-cond);font-size:clamp(26px,2.6vw,34px);line-height:1.1;font-weight:600;letter-spacing:-.005em;margin:0 0 28px}
.v-calc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:32px 72px;align-items:start}
.v-calc-in{display:flex;flex-direction:column;gap:10px}
.v-calc-in label{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-top:10px;font-size:16px;font-weight:600}
.v-calc-val{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.v-range{width:100%;height:32px;margin:0;accent-color:var(--ink);cursor:pointer}
.v-calc-out{margin:0}
.v-calc-out>div{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line)}
.v-calc-out dt{font-size:15px;color:var(--steel)}
.v-calc-out dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.v-calc-out>div.v-calc-big{flex-direction:column;align-items:flex-start;gap:6px;border-bottom:0;padding:22px 0 0}
.v-calc-big dd{font-family:var(--f-cond);font-size:clamp(38px,4.4vw,56px);line-height:1;letter-spacing:-.01em}
.v-calc-verdict{display:flex;gap:10px;align-items:baseline;margin:14px 0 0;font-size:15px;line-height:1.5}
.v-calc-cta{margin-top:24px}
.v-calc-note{margin:32px 0 0;font-size:14px;line-height:1.55;color:var(--steel);max-width:78ch}

/* ---------- 10. What monitoring means (dark) ---------- */
.v-dohled{background:var(--night);color:var(--paper)}
.v-dohled .v-split{padding:96px 24px;max-width:1120px;margin:0 auto;gap:40px 64px}
.v-dohled h2{margin:0;color:var(--paper);text-wrap:wrap}
.v-dohled ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;font-size:17px;line-height:1.6}
.v-dohled li{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:14px 0;border-top:1px solid rgba(243,245,244,.16)}
.v-dohled li:last-child{border-bottom:1px solid rgba(243,245,244,.16)}
.v-dohled li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok-lit);margin-top:9px}
.v-dohled-note{margin:20px 0 0;font-size:15px;color:rgba(243,245,244,.72);line-height:1.55}

/* ---------- 11. Agencies strip ---------- */
.v-strip{max-width:1120px;margin:0 auto;padding:22px 24px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 24px;font-size:17px;line-height:1.5}
.v-strip p{margin:0}
.v-strip a{font-weight:500}

/* ---------- 12. FAQ ---------- */
.v-faq .v-split{gap:40px 64px}
.v-faq h2{margin:0;text-wrap:wrap}
.v-faq-list{border-top:1px solid var(--line)}
.v-faq-item{border-bottom:1px solid var(--line)}
.v-faq-item h3{margin:0;font-size:17px;font-weight:500}
.v-faq-item button{all:unset;display:flex;justify-content:space-between;gap:16px;width:100%;box-sizing:border-box;padding:16px 0;cursor:pointer;line-height:1.4;text-align:left;transition:color .15s ease}
.v-faq-item button:hover{color:var(--steel)}
.v-faq-item button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.v-faq-sign{color:var(--steel);flex:none;font-size:20px;line-height:1}
.v-faq-item p{margin:0;padding:0 40px 18px 0;line-height:1.6;color:var(--steel);font-size:16px;animation:om-reveal .18s ease}
.v-faq-item p[hidden]{display:none}

/* ---------- 13. Contact block + form ---------- */
.v-contact{background:var(--night);color:var(--paper)}
.v-contact-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px 72px;align-items:start;padding:104px 24px 112px}
.v-contact-h{font-family:var(--f-cond);font-size:clamp(40px,4.8vw,66px);line-height:1.02;font-weight:600;letter-spacing:-.01em;margin:0 0 20px;color:var(--paper);overflow-wrap:normal;hyphens:manual;text-wrap:balance}
.v-contact-lead{font-size:18px;line-height:1.55;color:rgba(243,245,244,.78);margin:0 0 40px;max-width:38ch}
.v-steps{list-style:none;margin:0 0 40px;padding:0;display:flex;flex-direction:column;gap:20px}
.v-steps li{display:flex;gap:16px;align-items:baseline;font-size:16px;line-height:1.5}
.v-step-n{flex:none;width:30px;height:30px;border-radius:50%;border:1px solid rgba(243,245,244,.4);display:inline-flex;align-items:center;justify-content:center;font-family:var(--f-cond);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;transform:translateY(-3px)}
.v-contact-alt{font-size:15px;line-height:1.6;color:rgba(243,245,244,.72);margin:0;max-width:40ch}
.v-contact a{color:var(--paper);text-decoration-color:rgba(243,245,244,.5)}
.v-panel{background:var(--surface);color:var(--ink);border-radius:8px;padding:40px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.v-panel a{color:var(--ink);text-decoration-color:var(--steel)}
@media (max-width:860px){.v-contact-grid{grid-template-columns:minmax(0,1fr);padding:64px 24px 72px}.v-panel{padding:24px}}

.v-form{display:flex;flex-direction:column;text-align:left;position:relative}
.v-form[hidden]{display:none}
.v-fs{border:0;margin:0;padding:0;min-width:0}
.v-form>.v-fs{display:flex;flex-direction:column;gap:26px}
.v-legend{font-size:16px;font-weight:600;color:var(--ink);margin:0 0 12px;padding:0}
.v-opt{font-weight:400;color:var(--steel)}
.v-chips{display:flex;flex-wrap:wrap;gap:8px}
.v-chip{position:relative;display:inline-flex}
.v-chip input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}
.v-chip span{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--steel);border-radius:22px;background:var(--surface);font-size:15px;color:var(--ink);transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.v-chip:hover span{border-color:var(--ink)}
.v-chip input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.v-chip input:focus-visible+span{outline:2px solid var(--ink);outline-offset:3px}
.v-rec{margin:14px 0 0;font-size:15px;line-height:1.5;display:flex;gap:10px;align-items:baseline}
.v-rec[hidden]{display:none}
.v-rec strong{font-weight:600}
.v-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.v-lbl{font-size:16px;font-weight:600;color:var(--ink)}
.v-input{border:1px solid var(--steel);border-radius:4px;padding:12px 14px;background:var(--surface);font:inherit;font-size:16px;color:var(--ink);min-height:48px;width:100%}
textarea.v-input{resize:vertical}
.v-input:focus{outline:2px solid var(--ink);outline-offset:1px}
.v-input[aria-invalid="true"]{border:2px solid var(--warn-ink);padding:11px 13px}
.v-err{margin:0;font-size:14px;line-height:1.45;color:var(--warn-ink)}
.v-err:empty{display:none}
#err-need{margin-top:10px}
.v-row2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px 20px}
.v-banner{display:flex;gap:10px;align-items:baseline;font-size:15px;line-height:1.5;padding:14px 16px;border:1px solid var(--warn-ink);background:var(--surface);border-radius:4px}
.v-banner[hidden]{display:none}
.v-submit-row{display:flex;flex-direction:column;gap:12px}
.v-submit{background:var(--accent);color:var(--paper);border:0;border-radius:4px;padding:15px 24px;min-height:52px;font:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .15s ease}
.v-submit:hover{background:var(--accent-hover)}
.v-submit:disabled{cursor:progress;opacity:.75}
.v-legal{margin:0;font-size:13px;line-height:1.5;color:var(--steel);text-align:center}
.v-sent{display:flex;gap:12px;align-items:baseline;font-size:17px;line-height:1.5;padding:18px 20px;border:1px solid var(--line);background:var(--surface);border-radius:6px;animation:om-reveal .2s ease}
.v-sent .v-dot{transform:translateY(-2px)}
.v-sent p{margin:0}
.v-sent p:first-child{font-weight:600}
.v-sent p+p{margin-top:4px;font-size:16px;color:var(--steel)}
.v-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* ---------- Cables mode (html.has-cables). Stacking contract: see "Cables" in site/README.md ----------
   Root stacking context, bottom → top: section backgrounds · reading-section content · canvas.v-cables (z 1) ·
   lifted blocks (z 2: .v-hero>.v-wrap, .v-sys-pin, .v-panel) · header (z 30).
   Under has-cables no <section> and no non-lifted ancestor of the lifted blocks may get transform, opacity<1,
   filter, isolation, will-change or a z-index. The canvas draws over non-lifted content only inside the left
   gutter or the #kontakt top padding band and column gap (enforced by timeline.js and its unit tests). */
.v-cables{position:fixed;left:0;top:0;width:100%;height:100vh;height:100lvh;z-index:1;pointer-events:none;opacity:0;transition:opacity .4s linear}
html.cables-live .v-cables{opacity:1}
@media print{.v-cables,.v-sys-chips,.v-port{display:none!important}}

html.has-cables .v-hero{background:var(--mist)}
html.has-cables .v-ev--start::before{background:var(--mist)}
html.has-cables .v-hero>.v-wrap,html.has-cables .v-panel{position:relative;z-index:2}
/* 769–960 px windows: the CTA always goes under the lead, so the lit tips hang right of the lead. With IBM Plex the
   natural wrap stops at ~889 px, and the gap left between the lead and the CTA is too narrow for the tip cluster */
@media (min-width:769px) and (max-width:960px){html.has-cables .v-cta{flex-basis:100%}}
html.has-cables .v-sys-pin{z-index:2}
html.has-cables .v-sys-bg{display:none}
html.has-cables .v-sys-stage{position:relative}

/* Readability halos: invisible unless a cable passes behind the glyphs */
html.has-cables .v-lead,html.has-cables .v-ev time,html.has-cables .v-ev span,html.has-cables .v-note{
  text-shadow:0 0 1px var(--mist),0 0 5px var(--mist),0 0 12px var(--mist)}
html.has-cables .v-sys-h{text-shadow:0 0 1px var(--night),0 0 8px var(--night),0 0 18px var(--night)}

/* Desktop: the same pin as the base rule, but held by has-cables as well, so a runtime switch to reduced motion keeps
   the layout until cables.js has read the reader's place (the base rule drops the pin as soon as the query flips) */
@media (min-width:769px){
  html.has-cables .v-sys{height:350vh}
  html.has-cables .v-sys-pin{position:sticky;height:100vh}
}
/* Phones: pinned, scroll-scrubbed #system (tabs only in fallback / reduced motion) */
@media (max-width:768px){
  html.has-cables .v-sys{height:300vh}
  html.has-cables .v-sys-pin{position:sticky;top:0;height:100vh;height:100svh}
  html.has-cables .v-sys-grid{height:100%;display:flex;flex-direction:column;gap:24px;padding:64px 24px 24px}
  html.has-cables .v-sys-copy{flex:none}
  html.has-cables .v-sys-tabs{display:none}
  html.has-cables .v-sys-stage{flex:1;min-height:0;margin:0 -24px;display:flex}
  html.has-cables .v-sys-svg{height:100%;max-height:none}
}
/* Very short viewports (zoom, rotation after load): unpin, final state */
@media (max-height:479px){
  html.has-cables .v-sys{height:auto}
  html.has-cables .v-sys-pin{position:relative;height:auto}
}

/* Live 3D: SVG stays as the layout sizer */
html.cables-live .v-sys-svg{visibility:hidden}
.v-sys-chips{position:absolute;pointer-events:none;z-index:1}
.v-node{position:absolute;left:0;top:0;width:150px;height:56px;margin:-28px 0 0 -75px;box-sizing:border-box;display:flex;align-items:center;gap:9px;padding-left:14px;
  background:rgba(19,34,44,.96);border:1px solid rgba(247,247,245,.32);border-radius:6px;color:#F3F5F4;font-size:17px;font-weight:600;line-height:1;white-space:nowrap;opacity:0;will-change:transform,opacity}
.v-node i{flex:none;width:10px;height:10px;border-radius:50%;background:#6E757A}
.v-person{position:absolute;left:0;top:0;width:88px;height:120px;margin:-44px 0 0 -44px;opacity:0;will-change:transform,opacity}
.v-run{position:absolute;left:0;top:0;display:flex;align-items:center;gap:8px;font-family:var(--f-cond);font-size:15px;font-weight:600;color:#F3F5F4;opacity:0;white-space:nowrap}
.v-run i{width:10px;height:10px;border-radius:50%;background:var(--ok-lit)}
@media (max-width:768px){.v-node{width:110px;height:44px;margin:-22px 0 0 -55px;font-size:15px;padding-left:12px}}

/* Contact port (inserted by JS on the panel's left edge) */
.v-port{position:absolute;left:-8px;width:16px;height:30px;margin-top:-15px;border-radius:3px;background:#C8CED2;box-shadow:inset 0 0 0 1px #8E979D;pointer-events:none}
.v-port::after{content:"";position:absolute;left:4px;top:11px;width:6px;height:13px;border-radius:2px;background:#1B2A33}
.v-port i{position:absolute;left:5px;top:3px;width:6px;height:6px;border-radius:50%;background:#3B464D;transition:background-color .2s linear .6s,box-shadow .2s linear .6s}
.v-port.is-sent i{background:var(--ok-lit);box-shadow:0 0 6px var(--ok-lit)}
.v-port.is-error i{background:var(--warn);transition-delay:0s}

/* Dohled one-shot incident on the first dot (added by cables.js; 2.4 s, never loops) */
@keyframes v-incident{0%,24.9%{background:var(--ok-lit)}25%,41.6%{background:var(--warn)}41.7%,49.9%{background:var(--ok-lit)}50%,66.6%{background:var(--warn)}66.7%,100%{background:var(--ok-lit)}}
html.has-cables .v-dohled li.is-incident::before{animation:v-incident 2.4s linear 1}

/* Legal text pages (zásady ochrany osobních údajů) */
.v-doc{max-width:760px;margin:0 auto;padding:72px 24px 96px;font-size:17px;line-height:1.6}
.v-doc h1{font-family:var(--f-cond);font-weight:600;font-size:clamp(32px,4vw,44px);line-height:1.1;margin:0 0 40px}
.v-doc h2{font-size:22px;font-weight:600;line-height:1.3;margin:40px 0 12px}
.v-doc p{margin:0 0 12px}
.v-doc ul{margin:0 0 12px;padding:0 0 0 20px;display:flex;flex-direction:column;gap:6px}

/* ===== Film mode (html.has-film, set by the <head> gate; see assets/js/film.js) =====
   One pre-rendered film on a fixed canvas behind the hero, #system and #sluzby, on the "Mlha" haze (#D5DEE0).
   The canvas sits below all in-flow content (z -1); the later sections keep their own backgrounds and cover it,
   and the film dissolves into the page background at the end of #sluzby. */
:root{--haze:#D5DEE0}
.v-film{position:fixed;left:0;top:0;width:100%;height:100vh;height:100lvh;z-index:-1;pointer-events:none;display:block;background:var(--haze)}
html.has-film:not(.film-live) .v-film{visibility:hidden}
html.has-film body{background:var(--paper)}
html.has-film .v-hero,html.has-film .v-sys{background:transparent}
html.has-film .v-hero{border-bottom-color:transparent}
html.has-film:not(.film-live) .v-hero,html.has-film:not(.film-live) .v-sys{background:var(--haze)}
html.has-film .v-ev--start::before{background:var(--haze)}
/* sections after #sluzby are see-through by default; give them the page colour so the fixed film never shows below the services (zero specificity: their own backgrounds win) */
:where(html.has-film #sluzby ~ section){background-color:var(--paper)}
html.has-film .v-sys{color:var(--ink)}
html.has-film .v-sys-h{color:var(--ink);text-shadow:0 0 1px var(--haze),0 0 10px var(--haze),0 0 22px var(--haze)}
html.has-film .v-sys-bg,html.has-film .v-sys-tabs{display:none}
html.has-film .v-sys-svg{visibility:hidden}
html.has-film .v-lead,html.has-film .v-ev time,html.has-film .v-ev span,html.has-film .v-note{text-shadow:0 0 1px var(--haze),0 0 6px var(--haze),0 0 14px var(--haze)}
/* System labels placed on the film (frame coordinates from the keyframes) */
.v-film-labels{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.v-film-label{position:absolute;left:0;top:0;display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:6px;
  background:rgba(243,245,244,.78);border:1px solid rgba(20,34,43,.14);color:var(--ink);font-size:15px;font-weight:600;line-height:1;white-space:nowrap;
  opacity:0;transition:opacity .35s ease;will-change:transform,opacity}
.v-film-label i{width:8px;height:8px;border-radius:50%;background:#9AA5AB;transition:background-color .3s ease}
.v-film-label.is-ok i{background:var(--ok)}
.v-film-run{background:transparent;border-color:transparent;font-family:var(--f-cond);font-weight:500;color:var(--ok-ink)}
@media (max-width:768px){
  html.has-film .v-sys{height:300vh}
  html.has-film .v-sys-pin{position:sticky;top:0;height:100vh;height:100svh}
  html.has-film .v-sys-grid{height:100%;display:flex;flex-direction:column;gap:24px;padding:64px 24px 24px}
  html.has-film .v-sys-copy{flex:none}
  html.has-film .v-sys-stage{flex:1;min-height:0}
  .v-film-label{font-size:13px;padding:6px 9px}
}
@media print{.v-film,.v-film-labels{display:none!important}}
