/* one-o-one — Úvodní stránka v2 | designový systém OneSafety | namespace ooo- | písma Inter + Montserrat z motivu webu */

body.ooo-home { margin: 0 !important; padding: 0 !important; background: #fff; }

#ooo-page {
  --blue: #0151F0;
  --blue-h: #0041c4;
  --navy: #0b1437;
  --ink: #101317;
  --muted: #4a5560;
  --surface: #f2f4f7;
  --line: #dde3ea;
  --dark: #0a0e15;
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --shell: 1280px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --sec: clamp(3.5rem, 8vw, 6.5rem);
  --ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --txt: "Inter", "Helvetica Neue", Arial, sans-serif;
  --admin: 0px;
  font-family: var(--txt);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.admin-bar #ooo-page { --admin: 32px; }
@media (max-width: 782px) { body.admin-bar #ooo-page { --admin: 46px; } }

#ooo-page *, #ooo-page *::before, #ooo-page *::after { box-sizing: border-box; }
#ooo-page :where(.ooo-hdr, #obsah, .ooo-foot) :where(h1, h2, h3, h4, p, ul, ol, li, figure, fieldset, legend) { margin: 0; padding: 0; }
#ooo-page :where(.ooo-hdr, #obsah, .ooo-foot) :where(h1, h2, h3, h4) { font-family: var(--txt); color: var(--navy); }
#ooo-page :where(.ooo-hdr, #obsah, .ooo-foot) a { color: inherit; }
#ooo-page :where(.ooo-hdr, #obsah, .ooo-foot) img { display: block; max-width: 100%; }
#ooo-page :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
#ooo-page ::selection { background: var(--blue); color: #fff; }

.ooo-shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }
.ooo-skip { position: absolute; left: var(--pad); top: -80px; z-index: 60; background: var(--blue); color: #fff !important; padding: 10px 16px; border-radius: var(--r-sm); font-family: var(--ui); font-weight: 700; text-decoration: none; }
.ooo-skip:focus { top: calc(var(--admin) + 12px); }

/* Tečka — motiv z OneSafety */
.ooo-dot { display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: var(--blue); margin-left: .08em; vertical-align: baseline; }
.ooo-stop { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--blue); color: transparent; overflow: hidden; margin-left: .04em; vertical-align: baseline; line-height: 0; }

/* Hlavička */
.ooo-hdr { position: sticky; top: var(--admin); z-index: 40; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.ooo-hdr.is-scrolled { border-bottom-color: var(--line); }
.ooo-hdr__in { position: relative; display: flex; align-items: center; gap: 28px; height: 84px; }
.ooo-logo { font-family: var(--txt); font-weight: 800; font-size: 23px; letter-spacing: -.03em; line-height: 1; color: var(--navy) !important; text-decoration: none; white-space: nowrap; }
.ooo-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.ooo-nav a { position: relative; font-family: var(--ui); font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; padding: 6px 0; }
.ooo-nav a:not(.ooo-btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.ooo-nav a:not(.ooo-btn):hover::after, .ooo-nav a[aria-current="true"]::after { transform: scaleX(1); }
.ooo-nav .ooo-nav__cta { display: none; }
.ooo-menu-btn { display: none; margin-left: auto; font-family: var(--ui); font-weight: 700; font-size: 15px; background: var(--surface); color: var(--navy); border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; }

/* Tlačítka */
.ooo-btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--ui); font-weight: 700; line-height: 1.1; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.ooo-btn--sm { background: var(--blue); color: #fff !important; border-radius: var(--r-sm); padding: 14px 24px; font-size: 15px; }
.ooo-btn--pill { background: var(--blue); color: #fff !important; border-radius: 999px; padding: 18px 32px; font-size: 17px; }
.ooo-btn--sm:hover, .ooo-btn--pill:hover { background: var(--blue-h); }
.ooo-btn--ghost { background: transparent; color: var(--navy) !important; border: 2px solid var(--line); border-radius: 999px; padding: 16px 30px; font-size: 17px; }
.ooo-btn--ghost:hover { border-color: var(--navy); }

/* Typografie */
.ooo-eyebrow { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px !important; }
.ooo-h1 { font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.ooo-h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.ooo-h3 { font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.18; letter-spacing: -.02em; margin-bottom: 12px !important; }
.ooo-lead { font-family: var(--ui); font-weight: 500; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 36em; }

/* Fotky s tečkou */
.ooo-ph { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.ooo-ph img { width: 100%; height: 100%; object-fit: cover; }
.ooo-ph__dot { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1 / 1; border-radius: 50%; background: var(--blue); transform: translate(-50%, -50%); pointer-events: none; }
.ooo-ph__dot { transition: opacity .35s ease; }
.ooo-js .ooo-ph:not(.is-loaded) .ooo-ph__dot { opacity: 0; }

/* Úvod */
.ooo-hero { padding: clamp(2rem, 5vw, 4.5rem) 0 var(--sec); }
.ooo-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ooo-hero .ooo-lead { margin-top: 26px !important; }
.ooo-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ooo-hero__note { margin-top: 18px !important; font-family: var(--ui); font-weight: 600; font-size: 14px; color: var(--muted); }
.ooo-ph--hero { aspect-ratio: 4 / 5; }

/* Sekce */
.ooo-sec { padding: var(--sec) 0; }
.ooo-sec--tint { background: var(--surface); }
.ooo-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.ooo-head .ooo-lead { margin-top: 18px !important; }

.ooo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.ooo-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.ooo-card .ooo-ph { border-radius: 0; aspect-ratio: 16 / 10; }
.ooo-card__body { padding: clamp(1.5rem, 3vw, 2.4rem); }
.ooo-step { font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px !important; }
.ooo-card p:not(.ooo-step), .ooo-tile p:not(.ooo-tag) { color: var(--muted); }

.ooo-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ooo-split .ooo-ph { aspect-ratio: 5 / 4; }
.ooo-checks { list-style: none; margin-top: 32px !important; display: grid; gap: 12px; }
.ooo-checks li { display: flex; align-items: center; gap: 16px; font-family: var(--ui); font-weight: 700; font-size: clamp(1.02rem, 1.45vw, 1.25rem); color: var(--navy); padding: 18px 22px !important; background: var(--surface); border-radius: var(--r-md); }
.ooo-checks li::before { content: ""; flex: 0 0 12px; height: 12px; border-radius: 50%; background: var(--blue); }

.ooo-quad { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.ooo-tile { background: #fff; border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem); }
.ooo-tag { display: inline-block; font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: rgba(1, 81, 240, .08); border-radius: 999px; padding: 7px 13px !important; margin-bottom: 18px !important; }

.ooo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ooo-proj { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, background-color .25s; }
.ooo-proj:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 22px 44px -26px rgba(11, 20, 55, .35); }
.ooo-proj__name { font-family: var(--txt); font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.15; color: var(--navy); }
.ooo-proj p { color: var(--muted); margin: 12px 0 24px !important; font-size: 17px; }
.ooo-proj__go { margin-top: auto; font-family: var(--ui); font-weight: 700; font-size: 15px; color: var(--blue); }

/* Kontakt */
.ooo-contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ooo-form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.ooo-form fieldset { border: 0; margin: 0 0 24px; min-width: 0; }
.ooo-form legend { font-family: var(--ui); font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 12px !important; }
.ooo-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ooo-pill { position: relative; }
.ooo-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ooo-pill span { display: inline-block; font-family: var(--ui); font-weight: 600; font-size: 14px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ooo-pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.ooo-pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.ooo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ooo-field { display: flex; flex-direction: column; gap: 6px; }
.ooo-field--full { grid-column: 1 / -1; }
.ooo-field label { font-family: var(--ui); font-weight: 700; font-size: 13px; color: var(--navy); }
.ooo-field input, .ooo-field textarea { font-family: var(--txt); font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 14px 16px; width: 100%; margin: 0; }
.ooo-field input:focus, .ooo-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.ooo-field textarea { min-height: 130px; resize: vertical; }
.ooo-req { color: var(--blue); }
.ooo-consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 24px; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.ooo-consent input { margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--blue); }
.ooo-consent a { color: var(--blue); }
.ooo-fb { display: none; margin-top: 16px !important; padding: 14px 16px !important; border-radius: var(--r-sm); background: rgba(1, 81, 240, .08); color: var(--navy); font-size: 15px; }
.ooo-fb.is-on { display: block; }

.ooo-team { display: grid; gap: 16px; }
.ooo-person { display: grid; grid-template-columns: 128px 1fr; gap: 20px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 16px; }
.ooo-person .ooo-ph { aspect-ratio: 1 / 1; border-radius: var(--r-md); }
.ooo-person__name { font-family: var(--ui); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.ooo-person__role { font-size: 15px; color: var(--muted); margin: 2px 0 10px !important; }
.ooo-person a { display: block; width: max-content; font-family: var(--ui); font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; padding: 2px 0; }
.ooo-person a:hover { text-decoration: underline; }

/* Patička */
.ooo-foot { background: var(--dark); color: rgba(255, 255, 255, .72); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.ooo-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.ooo-foot .ooo-logo { color: #fff !important; }
.ooo-foot__tag { margin-top: 16px !important; max-width: 21em; font-size: 16px; }
.ooo-foot__h { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px !important; }
.ooo-foot ul { list-style: none; display: grid; gap: 8px; }
.ooo-foot a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 15px; }
.ooo-foot a:hover { color: #fff; }
.ooo-foot__bar { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.5rem; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Jemné objevení při scrollu — skryté jen když JS běží (třída ooo-rv-on) */
.ooo-rv-on .ooo-reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.ooo-rv-on .ooo-reveal { transition: opacity .6s ease, transform .6s ease; }

/* Responzivita */
@media (max-width: 1080px) {
  .ooo-menu-btn { display: inline-flex; }
  .ooo-hdr__cta { display: none; }
  .ooo-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 22px; box-shadow: 0 24px 32px -24px rgba(11, 20, 55, .3); }
  .ooo-nav.is-open { display: flex; }
  .ooo-nav a:not(.ooo-btn) { font-size: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .ooo-nav a:not(.ooo-btn)::after { display: none; }
  .ooo-nav a[aria-current="true"] { color: var(--blue); }
  .ooo-nav .ooo-nav__cta { display: inline-flex; margin-top: 18px; }
  .ooo-trio { grid-template-columns: 1fr 1fr; }
  .ooo-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ooo-hero__grid, .ooo-split, .ooo-contact, .ooo-duo { grid-template-columns: 1fr; }
  .ooo-ph--hero { aspect-ratio: 4 / 3; }
  .ooo-quad { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  #ooo-page { font-size: 17px; }
  .ooo-hdr__in { height: 72px; }
  .ooo-trio, .ooo-fields, .ooo-foot__grid { grid-template-columns: 1fr; }
  .ooo-person { grid-template-columns: 96px 1fr; }
  .ooo-ctas .ooo-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ooo-rv-on .ooo-reveal, .ooo-rv-on .ooo-reveal:not(.is-in) { opacity: 1; transform: none; transition: none; }
  .ooo-proj { transition: none; }
}

/* Kontakty a zákonné údaje firmy */
#ooo-page .ooo-foot__legal{font-style:normal;margin-top:18px;font-size:14px;line-height:1.7;color:rgba(255,255,255,.6)}
#ooo-page .ooo-foot__legal strong{color:#fff;font-weight:700}
#ooo-page .ooo-foot__legal a{text-decoration:underline;font-size:14px}
#ooo-page .ooo-foot__person{margin-bottom:20px}
#ooo-page .ooo-foot__name{color:#fff;font-weight:700;font-size:15px}
#ooo-page .ooo-foot__role{font-size:13px;color:rgba(255,255,255,.55);margin:2px 0 6px}
#ooo-page .ooo-foot__person a{display:block;padding:1px 0}
#ooo-page .ooo-company{background:#fff;border-radius:var(--r-lg);padding:20px 22px}
#ooo-page .ooo-company p{font-size:15px;line-height:1.6;color:var(--muted)}
#ooo-page .ooo-company .ooo-person__name{margin-bottom:6px}
#ooo-page .ooo-company a{display:inline-block;margin-top:10px;font-family:var(--ui);font-weight:600;font-size:15px;color:var(--blue);text-decoration:none}
#ooo-page .ooo-company a:hover{text-decoration:underline}
@media (max-width:1080px){#ooo-page .ooo-foot__grid{grid-template-columns:1fr 1fr}}

/* Textové stránky (zásady ochrany osobních údajů apod.) */
#ooo-page .ooo-doc{padding:clamp(2.5rem,6vw,5rem) 0 var(--sec)}
#ooo-page .ooo-doc__in{max-width:860px}
#ooo-page .ooo-doc h1{margin-bottom:.5em}
#ooo-page .ooo-doc h2{font-family:var(--txt);font-weight:800;font-size:clamp(1.35rem,2.2vw,1.75rem);letter-spacing:-.02em;line-height:1.2;color:var(--navy);margin:2.2em 0 .7em}
#ooo-page .ooo-doc h3{font-family:var(--txt);font-weight:700;font-size:1.1rem;color:var(--navy);margin:1.5em 0 .5em}
#ooo-page .ooo-doc p{margin:0 0 1em;font-size:17px;line-height:1.7;color:#101317}
#ooo-page .ooo-doc ul{margin:0 0 1.2em 1.25em;padding:0;list-style:disc}
#ooo-page .ooo-doc li{margin:0 0 .45em;padding:0;font-size:17px;line-height:1.65}
#ooo-page .ooo-doc a{color:var(--blue);text-decoration:underline}
#ooo-page .ooo-doc .ooo-doc__meta{color:var(--muted);font-family:var(--ui);font-size:14px;font-weight:600;letter-spacing:.02em}
#ooo-page .ooo-doc .ooo-doc__box{background:var(--surface);border-radius:var(--r-md);padding:20px 24px;margin:0 0 1.4em}
#ooo-page .ooo-doc .ooo-doc__box p:last-child{margin-bottom:0}
#ooo-page .ooo-doc .ooo-doc__table{overflow-x:auto;margin:0 0 1.5em}
#ooo-page .ooo-doc table{border-collapse:collapse;width:100%;min-width:620px;font-size:15px;line-height:1.5}
#ooo-page .ooo-doc th,#ooo-page .ooo-doc td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
#ooo-page .ooo-doc th{background:var(--surface);font-family:var(--ui);font-weight:700;font-size:13px;color:var(--navy)}
#ooo-page .ooo-doc .ooo-btn{text-decoration:none;margin:.4em 0 1.2em}
