/* S-MOTIV: focused improvements to the existing layout, 28 October 2026. */
body.smotiv-modern { font-size: 16px; }
.smotiv-modern [hidden] { display: none !important; }
.smotiv-modern a:focus-visible,
.smotiv-modern button:focus-visible,
.smotiv-modern input:focus-visible,
.smotiv-modern textarea:focus-visible,
.smotiv-modern select:focus-visible,
.smotiv-modern [tabindex]:focus-visible { outline: 3px solid #9a4c00; outline-offset: 4px; }
.smotiv-modern .footer a:focus-visible,
.smotiv-modern .footer button:focus-visible,
.smotiv-modern .ttm-topbar-wrapper a:focus-visible { outline-color: #fff; }
.smotiv-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.smotiv-skip-link { position: fixed; z-index: 100001; top: 8px; left: 16px; transform: translateY(-160%); background: #fff; color: #222; padding: 12px 18px; border: 2px solid #fda12b; font-weight: 600; }
.smotiv-skip-link:focus { transform: translateY(0); }
.smotiv-modern #smotiv-main { scroll-margin-top: 90px; }
.smotiv-modern .ttm-topbar-wrapper .tel-no { text-decoration: underline; text-underline-offset: 3px; }
.smotiv-modern #menu ul li:focus-within > ul { display: block; opacity: 1; visibility: visible; }
.smotiv-modern .ttm-menu-toggle:focus-within .ttm-menu-toggle-block { outline: 3px solid #9a4c00; outline-offset: 4px; }
.smotiv-modern .site-main img { max-width: 100%; height: auto; }
.smotiv-modern .site-main table { max-width: 100%; width: 100%; }
.smotiv-modern .site-main table td { vertical-align: top; overflow-wrap: break-word; }
.smotiv-modern .site-main table td:first-child { width: auto; }
.smotiv-modern .site-main .ttm-team-member-content,
.smotiv-modern .smotiv-article-body { overflow-wrap: break-word; }
.smotiv-modern .smotiv-article-body > :first-child { margin-top: 0; }
.smotiv-modern .smotiv-article-body a,
.smotiv-modern .ttm-team-member-content p a,
.smotiv-modern .smotiv-contact-panel p a { text-decoration: underline; text-underline-offset: 3px; }
.smotiv-home-intro, .smotiv-modern .sm-home-intro { padding-top: 38px; padding-bottom: 38px; }
.smotiv-modern .sm-home-intro { max-width: 1170px; margin: 0 auto; padding-left: 15px; padding-right: 15px; }
.smotiv-home-intro h1, .smotiv-modern .sm-home-intro h1 { font-size: 32px; line-height: 1.25; margin: 0 0 16px; color: #222; }
.smotiv-home-intro > p, .smotiv-modern .sm-home-intro > p { max-width: 850px; line-height: 1.65; }
.smotiv-contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 18px; }
.smotiv-button, .smotiv-modern .sm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 2px solid #222; background: #222; color: #fff; line-height: 1.4; font-weight: 600; text-align: center; text-decoration: none !important; }
.smotiv-button:hover, .smotiv-modern .sm-button:hover { background: #444; border-color: #444; color: #fff; }
.smotiv-button-secondary { color: #222; background: #fff; }
.smotiv-button-secondary:hover { color: #222; background: #f2f2f2; border-color: #222; }
.smotiv-service-links, .smotiv-modern .sm-home-intro nav { margin-top: 24px; }
.smotiv-service-links, .smotiv-modern .sm-home-intro nav ul { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; }
.smotiv-service-links a, .smotiv-modern .sm-home-intro nav a { display: block; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.smotiv-contact-panel, .smotiv-modern .sm-service-cta { margin: 28px 0; padding: 24px; border-left: 4px solid #fda12b; background: #f6f6f6; color: #333; }
.smotiv-contact-panel h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.35; }
.smotiv-contact-panel p, .smotiv-modern .sm-service-cta p { margin-bottom: 12px; }
.smotiv-modern .sm-service-cta .sm-button { margin: 0 10px 8px 0; }
.smotiv-price-index { margin: 20px 0 30px; padding: 20px; background: #f6f6f6; }
.smotiv-price-index h2 { font-size: 21px; margin: 0 0 10px; }
.smotiv-price-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.smotiv-price-index li a { display: block; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.smotiv-modern .site-main [id^="cenik-"] { scroll-margin-top: 100px; margin-top: 30px; }
.smotiv-price-scroll { overflow-x: auto; width: 100%; margin-bottom: 18px; }
.smotiv-price-table { border-collapse: collapse; }
.smotiv-price-table tr { border-bottom: 1px solid #e6e6e6; }
.smotiv-price-table td:last-child { white-space: nowrap; width: 20%; text-align: right; }
.smotiv-footer-settings { border: 0; background: none; color: inherit; padding: 0; font: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.smotiv-mobile-contact { display: none; }
.smotiv-consent { position: fixed; z-index: 10000; left: 20px; bottom: 20px; width: 620px; max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); overflow: auto; box-sizing: border-box; padding: 24px; background: #fff; color: #222; border: 1px solid #aaa; box-shadow: 0 6px 30px rgba(0,0,0,.25); }
.smotiv-consent h2 { font-size: 21px; line-height: 1.3; margin: 0 0 12px; }
.smotiv-consent p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.smotiv-consent p a { color: #333; text-decoration: underline; text-underline-offset: 3px; }
.smotiv-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.smotiv-consent-actions button { min-height: 44px; flex: 1 1 150px; padding: 10px 14px; background: #222; color: #fff; border: 2px solid #222; font: inherit; font-size: 15px; line-height: 1.4; cursor: pointer; }
.smotiv-consent-actions button:hover { background: #444; border-color: #444; }
.smotiv-consent-options { margin: 18px 0; padding-top: 12px; border-top: 1px solid #ddd; }
.smotiv-consent-options label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 15px; line-height: 1.5; }
.smotiv-consent-options input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
@media (max-width: 1199px) {
  .smotiv-modern .ttm-menu-toggle { position: relative; }
  .smotiv-modern .ttm-menu-toggle #menu-toggle-form { display: block !important; position: absolute; z-index: 2; opacity: 0; left: 0; top: 0; width: 44px; height: 44px; margin: 0; cursor: pointer; }
  .smotiv-modern #menu-toggle-form:checked ~ .ttm-menu-toggle-block { outline-offset: 3px; }
  .smotiv-modern #site-navigation:has(#menu-toggle-form:checked) #menu { display: block; }
}
@media (max-width: 767px) {
  body.smotiv-modern { padding-bottom: 62px; }
  .smotiv-modern .smotiv-hero > div > div > div { height: auto !important; min-height: 360px; padding: 48px 20px !important; }
  .smotiv-modern .smotiv-hero > div > div > div > div:nth-child(-n+2) { font-size: 29px !important; line-height: 1.25; }
  .smotiv-modern .smotiv-hero .btn { margin: 0 0 10px; max-width: 100%; }
  .smotiv-home-intro h1, .smotiv-modern .sm-home-intro h1 { font-size: 27px; }
  .smotiv-contact-panel, .smotiv-modern .sm-service-cta { padding: 20px 16px; }
  .smotiv-contact-actions { align-items: stretch; }
  .smotiv-contact-actions .smotiv-button { flex: 1 1 220px; }
  .smotiv-modern .site-main table td { font-size: 15px; }
  .smotiv-mobile-contact { position: fixed; z-index: 800; bottom: 0; left: 0; right: 0; display: flex; background: #fff; border-top: 1px solid #ccc; box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
  .smotiv-mobile-contact a { flex: 1; display: block; min-height: 54px; padding: 15px 8px; color: #222; font-weight: 600; text-align: center; line-height: 24px; }
  .smotiv-mobile-contact a + a { border-left: 1px solid #ddd; }
  .smotiv-consent { left: 12px; bottom: 12px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .smotiv-modern *, .smotiv-modern *::before, .smotiv-modern *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
