/* Roboto – hostováno lokálně */
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/roboto-latin-ext-400-normal.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}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/roboto-latin-400-normal.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}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/roboto-latin-ext-500-normal.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}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/roboto-latin-500-normal.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}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/roboto-latin-ext-700-normal.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}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/roboto-latin-700-normal.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}
@font-face{font-family:'Roboto';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/roboto-latin-ext-900-normal.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}
@font-face{font-family:'Roboto';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/roboto-latin-900-normal.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}
@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/roboto-latin-ext-400-italic.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}
@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/roboto-latin-400-italic.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}

/* =========================================================
   Parťáci PRO — design system podle logomanuálu
   Barvy: PP Dark Blue #1d3050 · PP Light Blue #004478
          PP Dark Green #53792b · PP Light Green #95b421
          PP Dark Grey #9d9c9c · PP Light Grey #dadad9
   Písmo: Roboto (Regular, Medium, Bold, Black)
   ========================================================= */

:root {
  --navy:   #1d3050;
  --navy-2: #172840;           /* hlubší odstín pro střídání navy ploch */
  --blue:   #004478;
  --green:  #53792b;
  --lime:   #95b421;
  --grey:   #9d9c9c;
  --grey-l: #dadad9;
  --paper:  #f5f6f4;           /* jemně teplá bílá pro střídání bílých ploch */
  --white:  #ffffff;
  --ink:    #1d3050;           /* text na bílé */
  --ink-2:  #4a5568;
  --minus:  #b4532a;           /* signál „ztráty“ v číslech */

  --ff: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cut: 16px;                 /* zkosený roh — motiv z manuálu */
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

/* ---------- zkosený roh ---------- */
.cut   { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.cut-s { --cut: 10px; }

/* ---------- sekce ---------- */
.sec { padding-block: 96px; }
.sec-tight { padding-block: 64px; }
.sec-white { background: var(--white); color: var(--ink); }
.sec-paper { background: var(--paper); color: var(--ink); }
.sec-navy  { background: var(--navy); color: var(--white); }
.sec-navy2 { background: var(--navy-2); color: var(--white); }
@media (max-width: 800px) { .sec { padding-block: 64px; } .sec-tight { padding-block: 48px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--lime); }
.sec-navy .eyebrow, .sec-navy2 .eyebrow { color: var(--lime); }

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.h-xl { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; }
.h-l  { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; }
.h-m  { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 640px; margin-top: 18px; }
.sec-navy .lead, .sec-navy2 .lead { color: rgba(255,255,255,.78); }
.g { color: var(--green); }
.sec-navy .g, .sec-navy2 .g, .hero-navy .g { color: var(--lime); }
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  padding: 15px 26px; border: 0; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lime  { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #a6c62b; }
.btn-navy  { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); }
.btn-line  { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; clip-path: none; }
.btn-line:hover { background: rgba(127,127,127,.1); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.arrow::after { content: '→'; font-weight: 400; }

/* ---------- navigace ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6e8ea;
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; }
.nav-links a {
  display: block; padding: 8px 12px; font-size: .92rem; font-weight: 500;
  text-decoration: none; color: var(--navy); border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--green); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--lime); font-weight: 700; }
.nav-tel { font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; color: var(--navy); }
.nav-tel span { color: var(--green); }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block; width: 24px; height: 2.5px; background: var(--navy); position: relative; margin: auto; transition: .2s;
}
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; }
.nav-burger span::before { top: -7px; } .nav-burger span::after { top: 7px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-tel { display: none; }
}
@media (max-width: 900px) {
  .nav-in { height: 64px; }
  .nav-logo img { height: 36px; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--white); padding: 8px 16px 20px;
    border-bottom: 1px solid #e6e8ea; box-shadow: 0 20px 40px rgba(29,48,80,.12);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid #eef0f2; font-size: 1.05rem; }
  .nav-links a[aria-current="page"] { border-bottom-color: #eef0f2; color: var(--green); }
  .nav-links .m-only { display: block; }
}
.nav-links .m-only { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-white { background: var(--white); }
.hero-navy  { background: var(--navy); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: 72px 88px; }
.hero-kicker { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.hero-navy .hero-kicker { color: var(--lime); }
.hero p.lead { margin-top: 24px; }
.hero-navy p.lead { color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.hero-media .tag {
  position: absolute; left: -24px; bottom: 28px; background: var(--navy); color: var(--white);
  padding: 16px 22px; font-weight: 700; font-size: .95rem; line-height: 1.3;
}
.hero-navy .hero-media .tag { background: var(--lime); color: var(--navy); }
.hero-media .tag small { display: block; font-weight: 400; opacity: .8; font-size: .82rem; }
.hero-deco { position: absolute; pointer-events: none; opacity: .07; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 48px 56px; }
  .hero-media .tag { left: 12px; bottom: 12px; }
}

/* klíče → hotovo */
.keys { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; font-weight: 700; font-size: 1.02rem; }
.keys .k { display: inline-flex; align-items: center; gap: 8px; }
.keys .k i { font-style: normal; width: 34px; height: 34px; display: grid; place-items: center; background: var(--paper); }
.hero-navy .keys .k i { background: rgba(255,255,255,.1); }
.keys .to { color: var(--lime); font-size: 1.4rem; }

/* ---------- pruh důvěry ---------- */
.trust { background: var(--navy); color: var(--white); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 22px 20px; display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: .95rem; border-left: 1px solid rgba(255,255,255,.12); }
.trust li:first-child { border-left: 0; }
.trust li b { color: var(--lime); font-size: 1.2rem; }
@media (max-width: 800px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li:nth-child(3) { border-left: 0; } .trust li { border-top: 1px solid rgba(255,255,255,.12); } }

/* ---------- rozcestník pilířů ---------- */
.gate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gate-card {
  position: relative; display: grid; grid-template-rows: 240px 1fr; text-decoration: none;
  background: var(--white); color: var(--ink); border: 1px solid #e3e6e9;
  transition: transform .2s, box-shadow .2s;
}
.gate-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(29,48,80,.14); }
.gate-img { position: relative; overflow: hidden; background: var(--navy); }
.gate-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gate-card:hover .gate-img img { transform: scale(1.04); }
.gate-img .num {
  position: absolute; top: 0; left: 0; background: var(--lime); color: var(--navy);
  font-weight: 900; font-size: .85rem; letter-spacing: .1em; padding: 10px 16px;
}
.gate-img .prio {
  position: absolute; top: 0; right: 0; background: var(--navy); color: var(--white);
  font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px;
}
.gate-img.brand { display: grid; place-items: center; background: var(--blue); }
.gate-img.brand img { width: 46%; height: auto; object-fit: contain; }
.gate-body { padding: 28px 30px 30px; display: flex; flex-direction: column; }
.gate-seg { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.gate-title { font-size: 1.6rem; font-weight: 900; margin: 6px 0 10px; }
.gate-title span { color: var(--green); }
.gate-desc { color: var(--ink-2); font-size: .98rem; }
.gate-list { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; }
.gate-list li { display: flex; gap: 10px; font-size: .93rem; }
.gate-list li::before { content: ''; flex: 0 0 8px; height: 8px; margin-top: .55em; background: var(--lime); }
.gate-more { margin-top: auto; font-weight: 700; color: var(--navy); display: inline-flex; gap: 8px; }
.gate-card:hover .gate-more { color: var(--green); }
@media (max-width: 860px) { .gate { grid-template-columns: 1fr; } .gate-card { grid-template-rows: 200px 1fr; } }

/* ---------- jak pracujeme: 3 kroky ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 36px 32px 36px 0; border-top: 3px solid rgba(255,255,255,.18); }
.sec-white .step, .sec-paper .step { border-top-color: var(--grey-l); }
.step::before {
  counter-increment: s; content: '0' counter(s);
  display: block; font-weight: 900; font-size: 3rem; line-height: 1; color: var(--lime); margin-bottom: 18px;
}
.sec-white .step::before, .sec-paper .step::before { color: var(--green); }
.step::after { content: ''; position: absolute; top: -3px; left: 0; width: 64px; height: 3px; background: var(--lime); }
.step h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.step p { opacity: .82; font-size: .98rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .step { padding-right: 0; } }

/* ---------- hodnoty / karty ---------- */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.card { padding: 30px 28px; background: var(--white); border: 1px solid #e3e6e9; }
.sec-white .card { background: var(--paper); border-color: transparent; }
.sec-navy .card, .sec-navy2 .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--white); }
.card-ico {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--navy); color: var(--lime);
}
.sec-navy .card-ico, .sec-navy2 .card-ico { background: var(--lime); color: var(--navy); }
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: .95rem; color: var(--ink-2); }
.sec-navy .card p, .sec-navy2 .card p { color: rgba(255,255,255,.75); }

