/* Písma Barlow a Barlow Semi Condensed – hostovaná u nás, ne u Googlu (GDPR). */
/* latin-ext */ @font-face {font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-italic-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;}
/* latin-ext */ @font-face {font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-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;}
/* latin-ext */ @font-face {font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-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;}
/* latin-ext */ @font-face {font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-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;}
/* latin-ext */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/barlow-semi-condensed-300-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/barlow-semi-condensed-300-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;}
/* latin-ext */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-semi-condensed-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-semi-condensed-400-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;}
/* latin-ext */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-semi-condensed-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-semi-condensed-500-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;}
/* latin-ext */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-600-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;}
/* latin-ext */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin */ @font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-700-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{
  --red:#AD1F23;
  --red-dark:#8C171B;
  --red-tint:#F7EBEB;
  --ink:#231F20;
  --ink-2:#332D2E;
  --concrete:#EFEDEA;
  --concrete-2:#E2DFDA;
  --paper:#FFFFFF;
  --muted:#5F5759;
  --line:#D5D1CB;
  --maxw:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:"Barlow",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:17.5px;line-height:1.62;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
main:focus{outline:none}
a{color:var(--red-dark);text-decoration-thickness:1px;text-underline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--red);outline-offset:2px;
}
.topbar a:focus-visible,.cta-band a:focus-visible,footer a:focus-visible,.hero a:focus-visible,.facts a:focus-visible{
  outline-color:#fff;
}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

h1,h2,h3,h4{font-family:"Barlow Semi Condensed","Arial Narrow",sans-serif;font-weight:600;line-height:1.1;margin:0}
h2,.sec-head h1{font-size:clamp(2.05rem,4.4vw,3.1rem)}
h3{font-size:clamp(1.45rem,2.5vw,1.95rem)}
h4{font-size:1.3rem;font-weight:600}
p{margin:0 0 1em}
p,li{max-width:74ch}

/* red brand rule, taken from the logo */
.stripe{height:6px;background:var(--red)}
.stripe--thin{height:5px}

