/* Navigace R209 (Make It Better, 2026-11-28): dlaždice, tlačítko Poptat techniku, sticky animace drop/rise. */
.site-header__links > li { container-type: inline-size; }
.site-header__nav-label, .site-header__inquiry-label { white-space: nowrap; }
.nv-w1, .nv-w2 { white-space: nowrap; }
@container (width < 9.25rem) {
  .nv-w1, .nv-w2 { display: block; }
  .site-header__nav-label, .site-header__inquiry-label { line-height: 1.15; text-align: center; }
}
.maruto-page[data-compact="true"] .site-header__inquiry :is(.nv-w1, .nv-w2) { display: inline !important; }
@media (width <= 80rem) {
  .maruto-page .site-header__logo { inline-size: clamp(7.25rem, 22vw - 4rem, 14.04rem); }
  .maruto-page[data-compact="true"] .site-header__logo { inline-size: clamp(6.5rem, 10vw - .5rem, 8.64rem); }
  .site-header__links .site-header__nav-link, .site-header__links summary { font-size: clamp(.8125rem, 1.25vw, 1rem) !important; }
}
@media (60rem < width <= 80rem) {
  .maruto-page .site-header__toggle:not([hidden]), .maruto-page .site-header__toggle, .maruto-page .site-header__mobile-inquiry { display: none !important; }
  .maruto-page .site-header__inner { flex-wrap: nowrap; column-gap: var(--space-s); }
  .maruto-page .site-header__nav[data-enhanced="true"] { display: block !important; position: static !important; inset: auto !important;
    max-block-size: none !important; overflow: visible !important; background: none !important; padding: 0 !important; flex: 1 1 auto; inline-size: auto !important; order: 0; }
  .maruto-page .site-header__links { grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 8.5rem) !important; gap: 4px !important; }
  .maruto-page .site-header__action { grid-column: auto !important; justify-content: stretch; }
  .maruto-page .site-header__inquiry { inline-size: 100% !important; }
  .site-header__links .site-header__nav-link, .site-header__links summary { padding-inline: .3rem !important; }
  .maruto-page .site-header__inner { min-block-size: 5.75rem; }
  .maruto-page[data-compact="true"] .site-header__inner { min-block-size: 3.5rem; }
}
@media (width > 60rem) {
  .maruto-page[data-compact="true"] .site-header__inner { padding-block: 1px !important; padding-inline-end: 1px !important; align-items: stretch; }
  .maruto-page[data-compact="true"] .site-header__logo { align-self: center; }
  .maruto-page[data-compact="true"] .site-header__nav, .maruto-page[data-compact="true"] .site-header__links { align-self: stretch; block-size: auto; }
  .maruto-page[data-compact="true"] .site-header__links { align-items: center; }
  .maruto-page[data-compact="true"] .site-header__action { align-self: stretch; display: flex; }
  .maruto-page[data-compact="true"] .site-header__inquiry { block-size: auto !important; min-block-size: calc(3.5rem - 2px) !important; align-self: stretch;
    border-radius: calc(var(--radius) - 1px) !important; }
}
.maruto-page { --_sticky-duration: .75s; }
.maruto-page .site-header { --ease-snappy: cubic-bezier(.22, 1, .36, 1); }
@media (prefers-reduced-motion: reduce) { .maruto-page .site-header * { transition: none !important; } }
.site-header__links > li { container-type: normal !important; }
@media (60rem < width <= 80rem) {
  .site-header__links :is(.site-header__nav-link, summary) :is(.nv-w1, .nv-w2) { display: block; }
  .maruto-page:not([data-compact="true"]) .site-header__inquiry :is(.nv-w1, .nv-w2) { display: block; }
  .site-header__nav-label, .site-header__inquiry-label { line-height: 1.15; text-align: center; }
}
@media (width > 60rem) {
  .maruto-page[data-compact="true"] .site-header__inner { padding-block: 0 !important; padding-inline-end: 0 !important; }
  .maruto-page[data-compact="true"] .site-header__inquiry { min-block-size: 3.5rem !important; border-radius: 0 var(--radius) var(--radius) 0 !important; }
}
.maruto-page { --_sticky-duration: .6s; }
.maruto-page .site-header { --ease-snappy: cubic-bezier(.45, 0, .2, 1); }
.site-header__links :is(.site-header__nav-link, summary)::after { transition: opacity .3s ease, transform .3s ease !important; }
@media (prefers-reduced-motion: reduce) { .maruto-page .site-header * { transition: none !important; } }

