/* ================================================================
   HE-TEST s.r.o. – style.css
   Firemné farby: červená #CC0000, sivá #5A5A5A / #3D3D3D
   Písmo: Arial / Helvetica (zachovaný firemný štýl loga)
   Pozadie: biele, sekcie striedajú biela / svetlá sivá
================================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── PREMENNÉ ── */
:root {
  --red:        #CC0000;
  --red-dark:   #a30000;
  --red-light:  #f8e5e5;
  --gray-dark:  #3D3D3D;
  --gray-mid:   #5A5A5A;
  --gray-light: #f0f0f0;
  --gray-border:#d6d6d6;
  --white:      #ffffff;
  --text:       #2d2d2d;
  --text-muted: #5A5A5A;
  --max-w:      1140px;
  --radius:     6px;
  --radius-lg:  10px;
}
/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 34px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.btn--primary {
  background: #CC0000;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(204,0,0,.4);
  transform: scale(1.02);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(204,0,0,.4); }
  70% { box-shadow: 0 0 0 12px rgba(204,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(204,0,0,0); }
}

.btn--primary:hover {
  background: #a30000;
  transform: scale(1.05);
}

/* ── ZÁKLADY ── */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo span {
  font-size: 28px;
  font-weight: 800;
  color: #cc0000;
  letter-spacing: 1px;
}
.nav__inner {
  height: 76px;
  display: flex;
  align-items: center;
}

/* ── EYEBROW ── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow--danger { color: var(--red-dark); }
.eyebrow--light  { color: #f5a0a0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s, opacity .18s, transform .15s;
  border: none;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn--danger {
  background: var(--red-dark);
  color: var(--white);
}
.btn--danger:hover { opacity: .88; }

.btn--nav {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 20px;
  font-size: 14px;
  border-radius: var(--radius);
}
.btn--nav:hover { background: var(--red-dark); }

.btn--submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  padding: 15px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
}
.btn--submit:hover { background: var(--red-dark); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 4px;
}
/* Logo text – zachovaný firemný štýl He-TEST (červená + tučné) */
.nav__logo-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--gray-dark);
  letter-spacing: -.01em;
}
.nav__logo-text .nav__logo-dash { color: var(--red); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-dark);
  transition: color .18s;
}
.nav__links a:hover { color: var(--red); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
  min-height: 680px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.9) grayscale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
  rgba(20,20,20,.72) 0%,
  rgba(20,20,20,.52) 45%,
  rgba(20,20,20,.25) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hero__content .eyebrow { color: #f5a0a0; }

.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 680px;
}
.hero__risk {
  background: rgba(204,0,0,.85);
  border-left: 6px solid #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.hero__risk p { color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.55; }
.hero__risk strong { color: #ff9999; }

.hero__ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__link {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
}
.hero__link:hover { color: var(--white); }

/* Trust cards v hero */
.hero__trust { display: flex; flex-direction: column; gap: 10px; }
.trust-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  backdrop-filter: blur(6px);
}
.trust-card__icon {
  min-width: 52px;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
}
.trust-card__icon--sm { font-size: 13px; }
.trust-card strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.trust-card:hover {
  transform: translateY(-3px);
  transition: all .2s ease;
}
.trust-card span { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.4; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--gray-dark);
  padding: 32px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: none; }
.stat__num {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,.70);
  line-height: 1.45;
}

/* ── SEKCIE ── */
.section { padding: 72px 0; }
.section--light { background: var(--gray-light); }
.section--dark  { background: var(--gray-dark); }
.section--contact {
    background: #3d3d3d !important;
}
#kontakt {
    background: #3d3d3d !important;
}

.section__title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section__title--danger { color: var(--red-dark); }
.section__title--light  { color: var(--white); }

.section__sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 1000px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.section__sub--light { color: rgba(255,255,255,.72); }
.section__sub--wide {
  max-width: 1000px !important;
  white-space: nowrap;
}

