/* HERO ACCENT BAR */
.hero-accent-bar { height: 0.5rem; background: var(--accent); }

/* =========================================
   HERO (landing only)
   ========================================= */

.hero {
  position: relative;
  background-image:
    linear-gradient(120deg, rgba(5, 22, 40, 0.9), rgba(5, 22, 40, 0.7)),
    url("https://www.nossberger.cz/wp-content/uploads/2018/06/cropped-AdobeStock_29390264-1-2.jpeg");
  background-size: 125% auto;
  background-position: left center;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to right, black 0%, black 25%, transparent 55%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 25%, transparent 55%);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(63, 229, 143, 0.18) 0, transparent 32%, transparent 68%, rgba(56, 189, 248, 0.15) 100%),
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.35), transparent 55%),
    linear-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: 260% 260%, 120% 120%, 40px 40px, 40px 40px;
  mix-blend-mode: screen;
  opacity: 0.3;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  min-height: clamp(360px, 50vh, 520px);
  display: flex;
  align-items: center;
  padding-block: 56px;
}

.hero__text {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero__kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 8px;
  color: rgba(148, 163, 184, 0.9);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
}

.hero__lead {
  margin: 0 0 22px;
  font-size: 15px;
  max-width: 56rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

/* Accent span in hero */
.text-accent {
  color: var(--accent);
}

@keyframes drawUnderline {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Hero proof line (orange dots) */
.hero__proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
}

.hero__proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hero__proof-item::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}


/* =========================================
   TRUST STRIP
   ========================================= */
.trust-strip {
  background-color: var(--bg-soft);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.trust-strip__item {
  text-align: center;
  padding: 0.5rem;
}

.trust-strip__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.trust-strip__text {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}


/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
  padding: 4rem 0;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.section-header2 {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-center {
  text-align: center;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .services-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.service-overview-card {
  background: var(--panel, #fff);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.service-overview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(237, 125, 49, 0.22);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

@media (min-width: 1024px) {
  .service-overview-card {
    padding: 2rem;
  }
}

.service-overview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-overview-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(237, 125, 49, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.service-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.service-arrow {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-overview-card:hover .service-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.standards-rule {
  display: block;
  width: 3rem;
  height: 3px;
  background-color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-overview-title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.service-overview-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.service-overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.82rem;
  line-height: 1;
  color: var(--muted);
}

.service-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.15s ease, color 0.15s ease;
}

.service-overview-link:hover {
  gap: 0.65rem;
  color: #d66b26;
}

.title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 0;
}

.description {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}


/* =========================================
   SITUATIONS ("Kdy se na nas obratit")
   ========================================= */
.situations-section {
  background-color: var(--bg-soft);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.situations-grid--2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .situations-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.situation-card {
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.situation-card:hover {
  border-color: rgba(237, 125, 49, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.situation-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.situation-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}


/* =========================================
   PROCESS SECTION
   ========================================= */
.process-section {
  padding: 4rem 0;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.container-sluzby-prubeh {
  padding-top: 1.5rem;
}

.process-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem 0;
}

.process-timeline {
  position: relative;
  margin-top: 3rem;
}

.process-line {
  display: none;
  position: absolute;
  top: 1.5rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background-color: var(--line);
  z-index: 0;
}

.process-line-progress {
  height: 100%;
  width: 100%;
  background-color: var(--accent);
}

.process-grid {
  display: grid;
  gap: 2.5rem 1rem;
  grid-template-columns: 1fr;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

a.process-step,
a.process-step--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease;
}

a.process-step:hover .process-title,
a.process-step--link:hover .process-title {
  color: var(--accent);
}

a.process-step:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 6px;
}

.process-icon-wrap {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: var(--panel, #fff);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.p-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: inherit;
}

.process-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.process-step.is-active .process-icon-wrap {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 16px rgba(237, 125, 49, 0.25);
}

.process-step.is-active .process-badge {
  background-color: var(--accent);
}

.process-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem 0;
}

.process-text {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 180px;
}

.process-step:hover .process-icon-wrap {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(237, 125, 49, 0.2);
}

@media (min-width: 500px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-line {
    display: block;
  }
  .process-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Mid-CTA after process */
.con-now {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.now {
  width: 80%;
}

.fw-cta {
  background-color: var(--bg-dark);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--accent);
}

@media (min-width: 768px) {
  .fw-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.fw-cta-text {
  max-width: 450px;
}

.fw-cta-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 0.25rem;
}

.fw-cta-text span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  display: block;
}


/* =========================================
   PROOF CARDS ("Jak drzime vyrobu pod kontrolou")
   ========================================= */
.proof-section {
  background-color: var(--bg-soft);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.proof-card:hover {
  border-color: rgba(237, 125, 49, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.proof-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.proof-card__text {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Certifications strip */
.cert-strip {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.cert-strip__label {
  font-weight: 700;
  color: var(--ink);
}

.cert-strip__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

.cert-strip__item {
  color: var(--muted);
  font-weight: 500;
}

.cert-strip__sep {
  color: var(--line);
  font-weight: 300;
}


/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  background-color: var(--bg);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3rem;
  }
}

.faq-col {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-col:last-child .faq-item:last-child {
  border-bottom: none;
}

.faq-item__q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.4;
}

.faq-item__a {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}


/* =========================================
   FINAL CTA SECTION
   ========================================= */
.final-cta-section {
  background-color: var(--bg-dark);
  padding: 2rem 0;
  border-top: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
}

.final-cta-centered {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.final-cta-desc {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 2rem;
  line-height: 1.7;
}

.final-cta-actions--centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}


/* =========================================
   MOBILE STICKY BAR
   ========================================= */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}

.mobile-sticky .inner {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-sticky a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}

.mobile-sticky .m-call {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.mobile-sticky .m-cta {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

@media (max-width: 768px) {
  .mobile-sticky {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}


/* =========================================
   SERVICE CARDS WITH BACKGROUND IMAGE
   ========================================= */
.service-overview-card--bg {
  position: relative;
  overflow: hidden;
  background-color: #171717;
  background-size: cover;
  background-position: center;
  border: none;
  padding: 0;
  min-height: 340px;
  border-radius: 1.25rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

.service-overview-card--bg:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  border-color: transparent;
}

.service-overview-card--bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(23, 23, 23, 0.15) 0%,
    rgba(23, 23, 23, 0.65) 35%,
    rgba(23, 23, 23, 0.95) 100%
  );
}

.soc-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 2rem;
}

.service-overview-card--bg .standards-rule {
  background-color: var(--accent);
}

.service-overview-card--bg .service-overview-title {
  color: #ffffff;
  font-size: 1.5rem;
}

.service-overview-card--bg .service-overview-text {
  color: rgba(255, 255, 255, 0.8);
  min-height: 5em;
}

.service-overview-card--bg .service-overview-link {
  color: var(--accent);
}

@media (max-width: 640px) {
  .service-overview-card--bg,
  .soc-content {
    min-height: 280px;
  }
  .soc-content {
    padding: 1.5rem;
  }
}


/* =========================================
   RESPONSIVE: HERO
   ========================================= */
@media (max-width: 960px) {
  .hero__inner {
    padding-block: 40px;
  }
}

@media (max-width: 640px) {
  .hero__proof-line {
    flex-direction: column;
    gap: 0.4rem;
  }
  .now {
    width: 100%;
  }
}
