@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/Archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/Archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --brand: #0c2f6e;
  --brand-deep: #08214f;
  --accent: #ffd100;
  --accent-hover: #ffdc3d;
  --ink: #18212f;
  --muted: #4a5566;
  --line: #d5dae2;
  --bg: #ffffff;
  --bg-grey: #f2f2f2;
  --radius: 0;
  --wrap: 1710px;
  --gut: clamp(16px, 4.6vw, 70px);
  --head: "Archivo", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; font-stretch: 72%; letter-spacing: -.01em; line-height: 1.05; margin: 0 0 .5em; }
strong, b { font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 5px var(--brand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--accent); color: var(--brand-deep); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 10px 24px; border: 2px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: var(--brand-deep);
  font: condensed 700 19px/1.1 var(--head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn .ph-arrow-right { transition: transform 200ms var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn-line { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-blue { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-blue:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-white { background: transparent; border-color: #fff; color: #fff; }
.btn-white:hover { background: #fff; color: var(--brand); }
.btn-line:hover { background: var(--brand); color: #fff; }
.btn-block { width: 100%; }
.link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ctrl {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 2px solid rgba(255,255,255,.55); border-radius: var(--radius); background: transparent; color: #fff;
  font-size: 20px; cursor: pointer; transition: background-color 150ms ease-out;
}
.ctrl:hover { background: rgba(255,255,255,.14); }
.ctrl-dark { border-color: var(--line); color: var(--brand); }
.ctrl-dark:hover { background: var(--bg-grey); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; background: linear-gradient(rgba(8, 33, 79, .16), rgba(8, 33, 79, 0)); opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease-out); }
.top.is-scrolled::after { opacity: 1; }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 80px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); margin-right: auto; min-height: 44px; transform-origin: left center; transition: transform 300ms var(--ease-out); }
.top.is-scrolled .brand { transform: scale(.88); }
.brand img { width: 72px; }
.brand span { font: condensed 900 26px/1 var(--head); letter-spacing: .02em; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu-list > li { position: relative; }
.menu-link {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--brand); font: condensed 700 18px/1 var(--head); text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
}
.menu-link:hover, .has-sub.is-open > .menu-link { background: var(--bg-grey); }
.menu-link[aria-current="page"] { box-shadow: inset 0 -4px var(--accent); }
.menu-link .ph-caret-down { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.has-sub.is-open > .menu-link .ph-caret-down { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 8px; }
.sub a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius); font: 600 17px/1.2 var(--body); color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--bg-grey); color: var(--brand); }
.menu-tel { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; margin-left: 8px; border-radius: var(--radius); background: var(--brand); color: #fff; font: condensed 700 18px/1 var(--head); letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.menu-tel:hover { background: var(--brand-deep); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius); }
.burger-bars, .burger-bars::before, .burger-bars::after { display: block; width: 26px; height: 3px; background: var(--brand); margin: 0 auto; transition: transform 200ms var(--ease), opacity 150ms ease-out; }
.burger-bars { position: relative; }
.burger-bars::before, .burger-bars::after { content: ""; position: absolute; left: 0; }
.burger-bars::before { transform: translateY(-8px); }
.burger-bars::after { transform: translateY(8px); }
.burger[aria-expanded="true"] .burger-bars { background: transparent; }
.burger[aria-expanded="true"] .burger-bars::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars::after { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .sub {
    position: absolute; top: calc(100% + 12px); left: 0; min-width: 260px; background: #fff;
    border-top: 4px solid var(--accent); border: 1px solid var(--line); border-top: 4px solid var(--accent);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transform-origin: top left;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; } /* hover bridge over the gap */
  .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (max-width: 1023px) {
  .burger { display: block; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 200ms ease-out, transform 200ms var(--ease), visibility 0s linear 200ms;
  }
  .menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .menu-list { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-link { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 8px; font-size: 22px; border-bottom: 1px solid var(--bg-grey); border-radius: 0; }
  .menu-link .ph-caret-down { width: 18px; height: 18px; }
  .sub { display: none; padding: 4px 0 8px 12px; border-bottom: 1px solid var(--bg-grey); }
  .has-sub.is-open > .sub { display: block; }
  .sub a { min-height: 48px; font-size: 18px; }
  .menu-tel { margin: 12px 0 0; justify-content: center; min-height: 52px; font-size: 22px; }
}

/* Hero carousel */
.hero { position: relative; background: var(--brand-deep); }
.hero-track { display: grid; }
.slide { grid-area: 1 / 1; position: relative; overflow: hidden; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 300ms ease-out, visibility 0s linear 300ms; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slide-box { position: relative; background: var(--brand); color: #fff; padding: 24px 16px 72px; flex: 1; }
.slide-box h1, .slide-box h2 { font-size: clamp(36px, 9vw, 60px); font-weight: 900; line-height: .98; text-transform: uppercase; margin-bottom: .35em; }
.slide-box p { max-width: 34em; color: #e3e9f4; }
.hero-ctrl { position: absolute; left: 16px; right: 16px; bottom: 20px; display: flex; align-items: center; gap: 8px; }
.dots { display: flex; gap: 6px; }
.dots button {
  width: 44px; height: 44px; padding: 0; border: 2px solid rgba(255,255,255,.55); border-radius: var(--radius);
  background: transparent; color: #fff; font: condensed 700 18px/1 var(--head); cursor: pointer; transition: background-color 150ms ease-out, color 150ms ease-out;
}
.dots button:hover { background: rgba(255,255,255,.14); }
.dots button[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--brand-deep); }
.hero-ctrl [data-play] { margin-left: auto; }

@media (min-width: 900px) {
  .slide { display: block; min-height: clamp(520px, calc(100svh - 80px), 1000px); }
  .slide img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .slide-box {
    position: absolute; left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); bottom: 104px;
    width: min(560px, calc(100% - 32px)); padding: 36px 40px 40px; background: rgba(8, 33, 79, .92);
  }
  .slide-box p { font-size: 19px; }
  .hero-ctrl { left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); right: auto; bottom: 36px; }
  .hero-ctrl .ctrl, .dots button { background: rgba(8, 33, 79, .7); }
  .dots button[aria-current="true"] { background: var(--accent); }
  .hero-ctrl [data-play] { margin-left: 16px; }
}

/* Sections */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 80px 0; } }
.sec-grey { background: var(--bg-grey); }
.sec-brand { background: var(--brand); color: #fff; }
.h-sec { font-size: clamp(32px, 5vw, 50px); font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--brand); }
.sec-brand .h-sec { color: #fff; }
.lead { max-width: 38em; color: var(--muted); margin-bottom: 32px; }

/* Tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; color: var(--brand); border-radius: var(--radius); overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 600ms var(--ease-out); }
.tile > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; min-height: 56px; font: condensed 700 22px/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; border-top: 4px solid var(--accent); margin-top: auto; }
.tile .ph-arrow-right { transition: transform 200ms var(--ease); }


/* Footer */
.foot { background: var(--bg-grey); color: var(--ink); padding: 56px 0 96px; font-size: 16px; }
.foot a { color: var(--ink); text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
.foot a:hover { color: var(--brand); }
.foot-name { font: condensed 900 24px/1.1 var(--head); color: var(--brand); text-transform: uppercase; }
.foot-note { color: var(--muted); font-size: 16px; max-width: 30em; }
@media (min-width: 900px) { .foot { padding-bottom: 48px; } }

/* Interest tab + panel */
.zajem-tab {
  position: fixed; right: 0; top: 50%; z-index: 30; transform: translateY(-50%);
  writing-mode: vertical-rl; min-width: 44px; padding: 18px 10px;
  border: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--accent); color: var(--brand-deep);
  font: condensed 700 19px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; cursor: pointer;
}
.zajem-tab:hover { background: var(--accent-hover); }
.zajem-tab i { writing-mode: horizontal-tb; }
.zajem {
  margin: 0 0 0 auto; height: 100%; max-height: 100dvh; width: min(420px, 100%); max-width: 100%;
  border: 0; padding: 20px 20px 28px; background: #fff; color: var(--ink); overflow-y: auto;
}
.zajem[open] { animation: zajem-in 260ms var(--ease); }
.zajem::backdrop { background: rgba(8, 21, 45, .55); }
.zajem[open]::backdrop { animation: fade-in 200ms ease-out; }
@keyframes zajem-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .zajem[open], .zajem[open]::backdrop { animation: none; } }
.zajem-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.zajem-head h2 { font-size: 34px; text-transform: uppercase; color: var(--brand); margin: 0; }
.zajem-small { font-size: 16px; color: var(--muted); margin-top: 12px; }
.form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.form h3 { font-size: 24px; text-transform: uppercase; color: var(--brand); }
.form label { display: block; font-weight: 600; margin: 14px 0 4px; }
.form input, .form textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; font: 400 17px/1.5 var(--body); color: var(--ink);
  border: 1px solid #8a94a6; border-radius: var(--radius); background: #fff;
}
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 0; box-shadow: none; }
.form textarea { resize: vertical; }
.form-err { color: #a3111a; font-weight: 600; margin: 6px 0 0; }
.form-note { font-size: 16px; color: var(--muted); background: var(--bg-grey); border-left: 4px solid var(--brand); padding: 10px 12px; margin: 18px 0 14px; }

/* Photo credits page */
.credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.credit { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; background: #fff; padding: 12px; border-radius: var(--radius); }
.credit img { width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.credit h2 { font-size: 22px; color: var(--brand); margin: 0 0 4px; }
.credit p { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.credit a { color: var(--brand); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .credits { grid-template-columns: 1fr 1fr; } .credit { grid-template-columns: 160px 1fr; } .credit img { width: 160px; } }

/* QA fixes */
.brand span { white-space: nowrap; }
.foot a { padding: 10px 0; }
@media (max-width: 899px) {
  .zajem-tab { top: auto; bottom: 88px; transform: none; padding: 14px 10px; font-size: 17px; }
}

/* QA round 2 */
.ph { width: 1em; height: 1em; fill: currentColor; flex: none; }
.ctrl .ph { width: 20px; height: 20px; }
.slide-box h1, .slide-box h2 { text-wrap: balance; }
.hero-ctrl .ctrl, .dots button { flex: none; }
.tile:focus-visible, .zajem-tab:focus-visible { outline-color: var(--brand); box-shadow: 0 0 0 6px var(--accent); }

.tile img.img-stoneleigh { transform-origin: 58% 92%; transform: scale(1.6); }

.tile img.img-lis { object-position: 100% 50%; }
.map { display: grid; place-content: center; justify-items: center; gap: 4px; padding: 16px; text-align: center; }
.map-note { margin: 0; font-size: 16px; color: var(--muted); }
.map.is-loaded { display: block; padding: 0; }
.text-page { max-width: 46em; }
.text-page h2 { font-size: 26px; text-transform: uppercase; color: var(--brand); margin-top: 1.4em; }
.zajem { overscroll-behavior: contain; }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 899px) {
  .hero-ctrl { left: 8px; right: 8px; gap: 4px; }
  .dots { gap: 4px; }
  .zajem-tab { writing-mode: horizontal-tb; right: 12px; bottom: 16px; min-height: 48px; padding: 0 20px; box-shadow: 0 2px 10px rgba(8, 33, 79, .3); }
}
@media (min-width: 900px) {
  .slide-box { width: min(480px, calc(100% - 32px)); padding: 32px 36px 36px; }
  .slide-box h1, .slide-box h2 { font-size: clamp(34px, 4vw, 52px); }
  .slide:nth-child(4) img { object-position: 50% 20%; }
  .slide:nth-child(4) .slide-box { left: auto; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
  .hero-ctrl .ctrl:hover, .dots button:hover { background: rgba(8, 33, 79, .95); }
  .dots button[aria-current="true"]:hover { background: var(--accent-hover); }
}
@media (max-height: 800px) {
  .form { margin-top: 16px; padding-top: 12px; }
  .form label { margin: 8px 0 2px; }
  .form-note { margin: 12px 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .tile img { transition: none; }
}
.hero-track { touch-action: pan-y; }
.tile > span { position: relative; background: inherit; } /* scaled tile photos stay under the label */

/* Footer columns */
.foot-cols { display: grid; gap: 28px 24px; grid-template-columns: 1fr 1fr; }
.foot-firm { grid-column: 1 / -1; }
.foot-h { font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--brand); margin: 0 0 6px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { padding: 8px 0; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot-bottom { display: grid; gap: 4px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #d6d6d6; }
.foot-bottom p { margin: 0; }
@media (min-width: 900px) {
  .foot-cols { grid-template-columns: 1.3fr 1fr 1.2fr 1fr 1fr; }
  .foot-firm { grid-column: auto; }
  .foot-bottom { grid-template-columns: auto 1fr; gap: 32px; }
  .foot-bottom .foot-note { justify-self: end; text-align: right; }
}

/* Section heading accent: slanted yellow bar */
.h-sec::after { content: ""; display: block; width: 64px; height: 7px; margin-top: .32em; background: var(--accent); transform: skewX(-24deg) scaleX(1); transform-origin: left center; transition: transform 600ms var(--ease-out) 200ms; }

/* Brand strip */
.marquee { overflow: hidden; }
.marquee-track { display: flex; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.logos li { flex: none; display: grid; place-items: center; height: 72px; padding: 0 18px; }
.logos img, .logo-grid img { height: 44px; width: auto; max-width: 150px; object-fit: contain; }
.marquee-toggle { display: none; }
@media (min-width: 900px) {
  .marquee-track, .logos { flex-wrap: wrap; justify-content: center; }
  .logos[aria-hidden="true"] { display: none; }
}
@media (max-width: 899px) {
  .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee-track { width: max-content; animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
  .marquee-toggle { display: flex; margin: 12px auto 0; min-height: 44px; padding: 0 16px; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--brand); font: 600 16px/1 var(--body); cursor: pointer; }
  .marquee-toggle .ph { width: 16px; height: 16px; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Motion: hero (text only; the photo never zooms) */
.slide.is-active .slide-box > * { animation: rise 600ms var(--ease-out) both; animation-delay: 120ms; }
.slide.is-active .slide-box > :nth-child(2) { animation-delay: 190ms; }
.slide.is-active .slide-box > :nth-child(3) { animation-delay: 260ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Motion: reveal on scroll (class set by script.js, so without JS everything stays visible) */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal:not(.is-in) .h-sec::after { transform: skewX(-24deg) scaleX(0); }

/* Motion: tiles */
.tile .ph-arrow-right { transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.04); }
  .tile:hover img.img-stoneleigh { transform: scale(1.66); }
  .tile:hover .ph-arrow-right { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .slide.is-active .slide-box > * { animation: none; }
  .series-toggle .ph, .brand, .top::after, .tile img, .tile .ph-arrow-right, .logos img, .h-sec::after, .sub, .menu, .menu-link .ph-caret-down, .faq summary .ph, .card-img img { transition: none; }
  .top.is-scrolled .brand { transform: none; }
  .tile:hover img, a.card:hover .card-img img, .logos li:hover img { transform: none; }
  .tile:hover img.img-stoneleigh { transform: scale(1.6); }
  .tile:hover .ph-arrow-right { transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .logos { flex-wrap: wrap; justify-content: center; }
  .logos[aria-hidden="true"], .marquee-toggle { display: none; }
}

/* ===== Subpage components (plan/KOMPONENTY.md) ===== */
.sec-tight { padding: 40px 0; }

/* Page hero + breadcrumb */
.page-hero { position: relative; display: grid; min-height: 260px; background: var(--brand-deep); color: #fff; overflow: hidden; }
.page-hero > img, .page-hero::after, .page-hero-in { grid-area: 1 / 1; }
.page-hero > img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; background: linear-gradient(90deg, rgba(8, 33, 79, .88) 0%, rgba(8, 33, 79, .55) 55%, rgba(8, 33, 79, .25) 100%); }
.page-hero-in { position: relative; z-index: 1; align-self: end; width: 100%; padding-top: 20px; padding-bottom: 32px; }
.page-hero h1 { font-size: clamp(34px, 7vw, 65px); font-weight: 900; line-height: .98; text-transform: uppercase; color: #fff; margin: 0; text-wrap: balance; max-width: 16em; }
.page-hero h1::after { content: ""; display: block; width: 72px; height: 8px; margin-top: .25em; background: var(--accent); transform: skewX(-24deg); transform-origin: left center; }
.page-hero-lead { max-width: 36em; margin: 16px 0 0; color: #e3e9f4; font-size: 18px; }
@media (min-width: 900px) { .page-hero { min-height: 400px; } .page-hero-in { padding-bottom: 56px; } }
.crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 16px; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "—"; margin: 0 .55em; color: var(--accent); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { color: #c9d3e6; }

/* Product series cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-grey); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; border-top: 4px solid var(--accent); }
.card h3 { font-size: 26px; text-transform: uppercase; color: var(--brand); margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .card-param { margin-top: auto; padding-top: 8px; color: var(--ink); font-weight: 700; }
a.card:focus-visible { outline-color: var(--brand); box-shadow: 0 0 0 6px var(--accent); }
@media (hover: hover) and (pointer: fine) { a.card:hover .card-img img { transform: scale(1.04); } }

/* Spec table: scrolls sideways inside its own box only */
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; box-shadow: none; }
.spec { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.spec caption { text-align: left; padding: 12px 14px; font-weight: 600; color: var(--muted); }
.spec th, .spec td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.spec thead th { background: var(--brand); color: #fff; font: condensed 700 16px/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.spec thead th:first-child, .spec tbody th { position: sticky; left: 0; z-index: 1; }
.spec tbody th { background: #fff; color: var(--brand); font-weight: 600; }
.spec tbody tr:nth-child(even) > * { background: var(--bg-grey); }
.spec td { font-variant-numeric: tabular-nums; }
.spec tr:last-child > * { border-bottom: 0; }

/* Text + photo */
.split { display: grid; gap: 28px; align-items: center; }
.split-img { margin: 0; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.prose p, .prose li { max-width: 36em; }
.prose ul { padding-left: 1.2em; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split-rev .split-img { order: 2; } }

/* List with icons */
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.icon-list li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: start; }
.icon-list .ph { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: var(--radius); background: var(--accent); color: var(--brand-deep); }
.icon-list strong { font: condensed 800 21px/1.2 var(--head); text-transform: uppercase; color: var(--brand); padding-top: 2px; }
.icon-list p { margin: 0; color: var(--muted); }
@media (min-width: 700px) { .icon-list { grid-template-columns: 1fr 1fr; gap: 28px 40px; } }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: krok; display: grid; gap: 28px; }
.steps li { counter-increment: krok; position: relative; padding-top: 64px; }
.steps li::before { content: counter(krok); position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); background: var(--brand); color: #fff; font: condensed 900 26px/1 var(--head); box-shadow: 6px 6px 0 var(--accent); }
.steps h3 { font-size: 23px; text-transform: uppercase; color: var(--brand); margin: 0 0 .3em; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; } }

/* FAQ */
.faq { max-width: 52em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: 18px; color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.faq details[open] summary .ph { transform: rotate(180deg); }
.faq .faq-a { padding: 0 0 18px; color: var(--muted); max-width: 44em; }
.faq .faq-a p:last-child { margin: 0; }

/* Contact person (no photo: initials) */
.person { display: grid; grid-template-columns: 64px 1fr; gap: 2px 16px; align-items: start; max-width: 460px; padding: 20px; background: var(--bg-grey); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.person-ini { grid-row: span 3; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font: condensed 900 25px/1 var(--head); letter-spacing: .02em; }
.person-name { font: condensed 800 23px/1.15 var(--head); text-transform: uppercase; color: var(--brand); margin: 0; }
.person-role { margin: 0; color: var(--muted); font-size: 16px; }
.person-links { display: flex; flex-direction: column; margin: 0; }
.person-links .link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* Yellow CTA band */
.cta { background: var(--accent); color: var(--brand-deep); padding: 40px 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.cta h2 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; text-transform: uppercase; margin: 0; }
.cta p { margin: 6px 0 0; max-width: 36em; }
.btn-dark { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-deep); border-color: var(--brand-deep); }

/* Empty state */
.empty { max-width: 640px; margin: 0 auto; padding: 40px 20px; text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty > .ph { display: block; width: 48px; height: 48px; margin: 0 auto 12px; color: var(--brand); }
.empty h3 { font-size: 28px; text-transform: uppercase; color: var(--brand); }
.empty p { color: var(--muted); max-width: 32em; margin-left: auto; margin-right: auto; }

/* Logo grid */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logo-grid li { display: grid; }
.logo-grid li > * { display: grid; place-items: center; height: 110px; padding: 16px; background: #fff; border-radius: var(--radius); }

/* "Napište nám" form on pages */
.write { display: grid; gap: 28px; }
.write-tel { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-page { margin: 0; padding: 20px; border: 0; background: var(--bg-grey); border-radius: var(--radius); }
@media (min-width: 900px) { .write { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } .form-page { padding: 28px 32px; } }

/* ===== Visual system round 3 ===== */
@media (max-width: 899px) { .top-in { height: 64px; } .brand img { width: 60px; } .brand span { font-size: 23px; } }
/* header keeps one height: shrinking a sticky header on scroll reflows the page and makes it jump */
.zajem-tab, .marquee-toggle { border-radius: 0; }

/* Mega menu "Stroje": category + its series in one place (edit here, copy to all pages) */
.mega .series { list-style: none; margin: 0 0 4px; padding: 0 0 0 12px; }
.mega .series a { min-height: 40px; font-weight: 400; font-size: 16px; color: var(--muted); }
.mega .series a:hover { color: var(--brand); }
.mega > li > a { font-weight: 700; color: var(--brand); text-transform: uppercase; font-family: var(--head); font-stretch: 85%; letter-spacing: .02em; }
.mega > li > a { border-bottom: 2px solid var(--accent); border-radius: 0; }
.series-toggle { display: none; }
@media (max-width: 1023px) {
  .mega > li:has(> .series) { display: grid; grid-template-columns: 1fr 52px; }
  .series-toggle { display: grid; place-items: center; min-height: 48px; border: 0; border-bottom: 2px solid var(--accent); background: none; color: var(--brand); cursor: pointer; }
  .series-toggle .ph { width: 20px; height: 20px; transition: transform 200ms var(--ease); }
  .series-open > .series-toggle .ph { transform: rotate(180deg); }
  .mega > li > .series { display: none; grid-column: 1 / -1; }
  .mega > li.series-open > .series { display: grid; }
  .mega .series { grid-template-columns: 1fr 1fr; gap: 0 8px; padding-left: 4px; }
  .mega .series a { min-height: 44px; }
}
@media (min-width: 1024px) {
  /* mega spans the header width: anchored to .top (sticky), not to the Stroje item */
  .menu-list > li.has-sub:has(> .mega) { position: static; }
  .sub.mega { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 20px; left: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); right: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); top: 100%; padding: 20px 24px 24px; }
  .sub.mega::before { height: 40px; }
  .mega .series { padding-left: 0; margin-top: 4px; }
  .mega .series a { padding: 6px 8px; min-height: 36px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sub.mega { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Traktory have many series: two columns wide on desktop */
@media (min-width: 1280px) { .sub.mega { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .mega > .mega-wide { grid-column: span 2; }
  .mega-wide > .series { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
}
.mega .series a[aria-current="page"] { color: var(--brand); font-weight: 700; }

/* Form consent */
.form-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin: 16px 0 0; font-size: 16px; }
.form .form-check label { margin: 0; font-weight: 400; }
.form-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--brand); }

/* Big series cards (category page: quick pick of a series) */
.cards-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.cards-lg .card h3 { font-size: clamp(28px, 3vw, 36px); }
.card-img-fit { background: var(--bg-grey); }
.card-img-fit img { object-fit: contain; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: condensed 700 18px/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--brand); }
.card-more .ph { transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.card:hover .card-more .ph { transform: translateX(6px); } }

/* Series page */
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.keynums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--brand); color: #fff; }
.keynums li { padding: 20px var(--gut) 20px 20px; border-left: 4px solid var(--accent); }
.keynums strong { display: block; font: condensed 900 clamp(30px, 4vw, 46px)/1 var(--head); font-variant-numeric: tabular-nums; }
.keynums span { display: block; margin-top: 6px; font-size: 16px; color: #c9d3e6; }
@media (min-width: 900px) { .keynums { grid-template-columns: repeat(4, 1fr); } }
.rada { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.rada-main > * + * { margin-top: 56px; }
.rada-main h2 { font-size: clamp(28px, 3.6vw, 40px); text-transform: uppercase; color: var(--brand); }
@media (min-width: 1100px) {
  .rada { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
  .rada-aside { position: sticky; top: 96px; }
}
.rada-aside .person { max-width: none; }
.rada-aside .btn { margin-top: 12px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
/* galerie řady pod hlavní fotkou v Přehledu; 4 fotky v jedné řadě, ať nezůstane díra */
.r2-gal { margin: 8px 0 0; }
@media (min-width: 900px) { .r2-gal:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }

/* Mobile call bar on series pages: replaces the floating "Mám zájem" tab */
.callbar { display: none; }
@media (max-width: 1099px) {
  .has-callbar .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .has-callbar .zajem-tab { display: none; }
  .has-callbar .foot { padding-bottom: 120px; }
  .callbar .btn { padding: 10px 12px; font-size: 18px; }
}
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-page .form-row label { margin-top: 0; }
.aside-note { margin: 12px 0 0; font-size: 16px; color: var(--muted); }
@media (min-width: 900px) { .page-hero-rada { min-height: 520px; } }

/* ===== Úvod 2. 11. (plan/UVOD_SPEC.md): parallel cuts, yellow band, type as graphics ===== */
:root { --cut: clamp(24px, 3.4vw, 56px); }

/* Hero: slanted bottom edge with an 8px yellow band (clip-path never animates) */
.hero { background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.hero-track { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) - 8px), 0 calc(100% - 8px)); }
@media (max-width: 899px) {
  .slide-box { padding-bottom: 104px; }
  .hero-ctrl { bottom: 48px; }
}

/* Brand strip: NH specialisation left, 12 colour logos right */
.brands { background: #fff; padding: 28px 0 calc(var(--cut) + 40px); }
.brands-in { display: grid; justify-items: center; text-align: center; }
.brands-kicker { font: condensed 700 15px/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.brands-spec img { width: 200px; height: auto; margin: 0 auto; }
.brands-note { font-size: 17px; color: var(--muted); margin: 12px 0 0; }
.brands-bar { display: none; }
.brands-rest { width: 100%; min-width: 0; margin-top: 24px; }
.brands-h { font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.logos li { height: 64px; padding: 0 14px; }
.logos img { height: 34px; width: auto; max-width: 112px; object-fit: contain; }
.logos .lg-tehnos { height: 20px; max-width: 128px; }
.logos .lg-amazone { height: 20px; max-width: 120px; }
.logos .lg-provitis { height: 50px; }
.logos .lg-tall { height: 38px; }
.lg-blend { mix-blend-mode: multiply; }
.logo-grid img { height: 44px; width: auto; max-width: 150px; object-fit: contain; }
@media (min-width: 900px) {
  .brands { padding: 40px 0 calc(var(--cut) + 56px); }
  .brands-in { grid-template-columns: 280px 24px 1fr; gap: 0 40px; align-items: center; justify-items: stretch; text-align: left; }
  .brands-spec img { width: 240px; margin: 0; }
  .brands-bar { display: block; width: 8px; height: 96px; background: var(--accent); transform: skewX(-24deg); justify-self: center; }
  .brands-rest { margin: 0; }
  .brands-h { font-size: 22px; margin: 0 0 16px; }
  .marquee-track { display: block; }
  .marquee-track .logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 24px; }
  .marquee-track .logos[aria-hidden="true"] { display: none; }
  .logos li { height: 72px; padding: 0; }
  .logos img { height: 40px; max-width: 132px; }
  .logos .lg-tehnos { height: 24px; max-width: 150px; }
  .logos .lg-amazone { height: 24px; max-width: 140px; }
  .logos .lg-provitis { height: 60px; }
  .logos .lg-tall { height: 46px; }
  .marquee-track .logos li { min-width: 0; }
  .marquee-track .logos img { max-width: 100%; }
}
@media (min-width: 900px) and (max-width: 1199px) { .marquee-track .logos { grid-template-columns: repeat(4, 1fr); } }
@media (hover: hover) and (pointer: fine) {
  .logos img { transition: transform 200ms var(--ease-out); }
  .logos li:hover img { transform: translateY(-2px); }
}

/* TECHNIKA: deep blue band, tiles overlap its lower edge */
.tech-band { background: var(--brand-deep); color: #fff; margin-top: calc(-1 * var(--cut)); padding: calc(var(--cut) + 40px) 0 144px; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.tech-head { display: grid; gap: 24px 48px; }
.h-tech { font-size: clamp(56px, 17vw, 80px); font-stretch: 62%; line-height: .88; color: #fff; margin: 0 0 20px; }
.h-tech::after { width: 120px; height: 10px; }
.tech-lead { font-size: 19px; color: #e3e9f4; max-width: 36em; margin: 0; }
.tech-head .btn { width: 100%; }
.tech-tiles { display: flow-root; background: var(--bg-grey); padding: 0 0 48px; }
.tiles-bento { position: relative; margin-top: -104px; grid-template-columns: 1fr 1fr; grid-template-rows: 180px repeat(3, 128px) 104px; gap: 10px; }
.tiles-bento li:first-child, .tiles-bento li:last-child { grid-column: span 2; }
.tiles-bento li { min-height: 0; }
.tiles-bento .tile img { flex: 1; min-height: 0; height: 100%; aspect-ratio: auto; }
.tiles-bento .tile > span { font: condensed 700 17px/1.1 var(--head); letter-spacing: .02em; padding: 10px 12px; min-height: 44px; }
.tile-name small { display: block; margin-top: 2px; font: 600 16px/1.2 var(--body); color: var(--muted); text-transform: none; letter-spacing: 0; }
.tile img.img-t6 { object-position: 46% 60%; }
.tiles-bento .tile-plain { background: var(--accent); color: var(--brand-deep); }
.tiles-bento .tile-plain > span { border-top: 0; }
.tiles-bento .tile-plain .tile-q { display: block; flex: 1; padding: 16px 12px 0; font: condensed 900 28px/1 var(--head); text-transform: uppercase; }
@media (max-width: 599px) { .tiles-bento .tile:not(.tile-plain) .ph-arrow-right { display: none; } }
@media (max-width: 380px) { .tiles-bento .tile > span { font-size: 16px; } }
@media (min-width: 960px) {
  .tech-band { padding: calc(var(--cut) + 72px) 0 224px; }
  .tech-head { grid-template-columns: 1fr auto; align-items: end; }
  .h-tech { font-size: clamp(56px, 10vw, 152px); }
  .tech-head .btn { width: auto; }
  .tech-tiles { padding-bottom: 96px; }
  .tiles-bento { margin-top: -160px; grid-template-columns: repeat(4, 1fr); grid-template-rows: none; grid-auto-rows: 220px; gap: 16px; }
  .tiles-bento li:first-child { grid-row: span 2; }
  .tiles-bento .tile > span { font-size: 22px; padding: 14px 16px; min-height: 56px; }
  .tiles-bento .tile-big > span { font-weight: 900; font-size: 32px; line-height: 1; padding: 14px 20px; }
  .tiles-bento .tile-plain .tile-q { font-size: 32px; padding: 24px 20px 0; }
}
.js-reveal .tiles-bento .tile { opacity: 0; transform: translateY(16px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
.js-reveal .tiles-bento.is-in .tile { opacity: 1; transform: none; }

/* Services: slanted photo strip, card over its edge, 4 concrete cells */
.svc2-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 80% 50%; margin-top: calc(-1 * var(--cut)); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.svc2-card { position: relative; width: 100%; margin-top: -64px; background: var(--brand-deep); color: #e3e9f4; padding: 24px; }
.svc2-card .h-sec { color: #fff; font-size: clamp(30px, 8vw, 36px); text-wrap: balance; }
.svc2-card p { font-size: 19px; margin: 0; }
.svc2-grid { display: grid; gap: 12px; margin: 24px 0 0; padding-bottom: 64px; }
.svc2-cell { display: flex; flex-direction: column; gap: 12px; padding: 24px 20px; }
.svc2-cell h3 { font-size: clamp(26px, 2.4vw, 32px); text-transform: uppercase; color: var(--brand); margin: 0; }
.svc2-cell p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 32em; margin: 0; }
.svc2-cell .link { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
.svc2-a { border: 1px solid var(--line); border-left: 6px solid var(--accent); order: 1; }
.svc2-b { background: var(--bg-grey); order: 3; }
.svc2-c { background: var(--brand); order: 2; }
.svc2-d { border: 1px solid var(--line); order: 4; }
.svc2-c h3, .svc2-c .link { color: #fff; }
.svc2-c p { color: #e3e9f4; }
.svc2-c .svc2-num { display: flex; flex-direction: column; gap: 4px; color: #c9d3e6; }
.svc2-num span { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; }
.svc2-num strong { font: condensed 900 clamp(88px, 9vw, 136px)/.85 var(--head); color: var(--accent); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .svc2-photo { height: clamp(300px, 40vw, 560px); aspect-ratio: auto; }
  .svc2-card { width: min(640px, 100%); margin-top: -136px; padding: 40px 44px; }
  .svc2-card .h-sec { font-size: clamp(36px, 4.4vw, 60px); }
  .svc2-grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-bottom: 96px; }
  .svc2-cell { padding: 32px; order: 0; }
}

/* About: photo slants into blue, one type plate */
.about2 { background: var(--brand); color: #fff; }
.about2-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.about2-body { position: relative; overflow: hidden; padding: 40px 16px 48px; }
.about2-body > :not(.about2-ghost) { position: relative; z-index: 1; }
.about2-ghost { position: absolute; right: 16px; top: 16px; z-index: 0; font: condensed 900 120px/.8 var(--head); color: var(--brand-deep); pointer-events: none; user-select: none; }
.about2 .h-sec { color: #fff; }
.about2-claim { font: condensed 900 clamp(32px, 3.4vw, 44px)/1.05 var(--head); color: #fff; text-wrap: balance; margin: 0 0 20px; }
.about2-body > p:not(.about2-claim) { font-size: 19px; color: #e3e9f4; max-width: 34em; }
.about2-body .btn { width: 100%; }
.plate { background: var(--bg-grey); color: var(--brand); padding: 20px; margin: 32px 0 24px; max-width: 520px; border: 2px solid #fff; outline: 2px solid var(--bg-grey); }
.plate > i { position: absolute; width: 10px; height: 10px; border: 2px solid var(--line); border-radius: 50%; }
.plate > i:nth-child(1) { top: 10px; left: 10px; }
.plate > i:nth-child(2) { top: 10px; right: 10px; }
.plate > i:nth-child(3) { bottom: 10px; left: 10px; }
.plate > i:nth-child(4) { bottom: 10px; right: 10px; }
.plate-h { font: condensed 900 22px/1.1 var(--head); text-transform: uppercase; margin: 0; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.plate dl { display: grid; grid-template-columns: 112px 1fr; margin: 0; }
.plate dt, .plate dd { padding: 8px 0; border-bottom: 1px solid var(--line); }
.plate dt:last-of-type, .plate dd:last-of-type { border-bottom: 0; }
.plate dt { font: condensed 600 13px/1.4 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; align-items: center; }
.plate dd { margin: 0; font: condensed 800 18px/1.2 var(--head); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .about2 { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
  .about2-photo { height: 100%; aspect-ratio: auto; clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
  .about2-body { padding: 88px var(--gut) 88px 64px; }
  .about2-body > :not(.about2-ghost) { max-width: 600px; }
  .about2-ghost { right: var(--gut); top: 24px; font-size: clamp(160px, 16vw, 260px); }
  .about2-body .btn { width: auto; }
  .plate { padding: 24px 28px; }
  .plate dl { grid-template-columns: 150px 1fr; }
  .plate dd { font-size: 20px; }
}
.js-reveal .plate.reveal { transition-duration: 500ms; transition-delay: 120ms; }

/* Contact: one section */
.kontakt .write { grid-template-columns: minmax(0, 1fr); }
.kontakt-a > p, .kontakt-b p { margin: 0 0 8px; }
.tel-big { display: inline-flex; align-items: center; min-height: 44px; font: condensed 900 40px/1 var(--head); color: var(--brand); text-decoration: none; margin: 0 0 8px; }
.tel-big:hover, .tel-big:focus-visible { text-decoration: underline 4px var(--accent); text-underline-offset: 6px; }
.kontakt-who { font-size: 17px; }
.kontakt .link { display: inline-flex; align-items: center; min-height: 44px; }
.kontakt address { font-style: normal; font-size: 19px; margin-bottom: 8px; }
.kontakt .form-page { background: #fff; border-top: 6px solid var(--accent); padding: 20px 16px; }
.kontakt .form-page h3 { margin-bottom: .3em; }
.kontakt-lead { color: var(--muted); margin: 0 0 8px; }
.kontakt .map { min-height: 240px; margin-top: 12px; }
@media (min-width: 900px) {
  .kontakt .write { grid-template-columns: 5fr 7fr; gap: 0 56px; }
  .kontakt-a { grid-column: 1; grid-row: 1; }
  .kontakt-b { grid-column: 1; grid-row: 2; padding-top: 24px; }
  .kontakt .form-page { grid-column: 2; grid-row: 1 / span 2; padding: 32px; }
  .tel-big { font-size: clamp(40px, 4.6vw, 64px); }
}

.menu-link { white-space: nowrap; }

/* Footer: slanted yellow bar on the top edge */
.foot { position: relative; }
.foot::before { content: ""; position: absolute; top: 0; left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); width: 120px; height: 8px; background: var(--accent); transform: skewX(-24deg); }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .tiles-bento .tile, .js-reveal .plate.reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== QA 2. 11. odpoledne: díry, Provitis, mobilní štítek, dotykové plochy ===== */
/* Provitis file is only the dot mark: the name is set beside it */
.lg-word { display: inline-flex; align-items: center; gap: 8px; font: condensed 800 22px/1 var(--head); color: #24323a; letter-spacing: .01em; white-space: nowrap; }
.logos .lg-word .lg-provitis { height: 40px; width: auto; }
@media (min-width: 900px) {
  .brands { padding-bottom: calc(var(--cut) + 24px); }
  .logos .lg-word .lg-provitis { height: 44px; }
}
/* Mobile: the marquee pause is a small icon button at the right, its label stays for screen readers */
@media (max-width: 899px) {
  .marquee-toggle { margin: 8px 0 0 auto; width: 44px; padding: 0; justify-content: center; }
  .marquee-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* "Jiný stroj" tile: one line of text under the question */
.tiles-bento .tile-plain .tile-q small { display: block; margin-top: 8px; max-width: 30em; font: 600 16px/1.35 var(--body); text-transform: none; letter-spacing: 0; }
.tiles-bento .tile-plain > span:last-child { font-weight: 900; text-decoration: underline 3px; text-underline-offset: 5px; }
@media (min-width: 960px) { .tiles-bento .tile-plain .tile-q small { font-size: 18px; margin-top: 12px; } }
@media (max-width: 959px) { .tiles-bento li:last-child { min-height: 150px; } .tiles-bento { grid-template-rows: 180px repeat(3, 128px) auto; } }

/* Services: one cell language (grey, yellow top), the parts cell is the single blue accent */
.svc2-a, .svc2-b, .svc2-d { background: var(--bg-grey); border: 0; border-top: 6px solid var(--accent); }
@media (min-width: 900px) {
  .svc2-card { width: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; }
  .svc2-card .h-sec { margin: 0; }
  .svc2-grid { grid-template-columns: repeat(3, 1fr); }
  .svc2-c { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 56px; align-items: center; }
  .svc2-c-text { display: flex; flex-direction: column; gap: 12px; }
}

/* About: crop the tractor, the ghost year sits above the claim, not behind it */
.about2-photo { object-position: 40% 60%; }
@media (min-width: 900px) {
  .about2-ghost { top: 20px; font-size: clamp(120px, 10vw, 168px); }
  .about2-body { padding-top: 112px; }
}

/* Touch targets: footer and menu links at least 44px, consent checkbox 24px */
.foot li a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.menu-link { min-height: 44px; }
.form-check input { width: 24px; height: 24px; }
.form-check label { min-height: 44px; display: block; }

/* Mobile: the floating tab steps aside while another call to action is on screen */
@media (max-width: 899px) {
  .zajem-tab { transition: opacity 200ms var(--ease-out), visibility 0s linear 200ms; }
  .zajem-tab.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
  .zajem-tab:not(.is-hidden) { transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) { .zajem-tab { transition: none; } }

/* ===== Stránka řady 2 + kategorie (plan/KOMPONENTY.md: „Stránka řady 2“, „Kategorie“) ===== */
:root {
  --r2-l: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); /* left text edge, same as .wrap */
  --r2-bar: 52px; /* section bar height below 1024px */
  --rail: calc(312px + max(0px, (100vw - var(--wrap)) / 2));
}
html:has(.r2) { scroll-padding-top: calc(64px + var(--r2-bar) + 16px); }
@media (min-width: 900px) { html:has(.r2) { scroll-padding-top: calc(68px + var(--r2-bar) + 16px); } }
@media (min-width: 1024px) { html:has(.r2) { scroll-padding-top: 92px; } }
.kicker { font: condensed 700 15px/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.sec-grey .kicker { color: #485365; }

/* Hero: photo + blue box, slanted bottom edge with the yellow band (as on the home page; the photo never zooms) */
.r2-hero { background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.r2-hero-in { display: flex; flex-direction: column; background: var(--brand); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) - 8px), 0 calc(100% - 8px)); }
.r2-hero-in > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.r2-hero-box { color: #fff; padding: 16px var(--gut) calc(var(--cut) + 44px); }
.r2-hero .crumbs ol { margin-bottom: 4px; }
.r2-hero h1 { font-size: clamp(52px, 15vw, 112px); font-stretch: 62%; line-height: .86; text-transform: uppercase; color: #fff; margin: 0; text-wrap: balance; }
.r2-hero h1 span { display: block; font-size: max(22px, .3em); font-stretch: 72%; line-height: 1; letter-spacing: .04em; color: var(--accent); margin-bottom: .16em; }
.r2-hero h1.h1-long { font-size: clamp(40px, 9vw, 72px); font-stretch: 72%; line-height: .92; }
.r2-claim { font-size: 19px; line-height: 1.45; color: #e3e9f4; margin: 16px 0 0; max-width: 30em; }
.r2-hero .hero-btns { margin-top: 24px; }
@media (max-width: 599px) { .r2-hero .hero-btns .btn { flex: 1 1 auto; } }
@media (min-width: 900px) {
  .r2-hero-in { display: grid; min-height: clamp(460px, calc(100svh - 180px), 1000px); }
  .r2-hero-in > img, .r2-hero-box { grid-area: 1 / 1; }
  .r2-hero-in > img { height: 100%; aspect-ratio: auto; }
  .r2-hero-box { align-self: end; justify-self: start; width: min(580px, calc(100% - 2 * var(--gut))); margin: 0 0 calc(var(--cut) + 112px) var(--r2-l); padding: 24px 40px 36px; background: rgba(8, 33, 79, .92); }
}
.r2-hero-box > * { animation: rise 600ms var(--ease-out) both; animation-delay: 80ms; }
.r2-hero-box > :nth-child(2) { animation-delay: 140ms; }
.r2-hero-box > :nth-child(3) { animation-delay: 200ms; }
.r2-hero-box > :nth-child(4) { animation-delay: 260ms; }

/* Key features card over the hero edge */
.r2-keys-wrap { position: relative; z-index: 2; margin-top: -16px; }
.r2-keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); }
.r2-keys li { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 20px; border-top: 1px solid var(--line); }
.r2-keys li:nth-child(even) { border-left: 1px solid var(--line); }
.r2-keys li:nth-child(-n+2) { border-top: 0; }
.r2-keys li:last-child:nth-child(odd) { grid-column: span 2; }
.r2-keys strong { font: condensed 900 clamp(36px, 4.4vw, 62px)/.92 var(--head); color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.r2-keys small { font-size: .46em; font-weight: 800; margin-left: .14em; letter-spacing: 0; }
.r2-keys .ph { width: 40px; height: 40px; color: var(--brand); margin: 2px 0 4px; }
.r2-keys span { font-size: 16px; line-height: 1.35; color: var(--muted); }
@media (min-width: 900px) {
  .r2-keys-wrap { margin-top: -72px; }
  .r2-keys { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .r2-keys li, .r2-keys li:nth-child(-n+2) { padding: 28px 28px 26px; border-top: 0; border-left: 1px solid var(--line); }
  .r2-keys li:first-child { border-left: 0; }
  .r2-keys li:last-child:nth-child(odd) { grid-column: auto; }
  .r2-keys .ph { width: 50px; height: 50px; margin: 0 0 2px; }
}

/* Layout: content + right rail (>= 1024px); below that the rail is a sticky section bar */
.r2-main { min-width: 0; }
.r2-sec { padding: 56px 0; }
.r2-in { padding-left: var(--r2-l); padding-right: var(--r2-l); }
@media (min-width: 900px) { .r2-sec { padding: 88px 0; } }
.r2-rail { position: sticky; top: 64px; z-index: 35; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .r2-rail { top: 68px; } }
.r2-rail-name, .r2-act { display: none; }
.r2-nav ul { position: relative; list-style: none; margin: 0; padding: 0 calc(var(--r2-l) - 14px); display: flex; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.r2-nav ul::-webkit-scrollbar { display: none; }
.r2-nav li { flex: none; scroll-snap-align: start; }
.r2-nav a { position: relative; display: flex; align-items: center; min-height: var(--r2-bar); padding: 0 14px; font: condensed 700 17px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 150ms ease-out; }
.r2-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform 220ms var(--ease-out); }
.r2-nav a:hover, .r2-nav a[aria-current] { color: var(--brand); }
.r2-nav a[aria-current]::after { transform: scaleX(1); }
.r2-nav a:focus-visible { outline-offset: -3px; box-shadow: none; }
@media (min-width: 1024px) {
  .r2 { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); }
  .r2-main { grid-column: 1; grid-row: 1; border-right: 1px solid var(--line); }
  .r2-in { padding-right: 56px; }
  .r2-rail { grid-column: 2; grid-row: 1; align-self: start; top: 68px; max-height: calc(100vh - 68px); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 24px; padding: 40px calc(28px + max(0px, (100vw - var(--wrap)) / 2)) 28px 28px; border-bottom: 0; }
  .r2-rail-name { display: block; margin: 0; font: condensed 900 30px/.95 var(--head); text-transform: uppercase; color: var(--brand); }
  .r2-nav ul { display: block; padding: 0; overflow: visible; border-left: 1px solid var(--line); }
  .r2-nav a { min-height: 42px; padding: 0 0 0 20px; font-size: 18px; }
  .r2-nav a::after { left: -3px; right: auto; top: 9px; bottom: 9px; width: 5px; height: auto; transform: scaleY(0); transform-origin: center; }
  .r2-nav a[aria-current] { font-weight: 900; }
  .r2-nav a[aria-current]::after { transform: scaleY(1); }
  .r2-act { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
  .r2-act .btn { min-height: 48px; padding: 8px 14px; font-size: 17px; }
  .r2-act .btn .ph { width: 18px; height: 18px; }
  .r2-where { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start; color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
  .r2-where .ph { width: 20px; height: 20px; }
  .r2-hours { margin: -6px 0 0; font-size: 16px; color: var(--muted); }
}
@media (min-width: 1024px) and (max-height: 760px) { .r2-rail { gap: 16px; padding-top: 24px; } .r2-nav a { min-height: 38px; } }

/* Mobile/tablet: call bar Zavolat | Poptat; the "Mám zájem" tab is hidden on series pages (rail and bar replace it) */
.has-r2 .zajem-tab { display: none; }
@media (max-width: 1023px) {
  .has-r2 .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .has-r2 .callbar .btn { padding: 10px 12px; font-size: 18px; }
  .has-r2 .foot { padding-bottom: 120px; }
}
@media (min-width: 600px) and (max-width: 1023px) { .has-r2 .callbar { grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: end; padding-right: var(--gut); } }

/* Overview: text, checks, wide photo with a slanted top edge */
.r2-h { max-width: 17em; text-wrap: balance; }
.r2-intro { display: grid; gap: 24px 56px; margin-top: 28px; }
.r2-lead { margin: 0; max-width: 36em; font-size: 20px; line-height: 1.6; color: var(--ink); }
.r2-checks, .rcard-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.r2-checks li, .rcard-pts li, .feat-text li { position: relative; padding-left: 30px; }
.r2-checks li { font-weight: 600; color: var(--brand-deep); font-size: 18px; line-height: 1.4; }
.r2-checks li::before, .rcard-pts li::before, .feat-text li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 16px; height: 6px; background: var(--accent); transform: skewX(-24deg); }
@media (min-width: 900px) { .r2-intro { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.r2-wide { margin: 48px 0 0; }
.r2-wide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
@media (min-width: 900px) { .r2-wide { margin-top: 64px; } .r2-wide img { aspect-ratio: 21 / 9; } }
.r2-sec:has(> .r2-wide:last-child) { padding-bottom: 0; }

/* Features: <article class="feat-item"> list; script.js turns it into tabs (vertical >= 1024px, horizontal strip + swipe below) */
.feat { display: grid; gap: 20px; margin-top: 32px; }
.feat-item { background: #fff; }
.feat-item > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feat-text { padding: 20px 20px 24px; }
.feat-text h3 { font-size: clamp(26px, 2.6vw, 34px); text-transform: uppercase; color: var(--brand); margin: 0 0 10px; text-wrap: balance; }
.feat-text p { max-width: 40em; }
.feat-text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.feat-text li { color: var(--ink); line-height: 1.5; }
.feat.is-tabs { gap: 0; }
.feat-tabs { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--r2-l)) 16px; padding: 2px var(--r2-l) 4px; scroll-padding: 0 var(--r2-l); }
.feat-tabs::-webkit-scrollbar { display: none; }
.feat-tab { flex: none; display: flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--line); border-radius: 0; background: #fff; color: var(--brand); font: condensed 700 17px/1.1 var(--head); text-transform: uppercase; letter-spacing: .04em; text-align: left; cursor: pointer; transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out; }
.feat-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.feat-tab:focus-visible { outline-offset: 0; }
.feat-panels { display: grid; touch-action: pan-y; }
.feat-panels > .feat-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease-out), visibility 0s linear 200ms; }
.feat-panels > .feat-item.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.feat-panels > .feat-item:focus-visible { outline-offset: -3px; box-shadow: none; }
.feat.is-kb .feat-panels > .feat-item { transition: none; } /* keyboard switching is instant */
.feat-pager { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
@media (min-width: 1280px) {
  .feat.is-tabs { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
  .feat-tabs { flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; }
  .feat-tab { min-height: 64px; padding: 12px 20px 12px 18px; border: 0; border-left: 6px solid transparent; background: transparent; color: #485365; font-size: 19px; }
  .feat-tab:hover { color: var(--brand); background: rgba(255, 255, 255, .55); }
  .feat-tab[aria-selected="true"] { background: #fff; color: var(--brand); border-left-color: var(--accent); }
  .feat-pager { display: none; }
  .feat-text { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 40px; padding: 28px 32px 32px; }
  .feat-text > * { grid-column: 1; }
  .feat-text h3 { grid-column: 1 / -1; }
  .feat-text ul { grid-column: 2; grid-row: 2 / span 4; }
}

/* Models: cards with two key parameters and an inquiry link */
.r2-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: condensed 700 18px/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--brand); text-decoration: underline 2px var(--accent); text-underline-offset: 6px; }
.r2-more .ph { transition: transform 200ms var(--ease-out); }
.r2-more:hover .ph { transform: translateX(4px); }
.models-h { font-size: clamp(24px, 2.4vw, 30px); text-transform: uppercase; color: var(--brand); margin: 40px 0 0; padding-left: 14px; border-left: 6px solid var(--accent); }
.models { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.model { display: flex; flex-direction: column; background: var(--bg-grey); padding-bottom: 18px; }
.model-img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 4px solid var(--accent); }
.model-img img { width: 100%; height: 100%; object-fit: cover; }
.model-img-fit { background: #fff; }
.model-img-fit img { object-fit: contain; padding: 8px; }
.model h3, .model h4 { font: condensed 900 30px/1 var(--head); text-transform: uppercase; color: var(--brand); margin: 18px 20px 14px; }
.model dl { display: grid; gap: 12px; margin: 0 20px; }
.model dt { font: condensed 600 14px/1.3 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.model dd { margin: 2px 0 0; font: condensed 800 21px/1.2 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.model-cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin: auto 20px 0; padding-top: 12px; font: condensed 700 17px/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--brand); text-decoration: none; }
.model-cta:hover { text-decoration: underline 3px var(--accent); text-underline-offset: 5px; }
.model-cta .ph { transition: transform 200ms var(--ease-out); }
.model-cta:hover .ph { transform: translateX(4px); }

/* Specifications: collapsible groups, models in columns; script.js adds a model picker (< 700px) and "Rozbalit vše" */
.specs { margin-top: 28px; }
.specs-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 24px; margin-bottom: 16px; }
.specs-pick { display: grid; gap: 4px; flex: 1 1 200px; max-width: 360px; font-weight: 600; }
.specs-pick select { min-height: 50px; padding: 0 12px; border: 1px solid #8a94a6; border-radius: 0; background: #fff; color: var(--ink); font: 600 17px/1.2 var(--body); }
.specs-pick select:focus-visible { outline: 3px solid var(--brand); outline-offset: 0; box-shadow: none; }
.specs-all { margin-left: auto; min-height: 48px; padding: 0 18px; border: 2px solid var(--brand); border-radius: 0; background: transparent; color: var(--brand); font: condensed 700 17px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; transition: background-color 150ms ease-out, color 150ms ease-out; }
.specs-all:hover { background: var(--brand); color: #fff; }
@media (min-width: 700px) { .specs-pick { display: none; } }
.spec-group { background: #fff; }
.spec-group + .spec-group { margin-top: 8px; }
.spec-group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 16px 12px 20px; cursor: pointer; font: condensed 800 clamp(20px, 2vw, 24px)/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; color: var(--brand); }
.spec-group summary::-webkit-details-marker { display: none; }
.spec-group summary:focus-visible { outline-offset: -3px; box-shadow: none; }
.spec-sign { position: relative; flex: none; width: 36px; height: 36px; background: var(--brand); }
.spec-sign::before, .spec-sign::after { content: ""; position: absolute; left: 10px; right: 10px; top: 17px; height: 2px; background: #fff; }
.spec-sign::after { transform: rotate(90deg); transition: transform 200ms var(--ease-out); }
.spec-group[open] .spec-sign { background: var(--accent); }
.spec-group[open] .spec-sign::before, .spec-group[open] .spec-sign::after { background: var(--brand-deep); }
.spec-group[open] .spec-sign::after { transform: rotate(0deg); }
.spec-group .table-scroll { border: 0; border-top: 1px solid var(--line); }
.specs .spec { table-layout: fixed; min-width: calc(200px + var(--cols, 3) * 132px); }
.specs .spec thead th:first-child { width: 32%; }
.specs .spec th, .specs .spec td { white-space: normal; vertical-align: top; }
.specs .spec thead th { vertical-align: bottom; }
.specs-note { margin: 16px 0 0; max-width: 52em; font-size: 16px; color: var(--muted); }
@media (max-width: 699px) {
  .specs.is-pick .is-off { display: none; }
  .specs.is-pick .spec { min-width: 0; }
  .specs.is-pick .spec thead th:first-child { width: 52%; }
  .specs-all { margin-left: 0; }
}

/* Documentation rows (links to the manufacturer open in a new tab) */
.docs { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.doc { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.doc-ic { width: 48px; height: 48px; padding: 11px; background: var(--bg-grey); color: var(--brand); }
.doc-txt h3 { font-size: clamp(22px, 2.2vw, 26px); text-transform: uppercase; color: var(--brand); margin: 0 0 4px; }
.doc-txt p { margin: 0; color: var(--muted); }
.doc .btn { grid-column: 1 / -1; justify-self: start; white-space: normal; text-align: left; }
.doc .btn .ph { width: 18px; height: 18px; }
@media (min-width: 700px) {
  .doc { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0 24px; }
  .doc-ic { width: 56px; height: 56px; padding: 13px; }
  .doc .btn { grid-column: auto; white-space: nowrap; }
}

/* Deep blue band with a slanted top edge and link cells (series: service and parts; category: why us) */
.band-cut { background: var(--brand-deep); color: #fff; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding: calc(var(--cut) + 44px) 0 56px; }
.band-cut .h-sec { color: #fff; max-width: 18em; text-wrap: balance; }
.band-cut-lead { max-width: 38em; margin: 0 0 28px; font-size: 19px; color: #e3e9f4; }
.band-cells { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band-cells a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; align-items: center; height: 100%; min-height: 92px; padding: 18px 20px; background: var(--brand); color: #fff; text-decoration: none; transition: box-shadow 200ms var(--ease-out); }
.band-cells a:hover { box-shadow: inset 0 -5px var(--accent); }
.band-cells .ph { grid-row: span 2; width: 48px; height: 48px; padding: 11px; background: var(--accent); color: var(--brand-deep); }
.band-cells strong { font: condensed 800 24px/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.band-cells span { font-size: 16px; line-height: 1.35; color: #c9d3e6; }
@media (min-width: 900px) {
  .band-cut { padding: calc(var(--cut) + 72px) 0 88px; }
  .band-cells { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
  .band-cells a { min-height: 112px; padding: 22px 24px; }
}

/* Series cards (category page, "Další řady"): the title link covers the card, the inquiry button stays separate */
.rcards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.rcard { position: relative; display: flex; flex-direction: column; background: var(--bg-grey); }
.sec-grey .rcard:not(.rcard-all):not(.rcard-ask) { background: #fff; }
.r2 .rcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.rcard-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-grey); }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.rcard-fit { background: #fff; }
.rcard-fit img { object-fit: contain; padding: 12px; }
.rcard-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; border-top: 4px solid var(--accent); }
.rcard h3 { font-size: clamp(30px, 2.8vw, 38px); text-transform: uppercase; color: var(--brand); margin: 0; }
.rcard-link { color: inherit; text-decoration: none; }
.rcard-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rcard-link:focus-visible { outline: 0; box-shadow: none; }
.rcard:has(.rcard-link:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; box-shadow: 0 0 0 6px var(--accent); }
.rcard-body > p { margin: 0; color: var(--muted); }
.rcard-pow strong { font: condensed 900 28px/1 var(--head); color: var(--brand-deep); margin-right: 4px; font-variant-numeric: tabular-nums; }
.rcard-pts li { font-size: 16px; line-height: 1.45; color: var(--ink); }
.rcard .card-more { margin-top: auto; }
.rcard-act { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rcard-act .card-more { margin: 0; }
.rcard-act .btn { position: relative; z-index: 2; min-height: 44px; padding: 8px 18px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .rcard:hover .rcard-img img { transform: scale(1.04); }
  .rcard:hover .card-more .ph { transform: translateX(6px); }
}
.rcard-all { background: var(--brand); }
.rcard-all h3, .rcard-all .card-more { color: #fff; }
.rcard-all .rcard-body > p { color: #e3e9f4; }
.rcard-all .rcard-body { justify-content: flex-end; min-height: 220px; }
.rcard-all .card-more { margin-top: 0; }
.rcard-ask { background: var(--accent); }
.rcard-ask .rcard-body { border-top: 0; justify-content: flex-end; min-height: 260px; }
.rcard-ask h3 { color: var(--brand-deep); }
.rcard-ask .rcard-body > p { color: var(--brand-deep); }
.rcard-ask .rcard-act { margin-top: 8px; justify-content: flex-start; }

/* Category page */
.page-hero-cut { background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.page-hero-cut > img, .page-hero-cut::after { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) - 8px), 0 calc(100% - 8px)); }
.page-hero-cut::after { background: linear-gradient(90deg, rgba(8, 33, 79, .9) 0%, rgba(8, 33, 79, .6) 55%, rgba(8, 33, 79, .25) 100%); }
.page-hero-cut .page-hero-in { padding-bottom: calc(var(--cut) + 36px); }
@media (min-width: 900px) { .page-hero-cut { min-height: 460px; } .page-hero-cut .page-hero-in { padding-bottom: calc(var(--cut) + 64px); } }
.cat-intro .lead { margin: 0; max-width: 40em; font-size: 20px; color: var(--ink); }
.cat-group { margin: 56px 0 0; padding-left: 16px; border-left: 8px solid var(--accent); font-size: clamp(28px, 3vw, 38px); text-transform: uppercase; color: var(--brand); }
.cat-group + .rcards { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  .r2-hero-box > * { animation: none; }
  .r2-nav a::after, .feat-panels > .feat-item, .spec-sign::after, .rcard-img img, .r2-more .ph, .model-cta .ph, .band-cells a { transition: none; }
  .rcard:hover .rcard-img img, .rcard:hover .card-more .ph { transform: none; }
}

/* ===== Kontrola 2. 11., kolo 1 ===== */
/* Rail at 1024–1279px: narrower column so the content keeps its width */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --rail: 248px; }
  .r2-in { padding-right: 32px; }
  .r2-rail { padding: 32px 20px 24px; gap: 20px; }
}
/* Rail: long series names balance, long CTA labels wrap inside the button */
.r2-rail-name { text-wrap: balance; }
@media (min-width: 1024px) { .r2-rail-name { font-size: clamp(24px, 2.1vw, 30px); } }
.r2-act .btn { white-space: normal; text-align: center; line-height: 1.15; }
/* Section spy: the old marker disappears at once, only the new one animates (no double highlight) */
.r2-nav a::after { transition: none; }
.r2-nav a[aria-current]::after { transition: transform 220ms var(--ease-out); }

/* Call bar: away while the mobile menu or the inquiry form is open */
body:has(.menu.is-open) .callbar { display: none; }
.has-r2 .callbar { transition: transform 220ms var(--ease-out); }
.has-r2 .callbar.is-away { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .has-r2 .callbar { transition: none; } }

/* Mega menu fits short laptop screens: scrolls inside, denser rows */
@media (min-width: 1024px) {
  .sub.mega { max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sub.mega { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 16px; padding: 14px 18px 18px; }
  .mega > li > a { min-height: 40px; }
  .mega .series a { min-height: 32px; padding: 4px 8px; font-size: 15px; }
}

/* Horizontal strips (section bar, feature tabs, spec tables): a fade shows there is more to the right (class from script.js) */
.has-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.feat-tabs { scroll-snap-type: x proximity; }
.feat-tab { scroll-snap-align: start; }

/* Small text targets: breadcrumbs, standalone links, type plate labels */
.crumbs a { padding: 0 8px; }
.crumbs li:first-child a { padding-left: 0; }
.crumbs li + li::before { margin: 0 .2em; }
.link-row { display: inline-flex; align-items: center; min-height: 44px; }
.plate dt { font-size: 14px; }

/* Series card link: own focus ring on the card area */
.rcard-link:focus-visible::after { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Form: one-line notice instead of a consent box (answering an inquiry needs no consent) */
.form-legal { margin: 14px 0 0; font-size: 16px; color: var(--muted); }
.form-legal .link { font-weight: 600; }
.zajem .form { margin-top: 16px; padding-top: 14px; }
.zajem .form label { margin: 10px 0 4px; }
.zajem .form-note { margin: 12px 0 12px; }
.zajem .form-row { gap: 0 12px; grid-template-columns: 1fr 1fr; }

/* Overview: low-res manufacturer photo never upscaled, shown at its own ratio */
.r2-wide-fit { padding: 0 var(--r2-l); }
.r2-wide-fit img { width: auto; max-width: 100%; aspect-ratio: auto; clip-path: none; }
@media (min-width: 900px) { .r2-wide-fit img { aspect-ratio: auto; } }

/* Feature photos from wide, low banners: whole picture on grey instead of a blurred crop */
.feat-item > img.feat-wide { object-fit: contain; background: var(--bg-grey); }

/* Documentation: compact brochure grid (one row = one link) */
.docs-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.docs-grid a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 14px; align-items: center; height: 100%; min-height: 72px; padding: 12px 16px; background: var(--bg-grey); color: var(--brand); text-decoration: none; border-left: 6px solid var(--accent); transition: background-color 150ms ease-out; }
.docs-grid a:hover { background: #e6e8ec; }
.docs-grid .ph { grid-row: span 2; width: 40px; height: 40px; padding: 9px; background: #fff; }
.docs-grid strong { font: condensed 800 21px/1.1 var(--head); text-transform: uppercase; }
.docs-grid span { font-size: 15px; color: var(--muted); }
.docs-grid-h { margin: 28px 0 0; font-size: clamp(22px, 2.2vw, 26px); text-transform: uppercase; color: var(--brand); }

/* Variant groups of models (T7): one row per variant, models inside */
.mgroup { margin-top: 12px; background: var(--bg-grey); border-left: 6px solid var(--accent); }
.mgroup > summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 72px; padding: 14px 16px 14px 20px; cursor: pointer; }
.mgroup > summary::-webkit-details-marker { display: none; }
.mgroup > summary:focus-visible { outline-offset: -3px; box-shadow: none; }
.mgroup-name { font: condensed 900 clamp(24px, 2.4vw, 30px)/1 var(--head); text-transform: uppercase; color: var(--brand); }
.mgroup-meta { flex: 1; font-size: 16px; color: var(--muted); }
.mgroup > summary .spec-sign { margin-left: auto; }
.mgroup[open] > summary .spec-sign { background: var(--accent); }
.mgroup[open] > summary .spec-sign::before, .mgroup[open] > summary .spec-sign::after { background: var(--brand-deep); }
.mgroup[open] > summary .spec-sign::after { transform: rotate(0deg); }
.mgroup > .models { margin: 0; padding: 0 16px 20px 20px; }
.mgroup .model { background: #fff; }
@media (max-width: 599px) { .mgroup-meta { flex-basis: 100%; order: 3; } .mgroup > .models { padding: 0 10px 14px; } }

/* Grids without a lonely last row */
.rcards-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1280px) { .r2 .rcards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rcard-all .rcard-body { justify-content: center; }
.model-ask { background: var(--accent); padding: 20px; justify-content: center; gap: 10px; }
.model-ask h3, .model-ask h4 { margin: 0; color: var(--brand-deep); }
.model-ask p { margin: 0; color: var(--brand-deep); }
.model-ask .model-cta { margin: 0; padding: 0; color: var(--brand-deep); }

/* Hero box: smaller on desktop so the machine stays visible */
@media (min-width: 900px) {
  .r2-hero-box { width: min(500px, calc(100% - 2 * var(--gut))); margin-bottom: calc(var(--cut) + 96px); padding: 20px 32px 28px; }
  .r2-hero h1 { font-size: clamp(56px, 6.4vw, 96px); }
  .r2-hero h1.h1-long { font-size: clamp(40px, 4.6vw, 64px); }
  .r2-claim { font-size: 18px; margin-top: 12px; }
  .r2-hero .hero-btns { margin-top: 18px; }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .r2-hero-box { width: min(420px, calc(100% - 2 * var(--gut))); }
  .r2-hero h1 { font-size: clamp(52px, 6vw, 72px); }
}
.form-page :is(input, select) + .form-row label { margin-top: 14px; }
.text-links { list-style: none; margin: 0 0 1em; padding: 0; }
.cta .hero-btns { margin-top: 0; }
.cta .btn-line { border-color: var(--brand-deep); color: var(--brand-deep); }
.cta .btn-line:hover { background: var(--brand-deep); color: #fff; }
/* Series pages: model grids 3 across (4 for lists of 4/8), the maker name in the rail as a small line */
@media (min-width: 1024px) {
  .r2 .models { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r2 .models-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) { .r2 .models-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.model:not(:has(.model-img)):not(.model-ask) { border-top: 4px solid var(--accent); }
.r2-rail-name span { display: block; margin-bottom: 4px; font: condensed 700 15px/1.2 var(--head); letter-spacing: .08em; color: var(--muted); }
.kicker-light, .band-cut .kicker { color: #c9d3e6; }
/* Category: group heading beside its cards, cards stretch so short groups never leave an empty half */
.cat-row { margin-top: 56px; }
.cat-row .cat-group { margin-top: 0; }
.cat-row .rcards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1100px) {
  .cat-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .cat-row .cat-row-h { position: sticky; top: 100px; }
  .cat-row .rcards { margin-top: 0; }
  .cat-row .cat-group-lead { margin: 12px 0 0; }
}
@media (min-width: 1100px) and (max-width: 1399px) { .cat-row .rcards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); } }
/* Version groups (models and specs): on grey sections the row is white, inner cards grey */
.sec-grey .mgroup { background: #fff; }
.sec-grey .mgroup .model, .sec-grey .mgroup .spec-group { background: var(--bg-grey); }
.mgroup > .specs { margin: 0; padding: 0 16px 20px 20px; }
@media (max-width: 599px) { .mgroup > .specs { padding: 0 10px 14px; } }

/* Phones: compact model and series cards (photo left, text right), so long model lists stay short */
@media (max-width: 599px) {
  .r2 .models { gap: 10px; }
  .r2 .model:not(.model-ask):has(.model-img) { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto auto 1fr; padding-bottom: 0; }
  .r2 .model .model-img { grid-row: 1 / span 3; aspect-ratio: auto; border-bottom: 0; border-right: 4px solid var(--accent); }
  .r2 .model h3, .r2 .model h4 { font-size: 23px; margin: 14px 14px 8px; }
  .r2 .model dl { margin: 0 14px; gap: 6px; }
  .r2 .model dd { font-size: 17px; }
  .r2 .model-cta { margin: 6px 14px 8px; font-size: 15px; }
  .r2 .model:not(:has(.model-img)) { padding-bottom: 4px; }
  .r2 .rcards { gap: 10px; }
  .r2 .rcard:not(.rcard-all):not(.rcard-ask) { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .r2 .rcard:not(.rcard-all):not(.rcard-ask) .rcard-img { aspect-ratio: auto; min-height: 100%; }
  .r2 .rcard:not(.rcard-all):not(.rcard-ask) .rcard-body { border-top: 0; border-left: 4px solid var(--accent); padding: 12px 14px 14px; gap: 6px; }
  .r2 .rcard h3 { font-size: 24px; }
  .r2 .rcard-pow strong { font-size: 21px; }
  .r2 .t7-vars .rcard-body > p:not(.rcard-pow) { display: none; }
  .r2 .rcard-all .rcard-body { min-height: 0; padding: 16px 18px; }
}
@media (min-width: 600px) { .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .docs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 1279px) {
  .r2-hero-box { width: min(380px, calc(100% - 2 * var(--gut))); padding: 16px 24px 22px; margin-bottom: calc(var(--cut) + 88px); }
  .r2-hero h1 { font-size: 56px; }
  .r2-claim { font-size: 16px; }
  .r2-hero .hero-btns .btn { min-height: 44px; padding: 8px 16px; font-size: 17px; }
}
.cat-row .rcard-img { aspect-ratio: auto; height: clamp(200px, 17vw, 250px); }
@media (min-width: 1024px) and (max-width: 1279px) { .r2-act .btn { font-size: 15px; padding: 8px 10px; } }
/* Category heroes: taller on desktop so more of the machine is visible (per-photo object-position in the page) */
@media (min-width: 900px) { .page-hero-cut { min-height: clamp(460px, 38vw, 580px); } }
/* Inquiry drawer: shorter so the button is in view on 800–900px tall screens */
.zajem { padding-top: 14px; }
.zajem-head { margin-bottom: 4px; }
.zajem > p:first-of-type { margin-bottom: 8px; }
.zajem-small { margin-top: 8px; }
.zajem .form h3 { margin-bottom: 0; font-size: 22px; }
.zajem .form input, .zajem .form textarea { min-height: 44px; padding: 8px 12px; }
.zajem .form textarea { height: 76px; }
.zajem .form-note { margin: 10px 0; padding: 8px 10px; font-size: 15px; }
@media (max-height: 820px) { .zajem > p:first-of-type { display: none; } .zajem .form textarea { height: 64px; } }

/* Hero photos fill the hero instead of sizing it: a grid row would otherwise grow to the photo's own height (900+ px) */
.page-hero > img, .page-hero::after { position: absolute; inset: 0; }
@media (min-width: 900px) {
  .r2-hero-in { position: relative; }
  .r2-hero-box { position: relative; z-index: 1; }
  .r2-hero-in > img { position: absolute; inset: 0; width: 100%; height: 100%; }
}
/* Same hero on every series page: long series names get a wider box and smaller type, key labels always take two lines */
@media (min-width: 900px) {
  .r2-hero-box:has(.h1-long) { width: min(660px, calc(100% - 2 * var(--gut))); }
  .r2-hero h1.h1-long { font-size: clamp(36px, 3.3vw, 52px); }
  .r2-keys span { min-height: calc(2 * 1.35em); }
}
/* Every page hero fills the first screen like the home page: h1 + buttons visible, the next section's text stays below the fold */
@media (min-width: 900px) {
  .page-hero { min-height: clamp(460px, calc(100svh - 110px), 860px); }
  /* o nás: hero + strip of key numbers (the banner) together fill the screen */
  .page-hero:has(+ .keynums) { min-height: clamp(400px, calc(100svh - 228px), 740px); }
}
/* Wide spec tables on phones: say that the table scrolls sideways (min-width 560px never fits below 600px) */
@media (max-width: 599px) { .table-scroll .spec caption::after { content: " · posuňte do strany →"; white-space: nowrap; } }

/* ===== Site search (search.js) ===== */
.search-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 8px; padding: 0; border: 2px solid var(--brand); border-radius: var(--radius); background: #fff; color: var(--brand); cursor: pointer; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
.search-btn .ph { width: 22px; height: 22px; }
.search-btn:hover { background: var(--brand); color: #fff; }
.search-btn:active { transform: scale(.96); }
.search-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1023px) { .search-btn { margin-left: auto; border-color: transparent; } .brand { margin-right: 0; } }
html.search-open { overflow: hidden; }
.search { width: min(760px, calc(100% - 32px)); max-width: none; max-height: min(720px, calc(100dvh - 96px)); margin: 72px auto auto; padding: 0; border: 0; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 24px 64px rgba(8, 33, 79, .28); overflow: hidden; }
.search[open] { display: flex; animation: search-in 180ms var(--ease-out); }
.search::backdrop { background: rgba(8, 33, 79, .62); }
@keyframes search-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .search[open] { animation: none; } }
.search-in { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 0 8px 0 20px; border-bottom: 4px solid var(--accent); }
.search-bar > .ph { width: 24px; height: 24px; color: var(--brand); }
.search-bar input { flex: 1; min-width: 0; height: 64px; border: 0; padding: 0; background: transparent; font: 500 20px/1.2 var(--body); color: var(--ink); outline: none; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-bar input::placeholder { color: #7a8597; }
.search-close { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: var(--radius); }
.search-close .ph { width: 22px; height: 22px; }
.search-close:hover { color: var(--brand); background: var(--bg-grey); }
.search-close:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.search-list { list-style: none; margin: 0; padding: 8px 0; overflow-y: auto; overscroll-behavior: contain; }
.search-list:empty { display: none; }
.search-list a { display: grid; gap: 2px; padding: 12px 20px; border-left: 4px solid transparent; color: inherit; text-decoration: none; }
.search-list [aria-selected="true"] a, .search-list a:hover { background: #eef2f8; border-left-color: var(--brand); }
.search-list a:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.search-cat { font: condensed 800 13px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.search-t { font: condensed 900 22px/1.15 var(--head); color: var(--brand); }
.search-s { font-size: 15px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search mark { background: #fff1a8; color: inherit; padding: 0 1px; }
.search-empty { padding: 20px; overflow-y: auto; }
.search-empty[hidden] { display: none; }
.search-empty-t { margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.search-quick { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.search-quick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--line); color: var(--brand); font: condensed 700 17px/1 var(--head); letter-spacing: .02em; text-decoration: none; }
.search-quick a:hover { border-color: var(--brand); }
.search-quick a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.search-call { margin: 0; color: var(--muted); }
.search-call a { color: var(--brand); font-weight: 700; white-space: nowrap; }
@media (max-width: 599px) {
  .search { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .search-bar { padding-left: 16px; }
  .search-bar input { font-size: 18px; height: 60px; }
  .search-list a { padding: 12px 16px; }
  .search-t { font-size: 20px; }
}
.search-bar input:focus, .search-bar input:focus-visible { outline: none; box-shadow: none; border: 0; }
.search-bar:focus-within { border-bottom-color: var(--brand); }
.menu-tel, .search-btn { flex-shrink: 0; }
/* 1024–1199 px: header items tighten so the logo text never sits under the menu */
@media (min-width: 1024px) and (max-width: 1199px) {
  .brand { flex-shrink: 0; }
  .brand img { width: 56px; }
  .brand span { font-size: 23px; }
  .menu-link { padding: 0 7px; letter-spacing: .01em; }
  .menu-tel { padding: 0 10px; margin-left: 4px; }
}

/* homepage: second tile row for implements and other brands */
.tiles-more-h { margin: 48px 0 16px; font: condensed 900 clamp(28px, 5vw, 40px)/1 var(--head); text-transform: uppercase; color: var(--brand); }
.tiles-more { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tiles-more .tile > span { font-size: 17px; padding: 10px 12px; min-height: 44px; }
@media (max-width: 599px) { .tiles-more .tile .ph-arrow-right { display: none; } }
@media (min-width: 960px) { .tiles-more { grid-template-columns: repeat(5, 1fr); gap: 16px; } .tiles-more .tile > span { font-size: 20px; padding: 12px 14px; min-height: 52px; } }
/* mega menu: implements row across the full panel */
@media (min-width: 1024px) {
  .mega > .mega-full { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 8px; }
  .mega-full > .series { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) { .mega-full > .series { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* long brand names in the page hero (New Holland Construction) */
.page-hero h1.h1-long { font-size: clamp(26px, 6.4vw, 60px); }
/* key figures on narrow phones: long ranges (10 500–26 000 l) wrap after the dash and shrink */
.r2-keys li { min-width: 0; }
@media (max-width: 479px) { .r2-keys strong { font-size: clamp(28px, 8.4vw, 36px); } }