/* ---- top contact bar ---- */
.topbar{background:var(--ink);color:#BDB6B7;font-size:.88rem}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:6px 26px;align-items:center;padding-top:8px;padding-bottom:8px}
.topbar a{color:#fff;text-decoration:none}
.topbar a:hover{color:#EDA9AB}
.topbar .sep{margin-left:auto;color:#8C8384}

/* ---- header ---- */
.site-header{position:sticky;top:0;z-index:60;background:var(--paper);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:14px;padding-top:11px;padding-bottom:11px}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);margin-right:auto}
.brand img{width:54px;height:54px;flex:none}
.brand .word{font-family:"Barlow Semi Condensed",sans-serif;font-size:1.72rem;line-height:1;letter-spacing:.005em}
.brand .word b{font-weight:700}
.brand .word i{font-style:normal;font-weight:300}
.brand small{display:block;font-family:"Barlow",sans-serif;font-size:.6rem;letter-spacing:.07em;color:var(--muted);margin-top:4px;text-transform:uppercase;white-space:nowrap}
nav.main ul{display:flex;gap:2px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
nav.main a{
  display:block;padding:9px 9px;text-decoration:none;color:var(--ink);
  font-family:"Barlow Semi Condensed",sans-serif;font-size:1.14rem;font-weight:600;
  border-bottom:3px solid transparent;
}
nav.main a:hover{border-bottom-color:var(--red);color:var(--red-dark)}
nav.main a.is-here{border-bottom-color:var(--red);color:var(--red-dark)}
.btn-call{
  background:var(--red);color:#fff !important;padding:10px 16px;border-radius:999px;
  font-family:"Barlow Semi Condensed",sans-serif;font-size:1.05rem;font-weight:600;text-decoration:none;white-space:nowrap;
}
.btn-call:hover{background:var(--red-dark)}
.header-actions{display:flex;flex-wrap:nowrap;gap:9px;align-items:center}
/* druhé, méně výrazné tlačítko v hlavičce */
.btn-call--ghost{background:transparent;color:var(--ink) !important;box-shadow:inset 0 0 0 2px var(--line)}
.btn-call--ghost:hover{background:var(--concrete);box-shadow:inset 0 0 0 2px var(--ink)}
.navtoggle{display:none;background:var(--ink);color:#fff;border:0;padding:10px 15px;font:600 1.08rem "Barlow Semi Condensed",sans-serif;border-radius:999px}

/* ---- hero ---- */
.hero{position:relative;background:var(--ink)}
.hero img{width:100%;height:clamp(390px,58vh,560px);object-fit:cover;object-position:32% 60%}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(35,31,32,.92) 0%,rgba(35,31,32,.62) 34%,rgba(35,31,32,.12) 66%,rgba(35,31,32,0) 100%);
}
.hero-copy{position:absolute;inset:0;display:flex;align-items:flex-end;z-index:2}
.hero-copy .wrap{width:100%;padding-bottom:clamp(30px,5vw,54px)}
.hero h1{
  color:#fff;font-size:clamp(1.7rem,5vw,2.6rem);font-weight:700;max-width:20ch;
  text-transform:uppercase;letter-spacing:.02em;margin:0;
  /* Volnější řádkování: kroužek nad Ů sahá o 10 px výš než běžná verzálka
     a při těsném řádkování naráží do řádku nad sebou. */
  line-height:1.28;
  text-wrap:balance;   /* rozloží nadpis na řádky rovnoměrně, ať nezůstane slovo samo */
}
.hero p{color:#EFEAEB;max-width:58ch;margin:14px 0 0;font-size:1.12rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
/* Na telefonu je obrázek 2,56:1 širší, než kolik se do rámu na výšku vejde.
   Proto hero zkrátíme (77 % šířky displeje) a text dáme pod obrázek —
   teprve tak je vidět celý traktor i s čelním nakladačem.
   Výška v jednotkách vw drží poměr rámu stejný na každém telefonu,
   takže výřez ukazuje pořád stejnou část obrázku. */
@media (max-width:859px){
  .hero img{height:clamp(215px,77vw,330px);object-position:19% 50%}
  .hero::after{display:none}
  .hero-copy{position:static;display:block;background:var(--ink);padding:24px 0 28px}
  .hero-copy .wrap{padding-bottom:0}
}

/* na širších obrazovkách text doprava, ať zůstane vidět traktor */
@media (min-width:860px){
  .hero-copy{align-items:center}
  .hero-copy .wrap{padding-bottom:0}
  .hero-text{width:50%;margin-left:auto;text-align:center}
  .hero-text h1{font-size:clamp(1.75rem,2.5vw,2.45rem);max-width:none;margin:0 auto}
  .hero-text p{max-width:none;font-size:clamp(1.15rem,1.6vw,1.42rem);line-height:1.5}
}
.btn{
  display:inline-block;padding:13px 26px;border-radius:999px;text-decoration:none;
  font-family:"Barlow Semi Condensed",sans-serif;font-size:1.28rem;font-weight:600;
}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-dark)}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.75)}
.btn-ghost:hover{background:rgba(255,255,255,.2)}

/* ---- rozcestnik ---- */
.gateway{background:var(--concrete);border-bottom:1px solid var(--line)}
.gateway .wrap{padding-top:44px;padding-bottom:44px}
.gateway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gate{
  background:var(--paper);padding:26px 24px 24px;text-decoration:none;color:var(--ink);
  border-top:5px solid var(--ink);
}
.gate:hover{border-top-color:var(--red)}
.gate h3{margin-bottom:8px}
.gate p{font-size:.97rem;color:var(--muted);margin:0}

/* ---- sections ---- */
section{padding:clamp(52px,7vw,86px) 0}
section.alt{background:var(--concrete)}
.sec-head{margin-bottom:32px}
.sec-head .stripe{width:70px;margin-bottom:16px}
.lead{font-size:1.13rem;max-width:68ch}

/* Rozcestník služeb – samostatné karty místo tabulkové mřížky.
   Popisek nahoře, šipka v pravém dolním rohu naznačuje, že jde o odkaz. */