.site-header__links :is(.site-header__nav-link, summary)::before { inset: 0; }
.maruto-page .site-header .site-header__links summary::before { clip-path: shape(from 14px 0, line to calc(100% - 14px) 0, curve to 100% 14px with 100% 0, line to 100% calc(100% - 28px),
  curve to calc(100% - 6px) calc(100% - 22px) with 100% calc(100% - 22px), line to calc(100% - 14px) calc(100% - 22px),
  curve to calc(100% - 22px) calc(100% - 18px) with calc(100% - 19px) calc(100% - 22px), line to calc(100% - 30px) calc(100% - 5px),
  curve to calc(100% - 38px) 100% with calc(100% - 33px) 100%, line to 14px 100%, curve to 0 calc(100% - 14px) with 0 100%,
  line to 0 14px, curve to 14px 0 with 0 0, close) !important; border-radius: 0 !important; }
.maruto-page[data-compact="true"] .site-header .site-header__links summary::before { clip-path: shape(from 0px 0, line to calc(100% - 0px) 0, curve to 100% 0px with 100% 0, line to 100% calc(100% - 0px),
  curve to calc(100% - 0px) calc(100% - 0px) with 100% calc(100% - 0px), line to calc(100% - 0px) calc(100% - 0px),
  curve to calc(100% - 0px) calc(100% - 0px) with calc(100% - 0px) calc(100% - 0px), line to calc(100% - 0px) calc(100% - 0px),
  curve to calc(100% - 0px) 100% with calc(100% - 0px) 100%, line to 0px 100%, curve to 0 calc(100% - 0px) with 0 100%,
  line to 0 0px, curve to 0px 0 with 0 0, close) !important; }