/* ---------- služby (seznam s ikonami) ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--grey-l); border: 2px solid var(--grey-l); }
.svc > div { background: var(--white); padding: 28px 26px; }
.svc h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.svc h3 b { color: var(--green); font-weight: 900; font-size: .85rem; letter-spacing: .06em; }
.svc p { font-size: .94rem; color: var(--ink-2); }
.svc ul { list-style: none; margin-top: 10px; display: grid; gap: 4px; }
.svc li { font-size: .9rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.svc li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--lime); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; } }

/* ---------- vymezení „není to jen…“ ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: var(--lime); color: var(--navy); padding: 28px 32px; margin-top: 40px;
}
.callout strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.callout p { font-size: 1rem; font-weight: 500; }
@media (max-width: 700px) { .callout { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- srovnání ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; }
.versus > div { padding: 40px 36px; }
.vs-a { background: var(--paper); }
.vs-b { background: var(--navy); color: var(--white); }
.vs-badge { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; display: inline-block; margin-bottom: 16px; }
.vs-a .vs-badge { background: var(--grey-l); color: var(--ink-2); }
.vs-b .vs-badge { background: var(--lime); color: var(--navy); }
.versus h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 20px; }
.versus ul { list-style: none; display: grid; gap: 12px; }
.versus li { display: flex; gap: 12px; font-size: .98rem; }
.versus li::before { flex: 0 0 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 1px; }
.vs-a li { color: var(--ink-2); }
.vs-a li::before { content: '–'; background: var(--grey-l); color: var(--ink-2); }
.vs-b li::before { content: '✓'; background: var(--lime); color: var(--navy); }
@media (max-width: 800px) { .versus { grid-template-columns: 1fr; } .versus > div { padding: 32px 22px; } }

/* ---------- O nás split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split-media .deco { position: absolute; right: -28px; bottom: -28px; width: 160px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.15); }
.sec-white .facts, .sec-paper .facts { border-top-color: var(--grey-l); }
.facts div { padding: 20px 16px 0 0; }
.facts b { display: block; font-size: 2.2rem; font-weight: 900; color: var(--lime); line-height: 1.1; }
.sec-white .facts b, .sec-paper .facts b { color: var(--green); }
.facts span { font-size: .88rem; opacity: .8; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split-media .deco { right: -8px; bottom: -16px; width: 100px; } }

/* ---------- záruky ---------- */
.guar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guar > div { border-top: 4px solid var(--lime); padding-top: 20px; }
.guar h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.guar p { font-size: .93rem; color: var(--ink-2); }
.sec-navy .guar p, .sec-navy2 .guar p { color: rgba(255,255,255,.75); }
@media (max-width: 900px) { .guar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guar { grid-template-columns: 1fr; } }

