/* Objednať test – hero, test cards, order form (#formular), documents (#dokumenty).
   Values from docs/extract/objednat-test/page.css and wp-custom.css (#forms, #docs, #pdf, #kompletnyzoznam). */

/* ---------- Hero ---------- */
.ot-hero { position: relative; max-width: 1440px; margin: 0 auto -150px; padding: 0 20px; }
.ot-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.ot-hero__text { width: 614px; max-width: 100%; justify-self: center; padding-bottom: 85px; }
.ot-hero h1 { margin: 0; font-size: 36px; line-height: 50px; font-weight: 700; color: var(--pink); }
.ot-hero__text p { margin: 20px 0 0; font-size: 18px; line-height: 26px; font-weight: 300; color: var(--ink); }
.ot-hero__visual { position: relative; border: 1px solid #D7DFFD; background: linear-gradient(180deg, #fff 0%, #FCDAEB 100%); }
.ot-hero__photo { width: 100%; height: 550px; object-fit: contain; object-position: center; }
.ot-badge {
  position: absolute; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; background: center / contain no-repeat;
}
.ot-badge--acc { left: -5%; top: 10%; width: 192px; height: 192px; background-image: url("../uploads/2026/03/Star-6.svg"); }
.ot-badge--acc strong { font-size: 52px; line-height: 1.1; font-weight: 700; }
.ot-badge--acc span { font-size: 23px; line-height: 23px; }
.ot-badge--ins { left: 3%; top: 38%; width: 168px; height: 168px; padding: 0 26px; background-image: url("../uploads/2026/03/Star-61.svg"); font-size: 20px; line-height: 27px; font-weight: 700; }

/* ---------- Test cards ---------- */
.ot-tests { position: relative; z-index: 9; max-width: 1440px; margin: 0 auto 110px; padding: 0 20px; }
.ot-cards { display: flex; gap: 24px; margin-bottom: 17px; }
.ot-cards .ot-card { flex: 1 1 0; min-width: 0; }
.ot-card { display: flex; flex-direction: column; border-radius: 24px; }
.ot-card p { margin: 0; }
.ot-card__label { padding: 16px; border-radius: 24px 24px 0 0; text-align: center; font-size: 18px; line-height: 25px; font-weight: 700; color: #fff; background: var(--blue); }
.ot-card--pink .ot-card__label { background: #DB739D; }
.ot-card--light .ot-card__label { background: #9BCDFB; color: var(--ink); }
.ot-card__label--touch::before, .ot-card__label--thumb::before {
  content: ""; display: inline-block; vertical-align: middle; width: 34px; height: 34px; margin: -6px 11px -4px -45px;
  background: url("../uploads/2026/06/touch.svg") center / 34px no-repeat;
}
.ot-card__label--thumb::before { width: 32px; height: 32px; margin-right: 13px; background-image: url("../uploads/2026/06/thumb.svg"); background-size: 32px; }
.ot-card__logo { display: flex; align-items: center; justify-content: center; min-height: 73px; margin: 0; padding: 0 20px; background: #fff; border: 1px solid #D7DFFD; border-top: 0; }
.ot-card__logo img { width: 100%; max-width: 260px; height: var(--h, 32px); object-fit: contain; }
.ot-card__grid { flex: 1 1 auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; border-inline: 1px solid #D7DFFD; }
.ot-card__grid.is-single { grid-template-columns: 1fr; }
.ot-card__preg { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 4px; background: #D7DFFD; text-align: center; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--blue); }
.ot-card__count { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 61px; padding: 0 6px; background: #fff; text-align: center; color: var(--blue); font-weight: 700; }
.ot-card__count strong { font-size: 24px; line-height: 33px; }
.ot-card__count span { font-size: 18px; line-height: 26px; }
.ot-card--light .ot-card__count span { font-size: 14px; line-height: 18px; padding-bottom: 4px; }
.ot-card--light .ot-card__grid.is-single .ot-card__count span { font-size: 18px; line-height: 26px; padding: 0; }
.ot-card__list { padding: 16px; background: #D7DFFD; text-align: center; font-size: 16px; line-height: 22px; color: var(--ink); border-inline: 1px solid #D7DFFD; }
.ot-card__list a { position: relative; display: inline-block; }
.ot-card__list a::after { content: ""; position: absolute; right: -15px; top: 6px; width: 6px; height: 12px; background: url("../uploads/2026/06/arrowrightblack.svg") center / cover no-repeat; }
.ot-card__list a:hover { color: var(--blue); text-decoration: underline; }
.ot-card__cta {
  display: block; padding: 24px; margin-bottom: 23px; border-radius: 0 0 24px 24px; background: var(--pink); box-shadow: 0 24px 32px 0 #D7DFFD;
  text-align: center; font-size: 24px; line-height: 33px; font-weight: 700; color: #fff; transition: background .2s;
}
.ot-card__cta:hover, .ot-card__cta:focus-visible { background: var(--pink-hover); color: #fff; }

.ot-card--max { border: 1px solid #D7DFFD; box-shadow: 0 24px 32px 0 #D7DFFD; }
.ot-card--max .ot-card__label { background: #9BCDFB; color: var(--ink); font-size: 24px; line-height: 33px; margin: 0; font-weight: 700; }
.ot-card--max .ot-card__preg { min-height: 41px; }
.ot-card__logos { display: flex; align-items: center; justify-content: center; gap: 40px; min-height: 83px; padding: 0 20px; background: #fff; }
.ot-card__logos img { height: 40px; width: auto; object-fit: contain; }
.ot-card__logos .ot-plus { height: 26px; }
.ot-card--max .ot-card__cta { margin-bottom: 0; box-shadow: none; }

/* ---------- Order form (#formular) – hidden by JS until a test is chosen, like the original ---------- */
.ot-order { max-width: 1440px; margin: 0 auto 80px; padding: 0 20px; scroll-margin-top: 100px; }
.ot-order[hidden] { display: none; }
.ot-order__box {
  display: flex; flex-direction: column; gap: 15px; padding: 60px; border: 3px solid #D9E0FD; border-radius: 40px;
  background: linear-gradient(180deg, #fff 0%, #D7DFFD 100%);
}
.ot-order h2 { margin: 0; padding: 0 20px; text-align: center; font-size: 36px; line-height: 49px; font-weight: 700; color: var(--ink); }
.ot-order__logo { display: flex; justify-content: center; }
.ot-order__logo span { display: flex; align-items: center; gap: 20px; }
.ot-order__logo span[hidden] { display: none; }
.ot-order__logo img { height: 43px; width: auto; }
.ot-order__logo .ot-plus { height: 26px; }
.ot-order__intro { max-width: 715px; margin: 0 auto; padding-bottom: 25px; text-align: center; font-size: 14px; line-height: 24px; color: #000; }
.ot-order__intro a { color: inherit; }
.ot-order .form-msg { width: 100%; max-width: 890px; margin: 0 auto; }
.ot-form { width: 100%; max-width: 910px; margin: 0 auto; }
.ot-form .form-grid { gap: 20px 0; }
.ot-form .form-grid > * { padding: 0 10px; }
.ot-form .field label { margin: 0; padding-bottom: 5px; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--blue); }
.ot-form .field input, .ot-form .field select { min-height: 50px; padding: 0 10px; border: 1px solid var(--blue); border-radius: 8px; background: #fff; font-size: 14px; }
.ot-form .field select option:disabled { color: #9AA3B5; }
.ot-form [aria-invalid="true"] { border-color: #C4002F !important; }
.ot-form__hint { margin: 6px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.ot-form .check-field { align-items: center; gap: 10px; margin: 0; font-size: 13px; line-height: 25px; font-weight: 700; color: var(--ink); cursor: pointer; }
.ot-form .check-field input {
  appearance: none; -webkit-appearance: none; flex: none; width: 25px; height: 25px; margin: 0; border: 1px solid var(--blue); border-radius: 8px; background: #fff; cursor: pointer;
}
.ot-form .check-field input:checked {
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M7.5 14.5 3.5 10.5l-1.4 1.4 5.4 5.4L18 6.8l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ot-form .check-field a { color: var(--ink); }
.ot-form .check-field a:hover { color: var(--pink); }
.ot-form .err { margin: 4px 0 0; }
.ot-form__submit { width: 100%; height: 48px; border: 0; border-radius: 10px; background: var(--pink); color: #fff; font-size: 16px; line-height: 29px; font-weight: 700; transition: background .2s; }
.ot-form__submit:hover { background: var(--pink-hover); }

/* ---------- Documents (#dokumenty) ---------- */
.ot-docs { max-width: 1440px; margin: 0 auto 129px; padding: 0 10px; scroll-margin-top: 100px; }
.ot-docs h2 { margin: 0 0 20px; text-align: center; font-size: 24px; line-height: 33px; font-weight: 700; color: var(--ink); }
.ot-docs__box {
  display: flex; flex-direction: column; gap: 15px; padding: 60px; border: 3px solid #D9E0FD; border-radius: 60px;
  background: linear-gradient(180deg, #fff 0%, #D7DFFD 100%);
}
.ot-docs__group { padding: 30px 20px 24px; border-radius: 24px; background: #fff; }
.ot-docs__group > * { max-width: 1070px; margin-inline: auto; }
.ot-docs h3 { margin-top: 0; margin-bottom: 26px; font-size: 24px; line-height: 33px; font-weight: 700; color: var(--blue); }
.ot-docs__list li:last-child .ot-doc, .ot-docs__list.is-2col li:nth-last-child(2) .ot-doc { margin-bottom: 0; }
.ot-docs__list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0 20px; }
.ot-docs__list.is-2col { grid-template-columns: 1fr 1fr; }
.ot-doc {
  position: relative; display: block; min-height: 54px; margin-bottom: 25px; padding: 13px 52px 13px 13px;
  border: 1px solid #D7DFFD; border-radius: 8px; background: #fff; font-size: 18px; line-height: 26px; color: var(--ink);
}
.ot-doc strong { font-weight: 600; }
.ot-doc::after { content: ""; position: absolute; right: 10px; top: 0; bottom: 0; margin: auto; width: 32px; height: 32px; background: url("../uploads/2026/06/pdf.svg") center / 32px no-repeat; }
a.ot-doc:hover { border-color: var(--blue); color: var(--ink); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .ot-hero { margin: 40px auto 30px; }
  .ot-hero__inner { grid-template-columns: 1fr; }
  .ot-hero__text { width: 100%; padding-bottom: 0; }
  .ot-hero h1 { font-size: 24px; line-height: 32px; margin-bottom: 8px; }
  .ot-hero__visual { border: 0; border-radius: 0 0 24px 24px; }
  .ot-hero__photo { height: 318px; object-position: center right; }
  .ot-badge--acc { left: 3%; top: 10%; width: 151px; height: 151px; background-image: url("../uploads/2026/03/Star-6.svg"); }
  .ot-badge--acc strong { font-size: 41px; }
  .ot-badge--acc span { font-size: 19px; line-height: 19px; }
  .ot-badge--ins { left: 42%; top: 38%; width: 130px; height: 130px; padding: 0 16px; font-size: 16px; line-height: 22px; }
  .ot-tests { margin-bottom: 50px; }
  .ot-cards { flex-wrap: wrap; gap: 25px 4%; margin-bottom: 25px; }
  .ot-cards .ot-card { flex: 0 0 48%; }
  .ot-docs { padding: 0 20px; margin-bottom: 60px; }
  .ot-docs__box { padding: 24px; border-width: 2px; border-radius: 24px; }
  .ot-docs__group { padding: 0; background: transparent; }
  .ot-docs__list.is-2col li:nth-last-child(2) .ot-doc { margin-bottom: 20px; }
  .ot-docs__list.is-2col { grid-template-columns: 1fr; }
  .ot-doc { min-height: 52px; margin-bottom: 20px; padding-right: 52px; font-size: 14px; line-height: 28px; }
  }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .ot-hero { margin-top: 40px; }
  .ot-hero__text p { line-height: 26px; }
  .ot-cards { flex-direction: column; gap: 25px; }
  .ot-cards .ot-card { flex: none; }
  .ot-card__logo { min-height: 106px; }
  .ot-card__logo img { height: auto; max-height: 50px; }
  .ot-card--max .ot-card__label { padding: 16px 30px; }
  .ot-card--max .ot-card__label--thumb::before { position: absolute; left: -10px; top: 20px; margin: 0; }
  .ot-card--max .ot-card__label { position: relative; }
  .ot-card__logos { flex-direction: column; gap: 10px; padding: 20px 20px 10px; }
  .ot-card__logos img { width: 100%; max-width: 310px; height: auto; }
  .ot-card__logos .ot-plus { width: 40px; height: 40px; }
  .ot-order__box { padding: 40px 20px; border-radius: 24px; }
  .ot-order h2 { font-size: 24px; line-height: 33px; }
  .ot-order__logo span { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .ot-order__logo img { max-width: 100%; height: auto; max-height: 43px; }
  .ot-docs h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Kolo 3 (17. 11. 2026): green "+" as on the leaflet, insurance block per product, thank-you panel instead of the form. */
.ot-plusg { color: #0BB259; font-weight: 800; font-size: 1.3em; line-height: 1; vertical-align: -0.06em; }
.ot-docs__more { margin: 18px 0 0; text-align: right; font-size: 16px; font-weight: 700; }
.ot-docs__more a { color: var(--blue); }
.ot-docs .ins-docs__row { border-radius: 12px; }
.ot-doc--page::after { background-image: none; content: "→"; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: var(--pink); }
.ot-thanks { max-width: 890px; margin: 0 auto; padding: 36px 40px; border-radius: 24px; background: #fff; border: 2px solid #BFE8D2; text-align: left; }
.ot-thanks:focus { outline: none; }
.ot-thanks__icon { display: block; width: 56px; height: 56px; margin-bottom: 14px; color: #0BB259; }
.ot-thanks__icon svg { width: 100%; height: 100%; }
.ot-thanks h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.ot-thanks h4 { margin: 22px 0 8px; font-size: 18px; font-weight: 800; color: var(--blue); }
.ot-thanks p, .ot-thanks li { font-size: 16px; line-height: 1.6; }
.ot-thanks ol { margin: 0; padding-left: 22px; }
.ot-thanks li + li { margin-top: 6px; }
.ot-thanks a { color: var(--blue); font-weight: 700; }
.ot-thanks__note { margin-top: 18px; color: var(--muted); font-size: 14px !important; }
.ot-thanks a.ot-thanks__again { display: inline-flex; margin-top: 6px; padding: 12px 26px; border-radius: 999px; background: var(--pink); color: #fff; text-decoration: none; }
.ot-thanks a.ot-thanks__again:hover { background: var(--pink-hover); }
@media (max-width: 767px) { .ot-thanks { padding: 24px 20px; } .ot-thanks h3 { font-size: 21px; } }

/* NIFTY max wordmark in the MAX card label (client 17. 11.: brand font and colours instead of plain text). */
.ot-maxlogo { display: inline-flex; align-items: flex-end; gap: 6px; vertical-align: middle; }
.ot-maxlogo img { height: 30px; width: auto; }
.ot-maxlogo span { font-size: 30px; line-height: .9; font-weight: 800; color: var(--blue); letter-spacing: -.01em; }