.maruto-page .site-header__links :is(.site-header__nav-link, summary) { color: var(--_tile-ink, #fff) !important; }
@property --mib-fill { syntax: "<color>"; inherits: false; initial-value: transparent; }
.maruto-page .site-header__inner { --mib-l: calc(2 * var(--space-m-to-xs) + 8.64rem); --mib-fill: transparent;
  background-color: transparent !important;
  background-image: linear-gradient(to left, var(--mib-fill) calc(100% - 2rem), transparent) !important;
  background-repeat: no-repeat !important; background-position: 100% 0 !important; background-size: calc(100% - var(--mib-l)) 100% !important; }
@media (width <= 80rem) { .maruto-page .site-header__inner { --mib-l: calc(2 * var(--space-m-to-xs) + clamp(6.5rem, 10vw - .5rem, 8.64rem)); } }
.maruto-page[data-compact="true"] .site-header__inner { --mib-fill: var(--_sticky-surface); background-size: calc(100% + 2rem) 100% !important; }
.maruto-page[data-compact="true"] .site-header__links :is(.site-header__nav-link, summary)::before {
  opacity: 0 !important; inset-inline: -6px !important; border-radius: 0 !important; background: var(--_tile) !important; }
.maruto-page[data-compact="true"] .site-header .site-header__nav-icon {
  animation: mib-icon-swap-in .5s linear both; }
@keyframes mib-icon-swap-in { 0% { opacity: 1; } 20%, 64% { opacity: 0; } 100% { opacity: 1; } }
.maruto-page:not([data-compact="true"]) .site-header__links :is(.site-header__nav-link, summary)::before {
  opacity: 1; }
.maruto-page:not([data-compact="true"]) .site-header .site-header__nav-icon {
  animation: mib-icon-swap-out .6s linear both; }
@keyframes mib-icon-swap-out { 0% { opacity: 1; } 15%, 84% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .maruto-page .site-header .site-header__nav-icon { animation: none !important; } }
.maruto-page .site-header__links > li:nth-child(1) { --i: 3; } .maruto-page .site-header__links > li:nth-child(2) { --i: 2; }
.maruto-page .site-header__links > li:nth-child(3) { --i: 1; } .maruto-page .site-header__links > li:nth-child(4) { --i: 0; }
.maruto-page .site-header__links > li:nth-child(5) { --i: 1; } .maruto-page .site-header__links > li:nth-child(6) { --i: 2; }
.maruto-page .site-header__links > li:nth-child(7) { --i: 3; }
@media (prefers-reduced-motion: reduce) { .maruto-page .site-header * , .maruto-page .site-header *::before { transition-duration: .01s !important; transition-delay: 0s !important; } }
@media (width > 60rem) { .maruto-page .site-header__inquiry { inline-size: calc(100% + 1px) !important; max-inline-size: none !important; min-inline-size: 0 !important; flex: none !important; } }
@property --mib-pe { syntax: "<length>"; inherits: false; initial-value: 0px; }
@media (width > 60rem) {
  .maruto-page .site-header__inner { --mib-pe: var(--gutter); padding-inline-end: var(--mib-pe) !important;
    background-position: right var(--mib-pe) top 0 !important; background-size: calc(100% - var(--mib-l) - var(--mib-pe)) 100% !important; }
  .maruto-page[data-compact="true"] .site-header__inner { --mib-pe: 0px; background-size: calc(100% + 2rem) 100% !important; }
}
.maruto-page[data-compact="true"] .site-header__inquiry .site-header__inquiry-mark { display: block !important; inline-size: 2.25rem !important;
  block-size: 2rem !important; opacity: 0; transform: scale(.4); transform-origin: 0 100%; }
.maruto-page:not([data-compact="true"]) .site-header__inquiry .site-header__inquiry-mark { opacity: 1; transform: none;
  transform-origin: 0 100%; }
@property --mib-t1 { syntax: "<color>"; inherits: false; initial-value: transparent; }
@property --mib-t2 { syntax: "<color>"; inherits: false; initial-value: transparent; }
.maruto-page .site-header { --_sticky-surface: color-mix(in oklch, var(--base-dark), var(--base-semi-dark)) !important; }
.maruto-page[data-compact="true"] .site-header__inner { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.maruto-page .site-header .site-header__links :is(.site-header__nav-link, summary)::before { --mib-t1: var(--base-dark); --mib-t2: var(--base-semi-dark); background: linear-gradient(135deg, var(--mib-t1), var(--mib-t2)) !important; }
.maruto-page:not([data-compact="true"]) .site-header .site-header__links details[open] > summary::before { --mib-t1: var(--base-semi-dark); --mib-t2: var(--base-hover); }
.maruto-page[data-compact="true"] .site-header .site-header__links :is(.site-header__nav-link, summary)::before { --mib-t1: color-mix(in oklch, var(--base-dark), var(--base-semi-dark)); --mib-t2: color-mix(in oklch, var(--base-dark), var(--base-semi-dark)); opacity: 0 !important; }
.maruto-page:not([data-compact="true"]) .site-header .site-header__links :is(.site-header__nav-link, summary)::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .maruto-page .site-header .site-header__links :is(.site-header__nav-link, summary)::before { transition-duration: .01s !important; transition-delay: 0s !important; } }

.maruto-page .site-header .site-header__inner, .maruto-page .site-header .site-header__inner *, .maruto-page .site-header .site-header__inner *::before {
  transition-duration: 0s !important; transition-delay: 0s !important; }
.maruto-page[data-compact="true"] .site-header .site-header__inner { --mib-fill: color-mix(in oklch, var(--base-dark), var(--base-semi-dark)); background-size: calc(100% + 2rem) 100% !important; }
.maruto-page[data-compact="true"] .site-header .site-header__links :is(.site-header__nav-link, summary)::before { opacity: 0 !important; }

@keyframes mib-drop { from { transform: translateY(calc(-100% - 1.5rem)); } to { transform: none; } }
@keyframes mib-rise { from { opacity: 0; transform: translateY(-.75rem); } to { opacity: 1; transform: none; } }
.maruto-page[data-compact="true"] .site-header .site-header__inner { animation: mib-drop .55s cubic-bezier(.32, .72, 0, 1) both; }
.maruto-page:not([data-compact="true"]) .site-header .site-header__inner { animation: mib-rise .45s cubic-bezier(.32, .72, 0, 1) both; }
@media (prefers-reduced-motion: reduce) { .maruto-page .site-header__inner { animation: none !important; } }