/* ---------- PŘED / PO ---------- */
.ba-wrap { position: relative; }
.ba {
  position: relative; width: 100%; aspect-ratio: 16/8; max-height: 640px; overflow: hidden;
  cursor: ew-resize; user-select: none; touch-action: pan-y; background: #222;
}
.ba-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-after { clip-path: inset(0 85% 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: 15%; width: 3px; background: var(--lime); transform: translateX(-50%); z-index: 3; pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: 15%; transform: translate(-50%, -50%); z-index: 4;
  width: 56px; height: 56px; background: var(--lime); display: grid; place-items: center;
  border: 0; cursor: ew-resize; box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.ba-knob svg { width: 26px; height: 26px; }
.ba-lab { position: absolute; top: 18px; z-index: 2; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; }
.ba-lab.l { left: 18px; background: var(--lime); color: var(--navy); }
.ba-lab.r { right: 18px; background: rgba(0,0,0,.6); color: #fff; }
.ba-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; background: rgba(29,48,80,.85); color: #fff; font-size: .85rem; font-weight: 500; padding: 8px 16px; white-space: nowrap; transition: opacity .3s; }
.ba.touched .ba-hint { opacity: 0; }

.ba-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); color: var(--white); }
.ba-stat { padding: 26px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.ba-stat:first-child { border-left: 0; }
.ba-stat .k { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.ba-stat .v { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; line-height: 1.15; margin: 6px 0 4px; font-variant-numeric: tabular-nums; transition: color .2s; }
.ba-stat .s { font-size: .9rem; opacity: .75; min-height: 1.4em; }
.ba-meter { height: 6px; background: rgba(255,255,255,.12); margin-top: 0; position: relative; }
.ba-meter i { position: absolute; inset: 0 auto 0 0; width: 15%; background: var(--lime); transition: background .2s; }
@media (max-width: 760px) {
  .ba { aspect-ratio: 4/3.4; }
  .ba-stats { grid-template-columns: 1fr; }
  .ba-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 16px; }
  .ba-stat .k { grid-column: 1 / -1; }
  .ba-stat .v { margin: 4px 0 0; }
  .ba-stat .s { text-align: right; }
  .ba-hint { font-size: .78rem; }
}

/* ---------- kalkulačka ---------- */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.calc-q { margin-bottom: 30px; }
.calc-q > label, .calc-q > .ql { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.calc-q .n { width: 28px; height: 28px; display: grid; place-items: center; background: var(--navy); color: var(--lime); font-size: .85rem; font-weight: 900; flex: 0 0 28px; }
.sec-navy .calc-q .n { background: var(--lime); color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 11px 16px; font-size: .92rem; font-weight: 500; cursor: pointer;
  background: var(--white); color: var(--navy); border: 2px solid var(--grey-l); transition: .15s;
  display: inline-flex; align-items: center; gap: 8px; text-align: left;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip.multi::before { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; flex: 0 0 14px; }
.chip.multi[aria-pressed="true"]::before { background: var(--lime); border-color: var(--lime); box-shadow: inset 0 0 0 2px var(--navy); }
.chip small { opacity: .65; font-size: .8rem; }

.calc-out { position: sticky; top: 100px; background: var(--navy); color: var(--white); padding: 32px 30px; }
.calc-out .k { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.calc-price { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.calc-vat { font-size: .85rem; opacity: .7; }
.calc-sum { list-style: none; margin: 22px 0; border-top: 1px solid rgba(255,255,255,.15); }
.calc-sum li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.calc-sum li span { opacity: .7; }
.calc-sum li b { text-align: right; font-weight: 500; }
.calc-note { font-size: .82rem; opacity: .7; margin-bottom: 22px; }
.calc-out .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-out { position: static; } }

/* ---------- formulář ---------- */
.form-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-lines { margin-top: 32px; display: grid; gap: 14px; }
.contact-lines a { display: flex; gap: 14px; align-items: center; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.contact-lines a i { font-style: normal; width: 44px; height: 44px; display: grid; place-items: center; background: var(--lime); color: var(--navy); }
.contact-lines a i svg { width: 20px; height: 20px; }
.form { background: var(--white); color: var(--ink); padding: 36px 34px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; font-weight: 400; padding: 13px 14px; border: 2px solid var(--grey-l); background: var(--white); color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form textarea { min-height: 110px; resize: vertical; }
.form .file { display: flex; gap: 12px; align-items: center; padding: 14px; border: 2px dashed var(--grey-l); cursor: pointer; font-weight: 500; font-size: .92rem; }
.form .file input { display: none; }
.form .file b { background: var(--paper); padding: 8px 12px; }
.form .btn { justify-content: center; }
.form .small { font-size: .8rem; color: var(--ink-2); }
.form-ok { display: none; background: var(--lime); color: var(--navy); padding: 14px 16px; font-weight: 700; }
@media (max-width: 900px) { .form-box { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .form { padding: 26px 18px; } .form .row { grid-template-columns: 1fr; } }

/* ---------- další pilíře ---------- */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px;
  background: var(--white); border: 1px solid #e3e6e9; text-decoration: none; transition: .15s;
}
.other:hover { border-color: var(--green); transform: translateY(-2px); }
.other b { display: block; font-size: 1.1rem; font-weight: 900; }
.other span { font-size: .88rem; color: var(--ink-2); }
.other::after { content: '→'; font-size: 1.4rem; color: var(--green); }
@media (max-width: 800px) { .others { grid-template-columns: 1fr; } }

/* ---------- patička ---------- */
.foot { background: var(--navy-2); color: rgba(255,255,255,.8); padding-block: 64px 32px; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-logo img { height: 80px; width: auto; margin-bottom: 18px; }
.foot h4 { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot-claim { color: var(--lime); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; opacity: .7; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- pomocné ---------- */
.center { text-align: center; }
.mt-l { margin-top: 48px; }
.brand-stripe { height: 8px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--grey) 25% 50%, var(--green) 50% 75%, var(--lime) 75%); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- doladění ---------- */
.hero-media img { height: auto; }
.trust li b { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 900px) { .hero-media img { aspect-ratio: 4/3; } }
@media (max-width: 560px) {
  .trust li { padding: 16px 12px; font-size: .88rem; }
  .keys { gap: 10px; }
}

/* slogan vedle loga */
.nav-slogan {
  margin-left: -8px; padding-left: 18px; border-left: 2px solid var(--grey-l);
  font-size: .78rem; font-weight: 700; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); white-space: nowrap;
}
@media (max-width: 1200px) and (min-width: 901px) { .nav-slogan { display: none; } }
@media (max-width: 900px) { .nav-slogan { font-size: .68rem; padding-left: 12px; margin-left: -12px; } }
@media (max-width: 340px) { .nav-slogan { display: none; } }
.nav-in { gap: 22px; }
.nav-links a, .nav-cta { white-space: nowrap; }
.nav-links a { padding: 8px 10px; }
@media (max-width: 1300px) and (min-width: 901px) { .nav-slogan { display: none; } }
.nav-slogan { font-size: .95rem; letter-spacing: .08em; }
@media (max-width: 900px) { .nav-slogan { font-size: .8rem; } }
@media (max-width: 1360px) and (min-width: 901px) { .nav-slogan { display: none; } }
.nav-tel { display: inline-flex; align-items: center; gap: 6px; }
.nav-tel .ico-mob svg { width: 18px; height: 18px; display: block; color: var(--green); }

/* hlavní nadpis verzálkami */
.h-caps { text-transform: uppercase; font-size: clamp(2.3rem, 5.4vw, 4.4rem); letter-spacing: -.015em; line-height: 1.02; }
@media (max-width: 1080px) { .nav-tel { display: none; } }
@media (max-width: 860px) { .gate-card { grid-template-rows: 260px 1fr; } .gate-img img { object-position: center 30%; } }

/* obrysové tlačítko se zkoseným rohem */
.btn-line {
  --btn-fg: var(--navy); --btn-bg: var(--white);
  position: relative; isolation: isolate;
  background: var(--btn-fg); color: var(--btn-fg); box-shadow: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.btn-line::before {
  content: ''; position: absolute; inset: 2px; z-index: -1; background: var(--btn-bg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9.2px), calc(100% - 9.2px) 100%, 0 100%);
  transition: opacity .15s;
}
.btn-line:hover { background: var(--btn-fg); color: var(--btn-bg); }
.btn-line:hover::before { opacity: 0; }
.hero-navy .btn-line, .sec-navy .btn-line, .sec-navy2 .btn-line { --btn-fg: var(--white); --btn-bg: var(--navy); }
.sec-navy2 .btn-line { --btn-bg: var(--navy-2); }

/* úvodní texty sekcí na celou šířku */
.sec-head .lead { max-width: none; }

/* hero carousel – profese, prolínání přes blur */
.hero-carousel { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: #eef1f4; }
.hero-media .hero-carousel img {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
  object-fit: cover; object-position: 74% center;
  opacity: 0; filter: blur(22px); transform: scale(1.06);
  transition: opacity 1.6s ease, filter 1.6s ease, transform 7s ease-out;
}
.hero-media .hero-carousel img.on { opacity: 1; filter: blur(0); transform: scale(1); }
.hc-label {
  position: absolute; top: 0; left: 0; z-index: 2; background: var(--lime); color: var(--navy);
  font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px;
  transition: opacity .4s;
}
.hc-label.fade { opacity: 0; }
@media (max-width: 900px) { .hero-carousel { aspect-ratio: 4/3; } }
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-carousel img { filter: none; transform: none; transition: opacity .6s; }
}

/* ---------- cookie lišta ---------- */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--navy); color: rgba(255,255,255,.88);
  border-top: 4px solid var(--lime); box-shadow: 0 -12px 32px rgba(0,0,0,.18);
  font-size: .88rem; line-height: 1.45;
}
.cc[hidden] { display: none; }
.cc-in { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-block: 14px; }
.cc-txt { flex: 1 1 420px; margin: 0; }
.cc-txt b { color: var(--white); }
.cc-opts { display: flex; gap: 6px 20px; flex-wrap: wrap; flex-basis: 100%; order: 2; padding-top: 2px; }
.cc-opts[hidden] { display: none; }
.cc-opt { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--white); cursor: pointer; }
.cc-opt input { width: 16px; height: 16px; accent-color: #95b421; }
.cc-opt input:disabled { opacity: .6; }
.cc-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cc-b { font: inherit; font-weight: 700; font-size: .85rem; border: 0; cursor: pointer; padding: 9px 16px; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%); }
.cc-all, .cc-save { background: var(--lime); color: var(--navy); }
.cc-all:hover, .cc-save:hover { background: #a6c62b; }
.cc-save[hidden] { display: none; }
.cc-ghost { background: rgba(255,255,255,.12); color: var(--white); }
.cc-ghost:hover { background: rgba(255,255,255,.2); }
.cc-link { background: none; color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; padding-inline: 6px; clip-path: none; }
.cc-link:hover { color: var(--white); }
.foot-bottom a[data-cookie-settings] { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .cc { font-size: .82rem; }
  .cc-in { gap: 10px; padding-block: 12px; }
  .cc-btns { width: 100%; }
  .cc-all { flex: 1; }
}

/* poznámka pod před/po */
.ba-note { margin-top: 8px; font-size: .72rem; color: var(--ink-2); opacity: .75; text-align: right; }

.foot-ai { display: inline-block; margin-top: 6px; font-size: .74rem; opacity: .75; }

/* ---------- fotky ve formuláři ---------- */
.form .file { position: relative; flex-wrap: wrap; }
.form .file span { color: var(--ink-2); font-weight: 400; font-size: .85rem; }
.form .file:hover { border-color: var(--green); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 15px; line-height: 22px; cursor: pointer; padding: 0; }
.form-err { display: none; background: #fbe9e3; color: #8a3517; padding: 12px 14px; font-weight: 500; font-size: .9rem; }
.form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-consent { font-size: .78rem; color: var(--ink-2); margin-top: -4px; }
.form-consent a, .cc-txt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* textová stránka (zásady, 404) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.25rem; font-weight: 700; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 10px; }
.prose ul { padding-left: 20px; margin-bottom: 10px; }
.prose a:not(.btn) { color: var(--green); }
