/* Spoľahlivosť a presnosť testu (prefix sp-). Values from the original Elementor page + wp-custom.css. */

/* ---------- Hero ---------- */
.sp-hero { padding: 0 20px; }
.sp-hero-in { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.sp-hero-text { padding: 70px 0 85px; }
.sp-hero h1 { margin: 0; font-size: 36px; font-weight: 700; line-height: 50px; color: var(--pink); }
.sp-lead { margin: 32px 0 0; font-size: 18px; font-weight: 300; line-height: 24px; color: #000; }
.sp-hero-media { position: relative; align-self: stretch; }
.sp-hero-media img { width: 100%; height: 410px; object-fit: contain; object-position: center right; }
.sp-badge { position: absolute; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; }
.sp-badge-acc { left: -4%; top: 6%; width: 192px; height: 192px; background: url("../uploads/2026/03/Star-6.svg") center / cover no-repeat; }
.sp-badge-acc strong { font-size: 52px; font-weight: 700; line-height: 1.2; }
.sp-badge-acc span { font-size: 23px; line-height: 23px; }
.sp-badge-ins { left: 3%; top: 40%; width: 168px; height: 168px; padding: 10px; background: url("../uploads/2026/03/Star-61.svg") center / contain no-repeat; font-size: 20px; font-weight: 700; line-height: 27px; }

/* ---------- Stats ---------- */
.sp-stats { position: relative; z-index: 9; padding: 0 20px; margin-bottom: 80px; }
.sp-stats-box {
  list-style: none; max-width: 1400px; margin: 0 auto; padding: 40px max(40px, calc((100% - 1250px) / 2)) 65px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px;
  border: 3px solid #FCDCEC; border-radius: 63px; background: linear-gradient(180deg, #fff 0%, #FCDAEB 100%);
}
.sp-stats li { display: flex; flex-direction: column; gap: 8px; }
.sp-stats img { width: 70px; height: 70px; align-self: center; object-fit: cover; }
.sp-stats h2 { min-height: 50px; margin: 0; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--pink); }

/* ---------- Technology cards ---------- */
.sp-tech { position: relative; z-index: 9; padding: 0 20px; margin-bottom: 80px; }
.sp-tech-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.sp-tech-card {
  display: grid; grid-template-columns: 372px 1fr; min-height: 380px; border: 2px solid #DEEBFA; border-radius: 60px;
  background: linear-gradient(180deg, #F7F8F7 0%, #DDEAF5 100%);
}
.sp-tech-card.is-first { border-color: #DEEBF5; background: linear-gradient(180deg, #F7F8F7 0%, #D9E8F4 100%); }
.sp-tech-text { padding: 66px 30px 66px 66px; }
.sp-tech-icon { width: auto; height: 48px; margin-bottom: 12px; }
.sp-tech-card.is-first .sp-tech-icon { margin-bottom: 4px; }
.sp-tech h2 { margin: 0 0 4px; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--blue); }
.sp-tech p { margin: 0; font-size: 18px; font-weight: 300; line-height: 26px; color: var(--ink); }
.sp-tech-img { margin: 0; display: flex; align-items: center; justify-content: center; }
.sp-tech-card.is-first .sp-tech-img img { height: 324px; width: auto; }
.sp-tech-card:not(.is-first) .sp-tech-img img { width: 248px; height: 227px; object-fit: contain; }

/* ---------- Trisomy accuracy ---------- */
.sp-tri { padding: 0 20px; margin: 105px 0 80px; }
.sp-tri-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-tri-card { padding: 40px; border-radius: 24px; background: #fff; box-shadow: 0 15px 30px rgba(237, 6, 119, .10); }
.sp-tri-card h2 { margin: 0 0 15px; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--pink); }
.sp-tri-card p { margin: 0; font-size: 18px; font-weight: 300; line-height: 24px; color: var(--ink); }
.sp-bar { height: 4px; background: #CFF6CE; }
.sp-bar span { display: block; width: 99%; height: 100%; background: #10D810; }

/* ---------- Check items ---------- */
.sp-checks { margin-bottom: 80px; }
.sp-checks-in { max-width: 935px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.sp-check { padding-left: 56px; }
.sp-check h2 { position: relative; margin: 0 0 15px; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--pink); }
.sp-check h2::before { content: ""; position: absolute; left: -55px; top: 0; width: 40px; height: 40px; background: url("../uploads/2026/06/check.png") center / contain no-repeat; }
.sp-check p { margin: 0 0 22px; font-size: 16px; line-height: 22px; color: var(--ink); }
.sp-check a { color: var(--pink); }
.sp-check a:hover { text-decoration: underline; }

/* ---------- CTA cards ---------- */
.sp-cta { padding: 0 20px; margin-bottom: 50px; }
.sp-cta-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-cta-card {
  display: grid; grid-template-columns: 147px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 30px;
  min-height: 227px; padding: 35px; border-radius: 40px; background: rgba(215, 223, 253, .5);
}
.sp-cta-card.is-pink { background: rgba(237, 6, 119, .1); }
.sp-cta-card img { grid-row: 1 / 3; align-self: center; width: 147px; height: 147px; }
.sp-cta-card h2 { align-self: end; margin: 0; font-size: 23px; font-weight: 700; line-height: 34px; color: var(--blue); }
.sp-cta-btn {
  justify-self: start; margin-top: 16px; display: inline-block; padding: 12px 24px; border-radius: 10px; white-space: nowrap;
  background: var(--pink); color: #fff; font-size: 16px; font-weight: 700; line-height: 29px; transition: background .2s;
}
.sp-cta-btn:hover, .sp-cta-btn:focus-visible { background: var(--pink-hover); color: #fff; }

/* ---------- Feature strip ---------- */
.sp-feat { padding: 0 20px; margin-bottom: 60px; }
.sp-feat-in { list-style: none; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 24px; background: #fff; }
.sp-feat li { display: flex; align-items: center; min-height: 95px; padding: 0 24px 0 44px; border-left: 1px solid #D7DFFD; }
.sp-feat li:first-child { padding-left: 24px; border-left: 0; }
.sp-feat li:last-child { padding-right: 44px; }
.sp-feat li > div { padding: 60px 20px; }
.sp-feat img { display: none; }
.sp-feat h2 { margin: 0 0 5px; font-size: 18px; font-weight: 500; line-height: 27px; color: var(--blue); }
.sp-feat p { margin: 0; font-size: 14px; line-height: 18px; color: var(--ink); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .sp-hero { margin-top: 40px; }
  .sp-hero h1 { font-size: 24px; line-height: 32px; }
  .sp-hero-media img { object-fit: cover; }
  .sp-badge-acc { width: 110px; height: 110px; }
  .sp-badge-acc strong { font-size: 26px; }
  .sp-badge-acc span { font-size: 14px; line-height: 16px; }
  .sp-badge-ins { width: 100px; height: 100px; font-size: 12px; line-height: 16px; }
  .sp-stats-box { grid-template-columns: 1fr 1fr; }
  .sp-stats h2 { font-size: 18px; }
  .sp-tech-in { grid-template-columns: 1fr; }
  .sp-tech-text { padding: 20px; }
  .sp-cta-in { grid-template-columns: 1fr; }
  .sp-cta-card { grid-template-columns: 25% 75%; }
  .sp-cta-card img { width: 64px; height: 64px; }
  .sp-cta-card h2 { padding-left: 20px; }
  .sp-cta-btn { grid-column: 1 / -1; }
  .sp-feat-in { grid-template-columns: 1fr 1fr; }
  .sp-feat li, .sp-feat li:first-child { border: 0; padding: 0; }
  .sp-feat li > div { padding: 20px 0 20px 20px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .sp-hero-in { grid-template-columns: 1fr; gap: 20px; }
  .sp-hero-text { padding: 0; }
  .sp-hero h1 { margin-bottom: 8px; }
  .sp-hero-media { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #FCDAEB 100%); }
  .sp-hero-media img { height: 320px; object-fit: cover; object-position: center right; }
  .sp-badge-acc { left: 0; top: 15%; width: 151px; height: 151px; background: url("../uploads/2026/03/Star-6.svg") center / contain no-repeat; }
  .sp-badge-acc strong { font-size: 40px; }
  .sp-badge-acc span { font-size: 20px; line-height: 23px; }
  .sp-badge-ins { left: 58%; top: 50%; width: 130px; height: 130px; font-size: 16px; line-height: 21px; }

  .sp-stats { margin: 40px 0 20px; }
  .sp-stats-box { grid-template-columns: 1fr; gap: 0; padding: 10px 10px 20px; border: 0; border-radius: 24px; }
  .sp-stats li { gap: 5px; text-align: center; }
  .sp-stats h2 { font-size: 16px; line-height: 22px; }

  .sp-tech { margin: 40px 0 20px; }
  .sp-tech-in { gap: 0; }
  .sp-tech-card, .sp-tech-card.is-first { grid-template-columns: 1fr; min-height: 0; margin-bottom: 40px; padding: 0 20px; }
  .sp-tech-text { padding: 20px 0; }
  .sp-tech h2 { font-size: 20px; line-height: 27px; }
  .sp-tech-card.is-first .sp-tech-img { order: -1; padding: 20px 0; }
  .sp-tech-card:not(.is-first) .sp-tech-img { padding-bottom: 20px; }
  .sp-tech-card:not(.is-first) .sp-tech-img img { width: 100%; height: 227px; }

  .sp-tri { margin: 0 0 40px; }
  .sp-tri-in { grid-template-columns: 1fr; gap: 25px; }
  .sp-tri-card { padding: 20px; }

  .sp-checks { margin-bottom: 40px; }
  .sp-checks-in { grid-template-columns: 1fr; }
  .sp-check { padding: 0 30px; }
  .sp-check h2::before { display: none; }
  .sp-check h2 { margin-bottom: 30px; }
  .sp-check p { margin-bottom: 30px; }

  .sp-cta { margin-bottom: 20px; }
  .sp-cta-card { min-height: 180px; padding: 24px; }
  .sp-cta-card img { justify-self: center; grid-row: 1; }
  .sp-cta-card h2 { grid-column: 2; align-self: center; font-size: 20px; line-height: 34px; }
  .sp-cta-card h2 br { display: none; }
  .sp-cta-btn { margin-top: 10px; }

  .sp-feat { padding: 0; margin-bottom: 40px; }
  .sp-feat-in { grid-template-columns: 1fr; border-radius: 0; }
  .sp-feat li, .sp-feat li:first-child, .sp-feat li:last-child { min-height: 104px; padding: 0 20px; border-bottom: 1px solid #D7DFFD; }
  .sp-feat img { display: block; width: 56px; height: 56px; flex: none; margin-right: calc(20% - 56px); }
  .sp-feat li > div { padding: 0; }
  .sp-feat h2 { margin-bottom: 8px; }
}