/* ── RIZIKO ── */
.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.risk-card {
  background: var(--white);
  border: 1px solid #e0b8b8;
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.risk-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--red-dark);
  margin-bottom: 14px;
}
.risk-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.risk-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.risk-list li::before { content: '→'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.callout {
  background: var(--gray-dark);
  color: var(--white);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.7;
  margin: 24px 0 36px;
  font-style: italic;
}
.callout strong { color: #ff9999; font-style: normal; }

/* ── FOTOGALÉRIA ── */
 .gallery-strip {
  max-width: var(--max-w);
  margin: 16px auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .4s;
  filter: brightness(.9);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.gallery-strip img:hover { transform: scale(1.04); filter: brightness(1); }

/* ── SLUŽBY ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.service-card__num {
  font-size: 36px;
  font-weight: 900;
  color: #e8c8c8;
  line-height: 1;
  margin-bottom: 10px;
}
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  background: var(--gray-light);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 4px;
}

/* ── POSTUP ── */
.process {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 48px;
}
.process__arrow {
  font-size: 24px;
  color: var(--red);
  font-weight: 900;
  padding: 0 8px;
  margin-top: 14px;
}
.process__step { text-align: center; padding: 0 12px; }
.process__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--red);
}
.process__step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.process__step p  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.process__tel {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}
.process__tel a { color: var(--red); font-weight: 700; }
.process__tel a:hover { color: var(--red-dark); }

/* ── PREČO HE-TEST ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.why-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.why-card__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  margin-top: 2px;
}
.why-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.why-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── REFERENCIE ── */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.ref-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.ref-card h3 { font-size: 15px; font-weight: 700; color: var(--red-dark); margin-bottom: 8px; }
.ref-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.logos-section { margin-top: 40px; }
.logos-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 18px;
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.logo-pill {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
}

/* ── CERTIFIKÁCIE ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.cert-card__badge {
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 12px;
  line-height: 1;
}

.cert-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── KONTAKT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-benefits {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-benefits li {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  padding-left: 24px;
  position: relative;
}
.contact-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}
.contact-phones { display: flex; flex-direction: column; gap: 8px; }
.contact-phone {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  display: block;
}

.contact-phone:hover {
  color: #ff9999;
}
.contact-email {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  margin-top: 4px;
}
.contact-email:hover { color: var(--red); }

.contact-form-wrap {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,.20);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-note {
  font-size: 12px;
  color: rgba(255,255,255,.40);
  text-align: center;
  margin-top: 12px;
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d2d2d;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

.cookie-banner button {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
}
/* ── FOOTER ── */
.footer {
  background: #454545;
  padding: 24px 0;
  border-top: 3px solid var(--red);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}
.footer__logo-text {
  letter-spacing: -0.5px;
}
.footer__logo-red {
  color: #cc0000;
}

.footer__logo-gray {
  color: #cfcfcf;
}
.footer__logo-white {
  color: #ffffff;
}
.footer__copy {
  color: rgba(255,255,255,.72);
}

/* ================================================================
   RESPONZIVITA
================================================================ */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__trust { display: none; }
  .process {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .process__arrow { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 52px; min-height: auto; }

  .nav__links { display: none; }
  /* Na mobile zobraziť len logo a CTA tlačidlo */
  .nav__inner::after {
    content: 'Poslať zadanie →';
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: var(--radius);
  }

  .stats-bar__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 12px; }

  .risk-grid,
  .services-grid,
  .why-grid,
  .refs-grid,
  .cert-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .gallery-strip { grid-template-columns: 1fr 1fr; height: 240px; }

  .process { grid-template-columns: 1fr; gap: 24px; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 26px; }
  .gallery-strip { grid-template-columns: 1fr; height: auto; }
  .gallery-strip img { height: 220px; }
}
@media (max-width: 768px) {
  .section__sub--wide {
    white-space: normal;
  }
}
.cert-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-top: 40px !important;
}

.cert-grid > div {
  background: #ffffff !important;
  border: 1px solid #d6d6d6 !important;
  border-radius: 10px !important;
  padding: 32px !important;
  text-align: center !important;
}

.cert-grid > div span {
  display: inline-block !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #cc0000 !important;
  margin-bottom: 12px !important;
}

.cert-grid > div h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #2d2d2d !important;
  margin-bottom: 8px !important;
}

.cert-grid > div p {
  font-size: 13px !important;
  color: #5a5a5a !important;
  line-height: 1.6 !important;
}
#kontakt,
#kontakt .container,
#kontakt .contact-grid {
  background: #3d3d3d !important;
}
#kontakt .contact-form-wrap {
  background: #4a4a4a !important;
}
@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .cert-card,
  .cert-grid > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 22px !important;
  }

  .cert-card__badge,
  .cert-grid > div span {
    font-size: 30px !important;
  }

  .cert-card h3,
  .cert-grid > div h3 {
    font-size: 17px !important;
  }

  .cert-card p,
  .cert-grid > div p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}
@media (max-width: 768px) {
  .cert-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cert-grid > div {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}
.hero__content,
.hero__actions,
.btn,
.btn--primary {
  position: relative;
  z-index: 20;
}

.hero__bg,
.hero__overlay {
  pointer-events: none;
}
.nav .btn,
.nav__cta,
.header .btn {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}
.nav,
.nav__inner,
.nav__cta {
  position: relative;
  z-index: 99999;
}

.nav__cta {
  pointer-events: auto !important;
  touch-action: manipulation;
}
.hero__overlay,
.hero__bg {
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 9999;
}

.nav__cta {
  position: relative;
  z-index: 10000;
  pointer-events: auto !important;
}
.nav {
  z-index: 99999 !important;
}

.nav__inner,
.nav__links,
.nav__links a,
.nav__cta {
  position: relative;
  z-index: 100000 !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}