/* ==========================================================================
   bezchyb.sk – web.css (zvyšok štýlov, načítava sa asynchrónne)
   Sekcie, karty, časová os, kontakt, blog, cenník, formulár, pätička.
   Tokeny sú v critical.css (:root).
   ========================================================================== */

/* ---------- sekcie ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding-top: clamp(32px, 4vw, 56px); }
.section--white { background: var(--white); }
.section--beige { background: var(--beige); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--beige + .section--beige { border-top: 0; }
main > .section--beige:last-child { border-bottom: 0; } /* pätička má vlastnú hornú linku */
.section__label { margin: 48px 0 28px; text-align: center; }
.section__label h3, .section__label .eyebrow, .eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.section__cta { text-align: center; margin-top: 40px; }

/* karta – jeden tieň pre celý web */
.card-box { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* kruh s ikonou v jemnej červenej */
.icon-circle, .service-icon, .focus-icon, .contact-card__icon, .contact-info__icon, .contact-quick__icon, .dropzone__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red-soft); color: var(--red); flex: none; }
.icon-circle .ico, .service-icon .ico, .focus-icon .ico, .contact-card__icon .ico, .contact-quick__icon .ico, .dropzone__icon .ico { width: 24px; height: 24px; }

/* ---------- Služby ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-box { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.service-box .service-icon { width: 60px; height: 60px; }
.service-box h3 { font-size: 16px; line-height: 1.35; }
.service-box p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.service-box hr { display: none; }
@media (max-width: 1023.98px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .service-grid { grid-template-columns: 1fr; gap: 14px; } .service-box { padding: 22px 20px; } }

/* ---------- Postup mojej práce ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 64px; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 30px; border-top: 2px dashed #dcd3cc; }
.step { position: relative; text-align: center; padding: 0 18px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.step__num { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; background: var(--white); border: 1px solid var(--card-line); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--red); }
.step--last .step__num { background: var(--red); border-color: var(--red); color: var(--white); }
.step__body { display: flex; flex-direction: column; gap: 10px; }
.step__body h3 { font-size: 18px; line-height: 1.35; }
.step__body p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.step__body hr { display: none; }
@media (max-width: 767.98px) {
  .steps { grid-template-columns: 1fr; margin-top: 32px; gap: 0; }
  .steps::before { left: 25px; right: auto; top: 26px; bottom: 60px; border-top: 0; border-left: 2px dashed #dcd3cc; }
  .step { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: start; text-align: left; padding: 0 0 28px; }
  .step__num { grid-row: 1 / span 2; width: 52px; height: 52px; font-size: 16px; }
  .step__body h3 { min-height: 52px; display: flex; align-items: center; }
}

/* ---------- Na čo sa zameriavam (ukážka + 6 bodov) ---------- */
.focus-wrap { position: relative; margin-top: 48px; }
.focus-lines { position: absolute; inset: 0; width: 100%; height: auto; fill: none; stroke: #dcd3cc; stroke-width: 1.5; stroke-dasharray: 3 6; stroke-linecap: round; pointer-events: none; }
.focus-img { border-radius: var(--radius); border: 1px solid var(--card-line); box-shadow: var(--shadow-img); }
.focus-box { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.focus-content h3 { font-size: 16px; line-height: 1.35; }
.focus-content h3 br { display: none; }
.focus-content p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 6px; }
@media (min-width: 1024px) {
  .focus-wrap { height: 1060px; }
  .focus-img { position: absolute; left: 50%; top: 236px; width: 480px; margin-left: -240px; }
  .focus-box { position: absolute; width: 250px; }
  .focus-box--top-middle { left: 50%; margin-left: -125px; top: 0; }
  .focus-box--bottom-middle { left: 50%; margin-left: -125px; top: 906px; }
  .focus-box--top-left { left: 20px; top: 236px; }
  .focus-box--bottom-left { left: 20px; top: 540px; }
  .focus-box--top-right { right: 20px; top: 236px; }
  .focus-box--bottom-right { right: 20px; top: 580px; }
}
@media (max-width: 1023.98px) {
  .focus-lines { display: none; }
  .focus-img { width: min(480px, 100%); margin: 0 auto 28px; }
  .focus-box { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: start; text-align: left; padding: 18px 0; border-top: 1px solid var(--line-soft); }
  .focus-box:first-of-type { border-top: 0; }
  .focus-icon { grid-row: 1 / span 2; width: 52px; height: 52px; }
  .focus-content h3 { min-height: 52px; display: flex; align-items: center; }
  .focus-content p { margin-top: 0; }
}
@media (max-width: 767.98px) { .focus-img { display: none; } .focus-wrap { margin-top: 20px; } }

/* ---------- Cenník ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; align-items: stretch; }
.price-card { height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.price-card__head { padding: 32px 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.price-card__head h3 { font-size: 22px; line-height: 1.2; }
.price-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.price-card__icon .ico { width: 24px; height: 24px; }
.price-card__body { flex: 1 1 auto; padding: 0 24px 24px; color: var(--muted); font-size: 15px; }
.price-card__body p { margin: 0 0 6px; }
.price-card__body .curency { margin-top: 18px; font-size: 16px; color: var(--muted); }
.price-card__body .curency span { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--red); }
.price-card__foot { padding: 0 24px 32px; }
#cennik-p4 .price-card { background: var(--beige); border-color: transparent; box-shadow: none; }
.price-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.price-note:first-of-type { margin-top: 28px; }
.price-note a { color: var(--red); }
@media (max-width: 1023.98px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ---------- Blog – karty ---------- */
.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.post-card { display: flex; }
.post-card__link { display: flex; flex-direction: column; width: 100%; background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.post-card__link:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31, 31, 29, .08); color: var(--ink); }
.post-card__img { width: 100%; aspect-ratio: 600 / 250; object-fit: cover; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.post-card__title { font-size: 16px; line-height: 1.35; }
.post-card__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.post-card__meta .ico { width: 16px; height: 16px; }
.post-card__excerpt { font-size: 14px; line-height: 1.55; color: var(--muted); }
.post-card__more { margin-top: auto; padding-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--red); }
@media (max-width: 1023.98px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .post-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; } }