.svc-index{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
#sluzby{padding-top:28px;padding-bottom:28px}
#sluzby .svc-index{margin-top:0}
#sluzby .sec-head{margin-bottom:22px}
.svc-index a{
  display:flex;flex-direction:column;justify-content:space-between;min-height:116px;
  background:var(--paper);color:var(--ink);text-decoration:none;
  border:1px solid var(--line);border-top:4px solid var(--red);
  padding:17px 18px 14px;
  font-family:"Barlow Semi Condensed",sans-serif;font-size:1.26rem;font-weight:600;line-height:1.18;
  transition:transform .18s,box-shadow .18s,background .18s,border-color .18s,color .18s;
}
/* Šipka v pravém dolním rohu – popisek zůstane nahoře, karta má tak pevnou stavbu. */
.svc-index a::after{
  content:"→";align-self:flex-end;margin-top:14px;
  font-size:1.18rem;line-height:1;color:var(--red);
  transition:transform .18s,color .18s;
}
/* Po najetí se karta nadzvedne, zčervená a šipka se posune doprava. */
.svc-index a:hover{
  background:var(--red);color:#fff;border-color:var(--red);
  transform:translateY(-3px);box-shadow:0 10px 22px rgba(35,31,32,.18);
}
.svc-index a:hover::after{color:#fff;transform:translateX(4px)}

@media (prefers-reduced-motion:reduce){
  .svc-index a,.svc-index a::after{transition:none}
  .svc-index a:hover{transform:none}
}

.svc{border-top:1px solid var(--line);padding-top:40px;margin-top:44px}
.svc:first-of-type{border-top:0;padding-top:0;margin-top:0}
.svc h3{margin-bottom:14px}
.svc h4{margin:28px 0 10px}

ul.mark{list-style:none;padding:0;margin:0 0 1.2em}
ul.mark li{position:relative;padding-left:23px;margin-bottom:7px}
ul.mark li::before{
  content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--red);
}
ul.mark li b{font-weight:600}
.cols2{columns:2;column-gap:44px}
.cols2 li{break-inside:avoid}

.note{border-left:5px solid var(--red);background:var(--red-tint);padding:16px 20px;margin:22px 0}
.note p:last-child{margin-bottom:0}
.note.warn{border-left-color:var(--ink);background:var(--concrete-2)}

.machine{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0;margin-top:34px;background:var(--paper);border:1px solid var(--line)}
section.alt .machine{background:var(--paper)}
.machine figure{margin:0;height:100%;min-height:290px}
.machine figure img{width:100%;height:100%;object-fit:cover}
img.wm{object-position:100% 100%}
.machine-body{padding:28px 30px}
.machine-body h4{font-size:1.7rem;margin-bottom:10px}
.machine-body p{font-size:1rem}
.machine.flip figure{order:2}
dl.spec{margin:18px 0 0;font-size:.96rem}
dl.spec div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-top:1px solid var(--line)}
dl.spec dt{color:var(--muted);margin:0}
dl.spec dd{margin:0;font-weight:600;text-align:right}
.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.tag{background:var(--concrete-2);padding:5px 12px;font-size:.85rem;border-radius:999px}

