/* SIRES – štýly webu */
:root {
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-gray: #f4f4f2;
  --red: #d32027;      /* bezpečnostná červená */
  --red-dark: #b0181e;
  --yellow: #f7c600;   /* bezpečnostná žltá */
  --radius: 10px;
  --wrap: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
.h-small { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Tlačidlá */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em;
  background: var(--red); color: #fff;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; border: 2px solid var(--red); border-radius: var(--radius);
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--yellow:hover { background: #ffd83a; border-color: #ffd83a; }
.btn--small { padding: .6em 1.1em; font-size: .9rem; }

.eyebrow {
  display: inline-block; margin-bottom: .8em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: var(--yellow); }

/* Hlavička */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo img { width: 112px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn), .nav__parent { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--red); }

.nav__group { position: relative; }
.nav__parent::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.nav__drop a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav__drop .ico { color: var(--red); }

@media (min-width: 981px) {
  .nav__drop {
    position: absolute; top: 100%; left: -18px; min-width: 300px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0,0,0,.1); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
  }
  .nav__group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
  .nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(12px); }
  .nav__drop a { padding: 10px 12px; border-radius: 8px; }
  .nav__drop a:hover { background: var(--bg-gray); }
}

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 4px 16px 16px; max-height: calc(100vh - 70px); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn), .nav__parent { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__parent::after { display: none; }
  .nav__drop a { padding: 10px 0 10px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
  .nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Úvod */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero__inner { display: grid; gap: 36px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.hero__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; font-weight: 600; color: var(--ink-soft); }
.hero__points li { display: flex; align-items: center; gap: 10px; }
.hero__points .ico, .checks .ico { color: var(--red); }
.hero__img, .page-hero__img, .split__img { margin: 0 10px 10px 0; position: relative; isolation: isolate; }
.hero__img img, .page-hero__img img, .split__img img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero__img::before, .page-hero__img::before {
  content: ""; position: absolute; right: -10px; bottom: -10px; width: 45%; height: 45%;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, #fff 14px 28px);
  border-radius: var(--radius); z-index: -1;
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* Čísla */
.stats { background: var(--ink); color: #fff; padding: 32px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stats strong { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--yellow); line-height: 1.1; }
.stats span { font-size: .9rem; color: #cfcfcf; }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* Sekcie */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 64px; }
@media (min-width: 900px) { .section { padding: 96px 0; } .section--tight { padding: 48px 0 96px; } }
.section--gray { background: var(--bg-gray); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p { color: #cfcfcf; }
.section__head { max-width: 680px; margin-bottom: 36px; }
.section__head p:last-child { color: var(--ink-soft); }

/* Karty služieb */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card {
  display: flex; flex-direction: column; height: 100%;
  padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.card__ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 10px; background: #fdeaea; color: var(--red); margin-bottom: 16px; }
.card__ico .ico { width: 26px; height: 26px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--red); }
.card__img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 18px; }
.card--featured { border-color: var(--ink); border-width: 2px; }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card { padding: 28px; }
  .cards__featured { grid-column: 1 / -1; }
}
.card--featured h3 { font-size: 1.35rem; }
.card--cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--cta p { color: #cfcfcf; }
.card--cta .card__ico { background: var(--yellow); color: var(--ink); }
.card--cta .card__more { color: var(--yellow); }
/* dve hlavné služby vedľa seba, pod nimi ostatné po štyroch */
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cards > .cards__featured { grid-column: span 2; }
  .card--featured p { font-size: 1.02rem; }
  .cards .card:not(.card--featured) { padding: 24px; }
}

/* Postup */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: krok; }
.steps li { background: #fff; border-radius: var(--radius); padding: 22px 20px; position: relative; }
.steps span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Dvojstĺpce */
.split { display: grid; gap: 32px; align-items: center; }
.split p { max-width: 38em; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .split__action { justify-self: end; }
}
.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { margin-top: 3px; }
.checks--big { gap: 14px; font-size: 1.02rem; }

.box { background: var(--bg-gray); border-radius: var(--radius); padding: 22px 20px; }
@media (min-width: 640px) { .box { padding: 28px; } }
.box h3 { margin-top: 0; }
.box h3:not(:first-child) { margin-top: 24px; }
.box ul { margin: 0; padding-left: 1.1em; }
.box li { margin-bottom: 6px; }
.box__norms { font-size: .9rem; color: var(--ink-soft); }
.box--iso { border-left: 4px solid var(--yellow); }

/* Podstránky */
.page-hero { padding: 32px 0 48px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero--plain { padding-bottom: 32px; }
.page-hero__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .page-hero { padding: 48px 0 72px; }
  .page-hero--plain { padding-bottom: 40px; }
  .page-hero__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

.faq details { background: #fff; border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

.mini-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-cards a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.mini-cards a:hover { border-color: var(--ink); }
.mini-cards .ico { color: var(--red); }
@media (min-width: 640px) { .mini-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mini-cards { grid-template-columns: repeat(3, 1fr); } }

.facts { display: grid; gap: 16px; margin: 0 0 16px; }
.facts div { border-top: 3px solid var(--ink); padding-top: 12px; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font-weight: 700; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 6px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Značky (náhradné diely) */
.brands { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .brands { grid-template-columns: repeat(4, 1fr); } }
.brands__group { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.brands__group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 12px; }
.brands__group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands__group li { background: var(--bg-gray); border-radius: 6px; padding: 6px 10px; font-weight: 700; font-size: .92rem; }
.brands__group li.brands__more { background: none; font-weight: 500; color: var(--ink-soft); padding-left: 2px; }
.brands__lead { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; margin: 22px 0 0; padding: 16px 20px; background: var(--bg-gray); border-radius: var(--radius); font-weight: 700; }
.brands__lead .ico { color: var(--red); }
.brands__note { margin-top: 18px; font-size: .88rem; color: var(--ink-soft); }

/* Výzva na kontakt */
.cta { background: var(--ink); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }
.cta__inner { display: grid; gap: 24px; align-items: center; }
.cta p { color: #cfcfcf; margin: 0; max-width: 36em; }
.cta h2 { margin-bottom: .35em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.3fr 1fr; } .cta__actions { justify-content: flex-end; } }

/* Kontakt */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.contact__list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact__list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.contact__list span { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--red); }
.company { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }

.form { background: var(--bg-gray); border-radius: var(--radius); padding: 20px 16px; display: grid; gap: 14px; position: relative; }
@media (min-width: 640px) { .form { padding: 32px; } }
.form h2 { margin: 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form small { font-weight: 400; color: var(--ink-soft); }
.form__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form input, .form textarea, .form select {
  width: 100%; min-width: 0;
  font: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1px solid #cfcfcf; border-radius: 8px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(247,198,0,.45); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.ok { color: #18794e; }
.form__status.err { color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pätička */
.footer { background: #0b0b0b; color: #bdbdbd; padding: 48px 0 0; font-size: .92rem; }
.footer__grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #e6e6e6; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__logo { filter: invert(1); margin-bottom: 14px; }
.footer__iso { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.footer__iso .ico { color: var(--yellow); }
.footer__bottom { border-top: 1px solid #262626; padding-top: 18px; padding-bottom: 18px; font-size: .82rem; }
.footer__bottom p { margin: 0; }

/* Plávajúce tlačidlo „Zavolať“ na mobile */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.call-fab .ico { width: 26px; height: 26px; }
@media (min-width: 900px) { .call-fab { display: none; } }