/* ---------- Kontakt (index) ---------- */
.contact-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.contact-card { display: flex; align-items: center; gap: 18px; min-width: 320px; padding: 22px 30px 22px 22px; background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); cursor: pointer; transition: transform .2s; }
.contact-card:hover { transform: translateY(-2px); color: var(--ink); }
.contact-card__text { text-align: left; }
.contact-card__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--red); white-space: nowrap; }
@media (max-width: 767.98px) {
  .contact-cards { flex-direction: column; gap: 12px; margin-top: 26px; }
  .contact-card { min-width: 0; padding: 18px 20px; gap: 16px; }
  .contact-card__icon { width: 52px; height: 52px; }
  .contact-card__value { font-size: 17px; }
}

/* e-mail – obfuskácia (ostáva ako doteraz) */
.bffh8vpa { unicode-bidi: bidi-override; direction: rtl; }
.d0btzfyy { display: none; }

/* ---------- Pätička ---------- */
.site-footer__links { position: relative; overflow: hidden; background: var(--beige); border-top: 1px solid var(--line-soft); }
.site-footer__circle { position: absolute; right: -44px; top: -90px; width: 200px; height: 200px; border-radius: 50%; background: var(--red-soft); pointer-events: none; }
@media (max-width: 1279.98px) { .site-footer__circle { right: -40px; top: -64px; width: 140px; height: 140px; } }
.site-footer__grid { position: relative; display: flex; justify-content: center; }
.site-footer__grid a { flex: 1 1 0; max-width: 295px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 24px; text-align: center; text-decoration: none; font-size: 15px; line-height: 1.45; color: var(--ink); border-left: 1px solid rgba(31, 31, 29, .10); transition: background-color .2s; }
.site-footer__grid a:first-child { border-left: 0; }
.site-footer__grid a:hover { background: rgba(255, 255, 255, .35); color: var(--ink); }
.site-footer__ico { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); color: var(--red); }
.site-footer__ico .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.site-footer__copy { background: var(--white); border-top: 1px solid rgba(31, 31, 29, .06); text-align: center; padding: 28px 0 30px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.site-footer__copy a { color: var(--muted); text-decoration-color: rgba(31, 31, 29, .25); }
.site-footer__cookies { margin-bottom: 6px; }
.btn-link.btn-cookiebar { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer__sep { padding: 0 8px; }
@media (max-width: 767.98px) {
  .site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 0; }
  .site-footer__grid a { max-width: none; padding: 22px 12px; gap: 10px; font-size: 13.5px; border-top: 1px solid rgba(31, 31, 29, .10); }
  .site-footer__grid a:nth-child(-n+2) { border-top: 0; }
  .site-footer__grid a:nth-child(odd) { border-left: 0; }
  .site-footer__circle { right: -26px; top: -42px; width: 90px; height: 90px; }
  .site-footer__ico { width: 52px; height: 52px; }
  .site-footer__ico .ico { width: 24px; height: 24px; }
  .site-footer__sep { display: none; }
  .site-footer__legal a:last-child { display: block; margin-top: 2px; }
}

/* scroll-up */
.scrollup { position: fixed; right: 20px; bottom: 90px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); color: var(--red); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility 0s linear .25s; }
/* skryté tlačidlo (visibility) nie je v poradí Tab ani v strome prístupnosti; počas fokusu ostáva viditeľné */
.scrollup.is-shown, .scrollup:focus-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#top:focus { outline: none; } /* cieľ fokusu po kliknutí na .scrollup */
.scrollup .ico { width: 20px; height: 20px; }