.cta-band{background:var(--ink);color:#fff}
.cta-band .wrap{padding:44px 24px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.cta-band h3{color:#fff;max-width:22ch}
.cta-band p{color:#B9B2B3;margin:8px 0 0;max-width:52ch}

.about-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:start}
.facts{background:var(--ink);color:#fff;padding:0 28px 24px;border-top:6px solid var(--red)}
.facts h4{color:#fff;margin:24px 0 14px;font-size:1.35rem}
.facts dl{margin:0;font-size:.97rem}
.facts dl div{padding:11px 0;border-top:1px solid #423B3C;display:flex;justify-content:space-between;gap:14px}
.facts dt{color:#ADA5A6}
.facts dd{margin:0;font-weight:600;text-align:right}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.contact-block{margin-bottom:26px}
.contact-block h4{margin-bottom:6px}
.contact-block a{font-weight:600}
.phones{list-style:none;padding:0;margin:0}
.phones li{margin-bottom:4px}
.phones a{font-size:1.18rem;text-decoration:none}
.phones a:hover{text-decoration:underline}
form label{display:block;font-size:.88rem;font-weight:600;margin-bottom:5px}
form input,form select,form textarea{
  width:100%;padding:11px 13px;border:1px solid var(--line);background:var(--paper);
  font-family:inherit;font-size:.99rem;border-radius:3px;margin-bottom:16px;color:var(--ink);
}
form textarea{min-height:130px;resize:vertical}
button.submit{
  background:var(--red);color:#fff;border:0;padding:13px 28px;border-radius:999px;cursor:pointer;
  font-family:"Barlow Semi Condensed",sans-serif;font-size:1.28rem;font-weight:600;
}
button.submit:hover{background:var(--red-dark)}
.form-hint{font-size:.86rem;color:var(--muted);margin-top:10px}

/* ---- poptávkový formulář ---- */
.req{color:var(--red);text-decoration:none;border:0;font-weight:700;margin-left:2px}
.opt{color:var(--muted);font-weight:400}
button.submit:disabled{opacity:.6;cursor:progress}

/* Past na roboty – pro člověka neviditelná, pro čtečky skrytá. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.form-stav{margin-top:12px;padding:11px 14px;border-left:4px solid var(--red);
  background:var(--red-tint);color:var(--ink);font-size:.94rem}
.form-stav.is-ok{border-left-color:#2F7D32;background:#EAF3EA}

/* ---- potvrzovací okno po odeslání ---- */
.modal{
  border:0;padding:0;max-width:440px;width:calc(100% - 32px);
  background:var(--paper);color:var(--ink);
  box-shadow:0 24px 60px rgba(35,31,32,.32);
}
.modal::backdrop{background:rgba(35,31,32,.62)}
.modal-in{padding:30px 32px 28px}
.modal-in .stripe{width:70px;margin-bottom:16px}
.modal-in h3{font-size:1.72rem;margin-bottom:8px}
.modal-in .modal-text{margin:0 0 22px;color:var(--ink-2)}
.modal-in .btn{display:inline-block}

@media (max-width:760px){
  .modal-in{padding:24px 22px 22px}
  .modal-in h3{font-size:1.5rem}
}

footer{background:var(--ink);color:#B3ACAD;font-size:.96rem}
footer .wrap{padding:50px 24px 22px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.foot-logo{width:76px;height:76px;margin-bottom:16px}
footer h4{color:#fff;margin-bottom:12px;font-size:1.32rem}
footer a{color:#fff;text-decoration:none}
footer a:hover{color:#EDA9AB;text-decoration:underline}
footer ul{list-style:none;padding:0;margin:0}
footer li{margin-bottom:6px}
.foot-bottom{border-top:1px solid #423B3C;margin-top:36px;padding-top:18px;font-size:.86rem;color:#9A9293;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}

/* ---- drobečková navigace (podstránky) ---- */
.crumbs{background:var(--concrete);border-bottom:1px solid var(--line);font-size:.92rem}
.crumbs .wrap{display:flex;align-items:center;gap:8px;padding-top:11px;padding-bottom:11px}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--red-dark);text-decoration:underline}
.crumbs span[aria-hidden]{color:var(--line)}
.crumbs-here{color:var(--ink);font-weight:600}

/* ---- kontaktní adresa v patičce (je na každé stránce) ---- */
.foot-address{
  display:flex;flex-wrap:wrap;gap:4px 22px;font-style:normal;
  margin-top:34px;padding-top:20px;border-top:1px solid #423B3C;
  font-family:"Barlow Semi Condensed",sans-serif;font-size:1.02rem;color:#D6D0D1;
}
.foot-address span:first-child{color:#fff;font-weight:600}
.foot-address + .foot-bottom{margin-top:18px}

@media (max-width:980px){
  .gateway-grid{grid-template-columns:1fr}
  .svc-index{grid-template-columns:repeat(2,1fr)}
  .machine{grid-template-columns:1fr}
  .machine.flip figure{order:0}
  .machine figure{min-height:0}
  .machine figure img{height:300px}
  .about-grid,.contact-grid{grid-template-columns:1fr;gap:34px}
  .foot-grid{grid-template-columns:1fr 1fr}
  .cols2{columns:1}
}
@media (max-width:1040px){
  .navtoggle{display:block}
  nav.main{display:none;width:100%;order:3}
  nav.main.open{display:block}
  nav.main ul{flex-direction:column;gap:0;padding:8px 0 4px}
  nav.main a{border-bottom:1px solid var(--line);border-left:3px solid transparent;padding:12px 8px}
  nav.main a:hover{border-bottom-color:var(--line);border-left-color:var(--red)}
}

@media (max-width:760px){
  body{font-size:16.5px}
  .foot-address{flex-direction:column;gap:3px}
  /* Na telefonu logo na vlastní řádek a všechny bubliny do jedné řady pod ním.
     Písmo i odsazení se zmenšují podle šířky displeje, aby se vešly vedle
     sebe i na úzkých telefonech a nezlomily se pod sebe. */
  .site-header .wrap{flex-wrap:wrap;gap:10px;padding-left:16px;padding-right:16px}
  .brand{width:100%;margin-right:0}
  .brand img{width:46px;height:46px}
  .brand .word{font-size:1.5rem}
  .header-actions{flex-wrap:nowrap;gap:8px}
  .navtoggle,.btn-call{
    padding:8px clamp(8px,3vw,15px);
    font-size:clamp(.74rem,3.9vw,1.05rem);
    white-space:nowrap;
  }
  .photo-pair{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .topbar .sep{display:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important;animation:none !important}
}

/* ---- nabidka strojů ---- */
.offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.offer{background:var(--paper);border:1px solid var(--line);display:flex;flex-direction:column}
section.alt .offer{background:var(--paper)}
.offer-photo{position:relative;display:block;width:100%;padding:0;border:0;background:var(--concrete-2);cursor:zoom-in}
.offer-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.offer-count{position:absolute;right:10px;bottom:10px;background:rgba(35,31,32,.82);color:#fff;font-size:.78rem;padding:4px 11px;border-radius:999px;font-family:"Barlow",sans-serif}
.offer-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.offer-body h4{font-size:1.38rem;margin-bottom:5px}
.offer-meta{font-size:.82rem;color:var(--muted);margin:0 0 10px;letter-spacing:.02em}
.offer-body p{font-size:.94rem;margin:0 0 16px;max-width:none}
.offer-body ul.mark{font-size:.94rem;margin:0 0 16px}
.offer-body ul.mark li{margin-bottom:4px}
.offer-foot{margin-top:auto;display:flex;gap:18px;align-items:baseline;font-size:.93rem;border-top:1px solid var(--line);padding-top:12px}
.offer-foot a{font-weight:600;text-decoration:none}
.offer-foot a:hover{text-decoration:underline}
.badge{display:inline-block;background:var(--ink);color:#fff;font-family:"Barlow",sans-serif;font-size:.68rem;font-weight:600;padding:3px 9px;border-radius:999px;margin-left:9px;vertical-align:middle;letter-spacing:.04em}
.offer-note{margin-top:28px;font-size:.96rem;color:var(--muted);max-width:74ch}

/* ---- volná fotogalerie v sekci ---- */
.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 32px}
.photo-tile{padding:0;border:1px solid var(--line);background:var(--concrete-2);cursor:zoom-in;display:block;width:100%}
.photo-tile img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:opacity .15s}
.photo-tile:hover img{opacity:.85}
@media (max-width:980px){.photo-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.photo-grid{grid-template-columns:repeat(2,1fr);gap:10px}}

/* ---- fotogalerie ---- */
.lb{position:fixed;inset:0;background:rgba(24,20,21,.95);z-index:200;display:none;align-items:center;justify-content:center}
.lb.open{display:flex}
.lb img{max-width:90vw;max-height:80vh;object-fit:contain}
.lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:50%;cursor:pointer;line-height:1}
.lb button:hover{background:var(--red)}
.lb-prev,.lb-next{width:52px;height:52px;font-size:2rem;top:50%;transform:translateY(-50%)}
.lb-prev{left:18px}.lb-next{right:18px}
.lb-close{top:18px;right:18px;width:46px;height:46px;font-size:1.15rem}
.lb-cap{position:absolute;bottom:20px;left:0;right:0;text-align:center;color:#D6CFD0;font-size:.92rem;margin:0}
@media (max-width:980px){.offer-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){
  .offer-grid{grid-template-columns:1fr}
  .lb-prev,.lb-next{width:44px;height:44px;font-size:1.6rem}
  .lb-prev{left:8px}.lb-next{right:8px}
}

/* ---- odkaz „Přeskočit na obsah“ – viditelný jen při ovládání klávesnicí ---- */
.skip-link{
  position:absolute;left:12px;top:-60px;z-index:1000;
  background:var(--ink);color:#fff;padding:10px 16px;font-weight:600;text-decoration:none;
}
.skip-link:focus{top:12px}

/* ---- stránka s právním textem / 404 ---- */
.legal{max-width:78ch}
.legal h2{font-size:clamp(1.45rem,2.6vw,1.9rem);margin:36px 0 10px}
.legal .todo{background:#FFF3C4;padding:0 4px}

/* ---- tisk ---- */
@media print{
  .topbar,.site-header nav,.header-actions,.navtoggle,.stripe,.cta-band,.lb,
  .skip-link,.crumbs,#poptavka,.foot-bottom a,.hero-actions{display:none!important}
  body{font-size:11pt;color:#000;background:#fff}
  .hero img{height:auto;max-height:8cm}
  .hero::after{display:none}
  .hero-copy{position:static;background:none}
  .hero h1,.hero p{color:#000}
  section,section.alt,footer{background:#fff!important;color:#000;padding:12pt 0}
  footer *{color:#000!important}
  a{color:#000;text-decoration:underline}
  article,.machine,.svc,.offer{break-inside:avoid}
}
