/* BPS Průmyslové služby – náborová LP Servisní technik VZV */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #e30613;
  --red-dark: #b8040f;
  --black: #000;
  --ink: #111;
  --dark: #0b0b0b;
  --gray-100: #f4f4f2;
  --gray-200: #e4e4e0;
  --gray-600: #555;
  --white: #fff;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
  --gutter: 16px;
  --container: 1200px;
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.text-red { color: var(--red); }
.nobr { white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(880px + 2 * var(--gutter)); }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 1.2em; height: 1.2em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1.1rem; }
.btn--block { width: 100%; }

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2a2a2a; }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--gray-200); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }

/* ---------- Eyebrow + hlavičky sekcí ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
}
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--red); }
.eyebrow .icon { width: 1.1em; height: 1.1em; color: var(--red); }
.eyebrow:has(.icon)::before { display: none; }

h2 {
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head__num {
  font-size: clamp(3.6rem, 2rem + 6vw, 6.5rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.03em;
  color: var(--red);
  user-select: none;
}
.section-head__lead {
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* ---------- Sekce ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--dark); color: var(--white); overflow: hidden; }
.section--dark .section-head__lead { color: rgba(255, 255, 255, .75); }
.section--dark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(10px, 1.4vw, 20px);
  height: 46%;
  background: var(--red);
}
.section-cta { margin-top: clamp(40px, 5vw, 56px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { border-color: var(--gray-200); box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.header__brand { display: block; flex: none; }
.header__brand img { width: clamp(132px, 30vw, 190px); height: auto; }
.header__job {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  border-left: 1px solid var(--gray-200);
  font-size: .82rem;
  line-height: 1.35;
}
.header__job strong { font-weight: 800; }
.header__job span { color: var(--gray-600); }
.header__tel {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-weight: 700;
  text-decoration: none;
}
.header__tel .icon { color: var(--red); }
.header__tel:hover { color: var(--red); }
.header .btn { margin-left: auto; }
@media (min-width: 720px) {
  .header__tel { display: inline-flex; }
  .header .btn { margin-left: 0; }
}
@media (min-width: 960px) {
  .header__job { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: relative; aspect-ratio: 4 / 3.3; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 45%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .85) 100%);
}
.hero__inner { position: relative; }
.hero__content {
  position: relative;
  margin-top: -88px;
  padding-bottom: 48px;
}
.hero__content .eyebrow {
  padding: 6px 12px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, .7);
  letter-spacing: .1em;
}
.hero__title {
  padding: 22px 22px 20px;
  background: var(--red);
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.hero__box {
  padding: 22px 22px 26px;
  background: var(--black);
}
.hero__lead {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
}
.hero__list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  line-height: 1.35;
}
.hero__list li { display: flex; gap: 12px; align-items: flex-start; }
.hero__list .icon {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  padding: 5px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
}
.hero__list strong { font-weight: 800; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero__actions .btn { flex: 1 1 200px; }

@media (min-width: 960px) {
  .hero { min-height: min(calc(100vh - var(--header-h)), 860px); display: flex; align-items: center; }
  .hero__media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 64%;
    aspect-ratio: auto;
  }
  .hero__media img { object-position: 38% 50%; }
  .hero__media::after {
    background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 18%, rgba(0, 0, 0, 0) 42%);
  }
  .hero__inner { padding-block: 48px; }
  .hero__content { max-width: 680px; margin-top: 0; padding-bottom: 0; }
  .hero__content .eyebrow { padding: 0; background: none; margin-bottom: 16px; }
  .hero__title { padding: 30px 40px 26px; font-size: clamp(2.4rem, 1.2rem + 2vw, 3.1rem); }
  .hero__box { padding: 26px 40px 30px; }
  .hero__list { margin-top: 18px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- Čísla ---------- */
.stats { background: var(--red); color: var(--white); }
/* Pás přes celou šířku: 4 stejné buňky, dělicí čáry tvoří 1px mezera mřížky */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, .3);
}
.stat {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: var(--red);
  text-align: center;
}
.stat__num {
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem);
  font-size: min(clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem), 19cqi);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__num i { font-style: normal; color: var(--black); }
.stat__label {
  margin-top: 10px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 44px 28px; }
}

/* ---------- 01 Náplň ---------- */
.tasks {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .tasks { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .tasks { grid-template-columns: repeat(4, 1fr); } }
.task {
  position: relative;
  padding: 28px 26px 30px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.task::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 4px;
  background: var(--red);
  transition: width .35s var(--ease);
}
.task:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); }
.task:hover::before { width: calc(100% + 2px); }
.task__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.task__num { font-size: 1.1rem; font-weight: 900; color: var(--red); }
.task__icon { width: 44px; height: 44px; color: var(--ink); }
.task h3 { margin-bottom: 10px; }
.task p { color: var(--gray-600); }