/* ---------- Referencie – časová os ---------- */
.timeline { position: relative; max-width: 860px; margin: 44px auto 0; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline__node { position: absolute; left: -44px; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--white); }
.timeline__node--year { width: 16px; height: 16px; margin: -8px 0 0 4px; background: var(--white); border: 3px solid var(--red); }
.timeline__year { position: relative; display: flex; align-items: center; min-height: 22px; margin: 44px 0 22px; }
.timeline__year:first-child { margin-top: 0; }
.timeline__year-txt { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--red); }
.timeline__group h3 { position: relative; display: flex; align-items: center; gap: 12px; min-height: 32px; margin: 4px 0 8px; font-size: 17px; line-height: 1.35; }
.timeline__group h3::before { content: ""; position: absolute; left: -44px; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--white); }
.timeline__group h3::after { content: ""; order: -1; width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23df3329' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.timeline__group ul { list-style: none; margin: 0 0 22px; padding: 0 0 0 44px; }
.timeline__group li { position: relative; padding: 4px 0 4px 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.timeline__group li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.timeline__group p:empty { display: none; }
@media (max-width: 575.98px) {
  .timeline { padding-left: 36px; margin-top: 36px; }
  .timeline__node, .timeline__group h3::before { left: -36px; }
  .timeline__group ul { padding-left: 0; }
}

/* ---------- Kontakt – podstránka ---------- */
.person { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 28px auto 26px; text-align: center; }
.person__avatar { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: var(--shadow); }
.person__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.25; }
.person__bio { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); max-width: 30rem; margin: 2px auto 0; }
.person__bio .dot { color: var(--red-dark); font-weight: 700; padding: 0 .35em; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.contact-coop { padding: 40px 40px 36px; }
.contact-coop h2 { font-size: 22px; line-height: 1.25; margin-bottom: 14px; }
.contact-coop__text { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 32rem; }
.contact-coop__channels { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; margin-top: 24px; }
.contact-info { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--red); }
.contact-info a, .contact-info span.bffh8vpa { color: var(--red); text-decoration: none; cursor: pointer; }
.contact-info__icon { width: 40px; height: 40px; }
.contact-info__icon .ico { width: 18px; height: 18px; }
.contact-coop__note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.contact-quick { padding: 30px 30px 14px; display: flex; flex-direction: column; }
.contact-quick__label { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-quick__row { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; }
.contact-quick__row:first-of-type { border-top: 0; }
.contact-quick__row:hover { color: var(--ink); }
.contact-quick__row:hover .contact-quick__cta { text-decoration: underline; }
.contact-quick__icon { width: 48px; height: 48px; }
.contact-quick__icon .ico { width: 20px; height: 20px; }
.contact-quick__body { display: flex; flex-direction: column; gap: 2px; }
.contact-quick__body strong { font-size: 15.5px; line-height: 1.35; }
.contact-quick__cta { font-size: 14px; color: var(--red); }
.billing__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; max-width: 900px; margin: 36px auto 0; }
.billing__list > div { display: flex; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); }
.billing__list > div:first-child { border-top: 0; }
.billing__list dt { flex: 0 0 110px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding-top: 3px; }
.billing__list dd { min-width: 0; margin: 0; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 1023.98px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-coop { padding: 26px 22px; }
  .contact-coop__channels { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-quick { padding: 26px 0 0; }
  .billing__grid { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin-top: 26px; }
  .billing__list + .billing__list > div:first-child { border-top: 1px solid var(--line); }
}
@media (max-width: 479.98px) {
  .billing__list > div { gap: 12px; }
  .billing__list dt { flex-basis: 72px; }
}
@media (max-width: 374.98px) { /* úzke telefóny – e-mail sa zmestí do karty Spolupráca */
  .contact-coop { padding: 24px 18px; }
  .contact-info { gap: 10px; font-size: 16px; }
  .contact-info__icon { width: 36px; height: 36px; }
}

/* ---------- Blog – detail článku ---------- */
.article__img { width: 100%; border-radius: var(--radius); border: 1px solid var(--card-line); box-shadow: var(--shadow-img); }
.article__body { max-width: 760px; margin: 48px auto 0; font-size: 18px; line-height: 1.7; }
.article__body p { margin: 0 0 22px; }
.article__body h2 { font-size: 26px; line-height: 1.25; margin: 40px 0 16px; }
.article__body h3 { font-size: 21px; line-height: 1.3; margin: 32px 0 12px; }
.article__body ul, .article__body ol { margin: 0 0 22px; padding-left: 22px; }
.article__body li { margin: 6px 0; }
.article__body a { font-weight: 600; text-decoration-color: var(--red); }
.article__body img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 8px 0; }
.article__body blockquote { margin: 24px 0; padding: 16px 24px; border-left: 3px solid var(--red); background: var(--beige); border-radius: 0 var(--radius) var(--radius) 0; }
.share { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; max-width: 760px; margin: 40px auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.share__label { font-size: 14px; color: var(--muted); margin-right: 6px; }
.share__btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.share__btn .ico { width: 20px; height: 20px; }
.share__btn:hover { background: var(--red); color: var(--white); }
@media (max-width: 767.98px) {
  .article__body { margin-top: 28px; font-size: 16.5px; }
  .article__body h2 { font-size: 22px; margin: 30px 0 12px; }
  .share__label { width: 100%; text-align: center; }
}

/* textové podstránky (VOP, OOÚ) */
.prose { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { font-weight: 600; text-decoration-color: var(--red); }

/* ---------- tabuľky v obsahu (VOP, OOÚ, články) – náhrada za Bootstrap .table / .table-responsive ---------- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
main table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; line-height: 1.55; }
main th, main td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
main thead th, main thead td { font-family: var(--font-head); font-weight: 700; font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; background: var(--beige); border-bottom-color: var(--line); }
main caption { caption-side: bottom; padding-top: 8px; font-size: 14px; color: var(--muted); text-align: left; }
.table-bordered { border: 1px solid var(--line); }
.table-bordered :is(th, td) + :is(th, td) { border-left: 1px solid var(--line-soft); }
.table-responsive > table { margin: 0; min-width: 640px; border: 0; }
.table-responsive > table > tbody > tr:last-child > * { border-bottom: 0; }
@media (max-width: 767.98px) {
  main table { font-size: 14px; }
  main th, main td { padding: 10px 12px; }
}

/* ---------- Poslať dokument – formulár ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.form-card { padding: 40px 44px 44px; }
.form-step { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.form-step__num { width: 34px; height: 34px; border-radius: 50%; background: var(--red-soft); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--red); flex: none; }
.form-step h2 { font-size: 20px; line-height: 1.25; }
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0 32px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-fields--company { margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field--wide { grid-column: 1 / -1; }
.field--check { justify-content: flex-end; padding-bottom: 12px; }
/* prepínač firma / spotrebiteľ – vlastný riadok, výraznejší */
.field--toggle { grid-column: 1 / -1; justify-content: flex-start; padding: 14px 16px; background: var(--beige); border: 1px solid var(--line); border-radius: var(--radius); }
.field--toggle .check { font-size: 15.5px; font-weight: 600; }
.field--toggle .check input { width: 20px; height: 20px; margin-top: 2px; }
.field--toggle .field__hint { margin: 2px 0 0 30px; }
.field label { font-size: 13.5px; font-weight: 600; }
.req { font-style: normal; color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] { height: 48px; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(223, 51, 41, .12); }
.field__hint { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.field__msg { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.4; color: var(--red-dark); }
.field__msg::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7281f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") center / contain no-repeat; }
.field.is-invalid input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(223, 51, 41, .12); }
.field.is-invalid .check { color: var(--red-dark); }
.field.is-invalid .check a { color: var(--red-dark); }
.field.is-invalid .check input { outline: 2px solid var(--red); outline-offset: 1px; border-radius: 3px; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--white); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--red); background: #fdf8f7; }
.dropzone strong { font-size: 15px; line-height: 1.35; }
.dropzone__hint { font-size: 13px; color: var(--muted); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.field.is-invalid .dropzone { border-color: var(--red); border-style: solid; }
.field--options { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--white); cursor: pointer; font-size: 15px; font-weight: 600; transition: border-color .15s; }
.opt + .opt { margin-top: 12px; }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
.opt:has(input:checked) { border: 2px solid var(--red); padding: 15px 17px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--red); flex: none; }
.check a { font-weight: 600; text-decoration-color: var(--red); }
.form-submit { text-align: center; margin-top: 34px; }
.form-submit__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }

