/* VS Lasera: styly veřejného webu. Vzhled vychází z původního webu (tmavá hlavička, fotka na pozadí, červené a šedé menu). */
:root {
  --red: #f7100c; --red-dark: #c40d0a; --blue: #00b2ff; --ink: #2c292d; --text: #4a474c; --muted: #a8a4aa;
  --panel: rgba(255, 255, 255, .9); --panel-red: rgba(232, 22, 22, .93); --panel-grey: rgba(122, 118, 126, .9);
  --stripes: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 4px);
  --wrap: 1024px; --col: 584px; --pad: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink) var(--stripes); color: var(--text); font: 14px/1.55 Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 10; background: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }

/* hlavička */
.hdr { background: radial-gradient(ellipse 520px 190px at calc(50% - 370px) 50%, rgba(255, 255, 255, .3), transparent 70%), var(--stripes), #39363b; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 95px; padding: 12px var(--pad); }
.hdr__logo { display: block; color: #fff; font-size: 22px; font-weight: bold; }
.hdr__logo img { display: block; height: 54px; width: auto; }
.hdr__cta { text-align: right; font-size: 16px; line-height: 22px; color: #fff; text-shadow: 1px 1px 1px #121212; }
.hdr__label { display: block; font-size: 14px; color: #ff5a57; }
.hdr__phone { color: #fff; }
.contactbar { display: none; background: var(--blue); color: #fff; padding: 20px 0; font-size: 15px; }
.contactbar .wrap { padding: 0 var(--pad); }

/* plocha s fotkou na pozadí */
.stage { background: #6d6a70 no-repeat 50% 0 / cover; }
.stage__in { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
body.is-home .stage__in { min-height: 624px; }
.panel { width: var(--col); max-width: 100%; background: var(--panel); padding: var(--pad); }
.panel h1 { color: var(--red); font-size: 22px; line-height: 1.25; font-weight: normal; margin-bottom: 12px; }

/* obsah z editoru */
.prose { overflow-wrap: break-word; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 19px; line-height: 1.3; font-weight: normal; color: #333; margin-top: 22px; }
.prose h3 { font-size: 17px; line-height: 1.3; font-weight: normal; color: #333; margin-top: 20px; }
.prose h4 { font-size: 15px; color: #333; margin-top: 18px; }
.prose h2 + h2, .prose h3 + h3 { margin-top: 2px; }
.prose h2 + p, .prose h3 + p, .prose h4 + p, .prose h2 + ul, .prose h3 + ul { margin-top: 4px; }
.prose .red { color: var(--red); }
.prose ul { list-style: none; padding-left: 20px; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.prose ol { padding-left: 38px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th { background: #5d595f; color: #fff; padding: 8px; font-weight: normal; border: 1px solid #5d595f; }
.prose td { background: #f8f8f8; border: 1px solid #e8e8e8; padding: 6px 11px; }
.prose tr:nth-child(odd) td { background: #fdfdfd; }
.prose iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose img { border: 1px solid #fff; box-shadow: 0 0 3px #b8b8b8; }
.more { display: inline-block; }
.more::after { content: ' →'; }
.more--back::after { content: none; }
.more--back::before { content: '← '; }

/* menu */
.menu { width: var(--col); max-width: 100%; }
body.is-home .menu, body.is-home .offer { width: 280px; }
.menu__toggle { display: none; }
.menu__box { padding: 16px var(--pad); color: #fff; text-shadow: 1px 1px 1px rgba(0, 0, 0, .35); }
.menu__box--main { background: var(--panel-red); }
.menu__box--side { background: var(--panel-grey); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-top: 10px; padding-bottom: 12px; }
body.is-home .menu__box--side { grid-template-columns: 1fr; }
.menu__group + .menu__group { margin-top: 12px; }
.menu__box--side .menu__group { margin-top: 0; }
.menu a { color: #fff; }
.menu__head { display: block; font-size: 15px; color: #1a0000 !important; text-shadow: none; padding: 3px 0; }
.menu__box--side .menu__head { color: #111 !important; }
.menu ul { list-style: none; padding: 0; }
.menu li a { display: block; padding: 2px 0; font-size: 13px; }
.menu a.is-active { text-decoration: underline; }

/* úvodní strana */
.offer { background: var(--blue); color: #fff; padding: var(--pad); font-size: 17px; line-height: 1.35; }
.offer strong { font-weight: normal; }
.offer a { color: #fff; font-size: 13px; }
.offer p + p { margin-top: 10px; }
.feature { position: absolute; right: 0; bottom: 0; width: 280px; background: var(--panel); padding: var(--pad); }
.slide h2 { font-size: 18px; line-height: 1.25; font-weight: normal; }
.slide h2 img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #fff; box-shadow: 0 0 3px #b8b8b8; margin-bottom: 10px; }
.slide p { margin-top: 8px; font-size: 13px; }
.js .slider .slide:not(.is-on) { display: none; }
.slider__dots { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }
.slider__dots button { width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: #9c999e; cursor: pointer; }
.slider__dots button[aria-current="true"] { background: var(--red); }
.strip { background: rgba(0, 0, 0, .18); box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, .7); color: var(--muted); }
.strip__in { display: flex; flex-wrap: wrap; gap: 24px 48px; padding: 24px 0; }
.video { width: 280px; flex: none; }
.video__pic { position: relative; display: block; background: #111; aspect-ratio: 16 / 10; }
.video__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(0, 0, 0, .6); }
.video__play::after { content: ''; position: absolute; left: 19px; top: 14px; border: 10px solid transparent; border-left: 16px solid #fff; border-right: 0; }
.video strong { display: block; font-weight: normal; padding: 10px 10px 0; }
.strip__news { flex: 1 1 320px; min-width: 0; }
.strip .slide h2 a { color: #ff3b38; }
.strip .slide p { text-shadow: 1px 1px 1px #121212; }
.strip .slide .more { color: #ff3b38; }
.nl { flex: 1 1 100%; background: #fff; color: var(--text); padding: 20px var(--pad); }
.nl__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.nl input[type=email] { flex: 1 1 200px; font: inherit; padding: 9px 12px; border: 1px solid #bbb; border-radius: 6px; }

/* novinky */
.newslist { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.newslist__item h2 { font-size: 17px; line-height: 1.3; font-weight: normal; }
.newslist__item p { margin-top: 6px; }
.newslist__date { color: #777; font-size: 12px; }
.pager { display: flex; gap: 6px; margin-top: 24px; }
.pager a { min-width: 32px; padding: 5px 8px; text-align: center; background: #fff; border: 1px solid #ddd; color: var(--text); }
.pager a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* formuláře */
.cform { margin-top: 24px; }
.cform form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.cform__fld { display: block; }
.cform__fld--wide, .cform__btns { grid-column: 1 / -1; }
.cform__fld span { display: block; margin-bottom: 3px; }
.cform input, .cform textarea { width: 100%; font: inherit; color: #222; padding: 9px 10px; border: 1px solid #c9c6cb; background: #fff; box-shadow: 0 0 3px #d5d5d5; }
.cform [aria-invalid="true"] { border-color: var(--red); }
.cform__trap { position: absolute; left: -9999px; }
.btn { font: inherit; font-size: 12px; font-weight: bold; text-transform: uppercase; color: #fff; background: #8f8b92; border: 1px solid #fff; box-shadow: 0 0 3px #999; padding: 10px 26px; cursor: pointer; }
.btn:hover { background: var(--red); }
.note { padding: 12px 16px; margin-bottom: 14px; border-left: 4px solid; background: #fff; }
.note--ok { border-color: #2a9d4b; color: #1d6b34; }
.note--err { border-color: var(--red); color: #a80b08; }

/* patička */
.ftr { box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, .7); color: #8d898f; font-size: 12px; text-shadow: 1px 1px 1px #121212; }
.ftr__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 24px; padding: 24px 0 28px; }
.ftr a { color: #a9a5ab; }
.ftr a:hover, .ftr a.is-active { color: #fff; text-decoration: underline; }
.ftr__social { display: flex; gap: 10px; }
.ftr__social a { display: grid; place-items: center; width: 56px; height: 56px; background: #232125; border: 1px solid #3d3a3f; color: #fff; }
.ftr ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
.ftr li + li::before { content: '|'; margin: 0 8px; color: #6a666c; }
.ftr__copy { grid-column: 1 / -1; font-size: 11px; color: #6f6b71; }

/* video v okně */
.videobox { width: min(900px, 94vw); padding: 0; border: 0; background: #000; overflow: visible; }
.videobox::backdrop { background: rgba(0, 0, 0, .8); }
.videobox button { position: absolute; right: 0; top: -40px; width: 36px; height: 36px; border: 0; background: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.videobox iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

@media (max-width: 1071px) {
  .hdr__in, .strip__in, .ftr__in { padding-left: var(--pad); padding-right: var(--pad); }
}
@media (max-width: 720px) {
  .hdr__in { flex-direction: column; text-align: center; padding: 16px; }
  .hdr__cta { text-align: center; }
  .contactbar:not(.contactbar--sub) { display: block; }
  .stage { background-image: none !important; background: #f2f1f3; }
  .stage__in, body.is-home .stage__in { min-height: 0; align-items: stretch; }
  .panel, .menu, body.is-home .menu, body.is-home .offer, .feature { width: 100%; }
  .panel { background: #fff; }
  .feature { position: static; background: #fff; order: 1; }
  body.is-home .offer { order: 0; }
  .menu { order: -1; }
  .menu__toggle { display: flex; align-items: center; gap: 22px; width: 100%; padding: 18px var(--pad); border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 18px; text-transform: uppercase; cursor: pointer; }
  .menu__toggle span, .menu__toggle span::before, .menu__toggle span::after { display: block; width: 24px; height: 3px; background: #fff; }
  .menu__toggle span { position: relative; }
  .menu__toggle span::before, .menu__toggle span::after { content: ''; position: absolute; left: 0; }
  .menu__toggle span::before { top: -7px; }
  .menu__toggle span::after { top: 7px; }
  .js .menu__toggle[aria-expanded="false"] + .menu__body { display: none; }
  .menu__box--main, .menu__box--side { background: var(--red); }
  .menu__box--side { background: #6f6b72; }
  .menu li a, .menu__head { padding: 8px 0; font-size: 15px; }
  .newslist, .cform form { grid-template-columns: 1fr; }
  .strip__in { flex-direction: column; }
  .strip__news { flex: none; }
  .video { width: 100%; }
  .ftr__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ftr__copy { grid-column: auto; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .ftr a, .slider__dots button { transition: background-color .15s, color .15s; } }
@media print { .hdr__cta, .menu, .strip, .ftr, .feature, .cform { display: none; } .stage { background: none !important; } .panel { width: auto; } }