/* ---------- 02 Kdo jsme ---------- */
.about {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) { .about { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.about__lead { margin-bottom: 28px; font-size: 1.1rem; font-weight: 500; color: var(--gray-600); }

.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .icon {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  padding: 5px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
}
.checklist--light li { color: rgba(255, 255, 255, .88); }

.phone {
  position: relative;
  justify-self: center;
  width: min(340px, 82vw);
}
.phone::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -26px;
  width: 22px;
  height: 64%;
  background: var(--red);
}
.phone__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 10px solid var(--ink);
  border-radius: 40px;
  background: var(--black);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.phone__frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 22px;
  border-radius: 20px;
  background: var(--ink);
  transform: translateX(-50%);
}
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.phone__sound {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .78);
  color: var(--white);
  font: 700 .85rem/1 var(--font);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transform: translateX(-50%);
  transition: background-color .2s;
}
.phone__sound:hover { background: var(--red); }
.phone__sound .icon--on { display: none; }
.phone__sound[aria-pressed="true"] .icon--on { display: block; }
.phone__sound[aria-pressed="true"] .icon--off { display: none; }
.phone figcaption {
  margin-top: 18px;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  color: var(--gray-600);
}

/* ---------- 03 Nabízíme ---------- */
.offer { display: grid; gap: 40px; }
@media (min-width: 900px) { .offer { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.offer__group { padding-top: 26px; border-top: 3px solid var(--red); }
.offer__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.offer__icon { width: 40px; height: 40px; color: var(--red); }
.offer__group h3 { font-size: 1.35rem; font-weight: 900; }
.offer__group li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .78);
}
.offer__group li strong { color: var(--white); }

/* ---------- 04 Požadavky ---------- */
.fit { display: grid; gap: 20px; }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.fit__card h3 { font-size: 1.4rem; font-weight: 900; color: var(--red); }
.fit__sub { margin: 6px 0 26px; color: var(--gray-600); font-weight: 500; }
.fit__card--alt { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fit__card--alt h3 { color: var(--white); }
.fit__card--alt .fit__sub { color: rgba(255, 255, 255, .65); }
.arrowlist { display: grid; gap: 16px; }
.arrowlist li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .82); }
.arrowlist li strong { color: var(--white); }
.arrowlist .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--red); }

/* ---------- 05 Kde ---------- */
.place { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .place { grid-template-columns: 1fr 1fr; gap: 72px; } }
.place__text > p { font-size: 1.1rem; font-weight: 500; color: var(--gray-600); }
.place__card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border-left: 8px solid var(--red);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .07);
}
.place__pin { width: 40px; height: 40px; margin-bottom: 18px; color: var(--red); }
.place__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.place__name {
  margin: 4px 0 12px;
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.place__card address { font-size: 1.05rem; font-weight: 500; }
.place__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- 06 FAQ ---------- */
.faq { max-width: 880px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--red);
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.faq summary:hover .icon { background: var(--red); color: var(--white); }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq details p { max-width: 720px; padding: 0 48px 24px 0; color: var(--gray-600); }
.faq details a { color: var(--red); font-weight: 700; }

/* ---------- 07 Přihláška ---------- */
.apply__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .apply__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.apply__lead { font-size: 1.15rem; font-weight: 500; color: rgba(255, 255, 255, .8); }
.apply__tips { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); }
.apply__tips-title {
  margin-bottom: 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.contact {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  color: var(--ink);
}
.contact__person {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.contact__person img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
}
.contact__name { font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.contact__role { color: var(--gray-600); font-weight: 500; }
.contact__email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  font: 600 .85rem/1.2 var(--font);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.copy-btn .icon { width: 1em; height: 1em; }
.copy-btn:hover { border-color: var(--red); color: var(--red); }
.copy-btn.is-copied { border-color: var(--red); background: var(--red); color: var(--white); }

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 28px;
  background: var(--black);
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
}
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 600px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { width: 180px; height: auto; margin-bottom: 16px; }
.footer__title { margin-bottom: 8px; font-weight: 700; color: var(--white); }
.footer__links { display: grid; gap: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Mobilní lišta ---------- */
.mobilebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--black);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobilebar.is-visible { transform: none; }
.mobilebar .btn { min-height: 48px; padding: 10px 14px; }
@media (max-width: 959px) {
  .footer { padding-bottom: 96px; }
}
@media (min-width: 960px) {
  .mobilebar { display: none; }
}

/* ---------- Animace ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .task, .task::before, .mobilebar { transition: none; }
}