/* vybraný súbor / stavy */
.file-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.file-row--selected { margin-top: 0; }
.file-row--done { border-style: dashed; }
.file-row__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); flex: none; }
.file-row__icon .ico { width: 20px; height: 20px; }
.file-row > span:not(.file-row__icon) { min-width: 0; flex: 1 1 auto; line-height: 1.35; }
.file-row br { display: none; }
.file-row__name { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-row__meta { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.file-row__remove { display: inline-flex; align-items: center; justify-content: center; flex: none; margin-left: auto; border: 0; background: none; padding: 8px; font-size: 0; color: var(--red-dark); cursor: pointer; border-radius: 8px; } /* len ikona – popis nesie aria-label */
.file-row__remove:hover { background: var(--beige); }
.file-row__remove .ico { width: 16px; height: 16px; }
.progress { height: 10px; border-radius: 100px; background: var(--line-soft); overflow: hidden; margin-top: 18px; }
.progress__bar { display: block; height: 100%; width: 0; border-radius: 100px; background: var(--red); transition: width .25s linear; }
.progress__meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.progress__meta b { color: var(--ink); }
.progress__pct { font-family: var(--font-head); color: var(--red) !important; }
.form-state__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.notice { display: flex; gap: 18px; align-items: flex-start; border-radius: var(--radius); padding: 20px 22px; border: 1px solid; margin-bottom: 28px; }
.notice h2 { font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.notice p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.notice ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.notice ul b { color: var(--ink); }
.notice__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; flex: none; }
.notice__icon .ico { width: 22px; height: 22px; stroke-width: 2; }
.notice--error { border-color: var(--red-soft); background: #fdf3f1; }
.notice--error .notice__icon { background: var(--red-soft); color: var(--red); }
.notice--success { border-color: #dcefdd; background: #f3faf4; }
.notice--success .notice__icon { background: #dcefdd; color: #2e7d32; }
.form-state--success .notice { margin-bottom: 0; }

/* bočný panel */
.form-aside { background: var(--beige); border-radius: var(--radius); padding: 32px 32px 28px; }
.form-aside h3 { font-size: 18px; line-height: 1.25; margin-bottom: 18px; }
.form-aside__steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.form-aside__steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.form-aside__steps b { display: block; color: var(--ink); margin-bottom: 2px; }
.form-aside__num { width: 32px; height: 32px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--red); flex: none; }
.form-aside__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-aside__note a { font-weight: 700; color: var(--red-dark); text-decoration: none; cursor: pointer; }
@media (max-width: 1023.98px) {
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .form-card { padding: 26px 20px 30px; }
  .form-two, .form-fields { grid-template-columns: 1fr; gap: 16px; }
  .form-hr { margin: 28px 0 26px; }
  .form-submit .btn { width: 100%; }
  .form-aside { padding: 26px 22px 24px; }
}

/* ---------- mCMS: cookie lišta, chatbot – drobné prepisy (ostatné štýly vkladá mCMS) ---------- */
#mcms-chatbot .mcms-chatbot-title { color: #fff !important; }
