:root {
  --tyrkys: #33CCCC;
  --tyrkys-tmava: #1FA8A8;
  --tmava: #111827;
  --text: #374151;
  --seda: #6B7280;
  --pruh: #7F7F7F;
  --karta: #F3F5F7;
  --linka: #E5E7EB;
  --bila: #FFFFFF;
  --r: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: 'Montserrat', system-ui, sans-serif; color: var(--text); background: var(--bila); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--tmava); line-height: 1.25; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.5rem; }
h2 span { font-weight: 400; }
h3 { font-size: 1.05rem; }
.wrap { max-width: 1680px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 48px); }
.section { padding: 88px 0; }
.alt { background: var(--karta); }
.mt { margin-top: 72px; }
section[id]:not(.hero) { scroll-margin-top: -60px; }

.btn { display: inline-block; background: var(--tyrkys); color: var(--bila); font-weight: 600; text-decoration: none; padding: 13px 26px; border-radius: 6px; transition: background .2s; }
.btn:hover { background: var(--tyrkys-tmava); }
.btn-ghost { background: transparent; color: var(--tmava); box-shadow: inset 0 0 0 2px var(--tyrkys); }
.btn-ghost:hover { background: var(--tyrkys); color: var(--bila); }
.btn-sm { padding: 8px 18px; }

/* Hlavička */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linka); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 36px; width: auto; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--tmava); }
nav a:not(.btn):hover { color: var(--tyrkys-tmava); }
nav a.btn { color: var(--bila); }
.lang { display: flex; border: 1px solid var(--linka); border-radius: 6px; overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang b, .lang a { padding: 6px 10px; }
.lang b { background: var(--tmava); color: var(--bila); }
.lang a { color: var(--seda); }
.lang a:hover { color: var(--tyrkys-tmava); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--tmava); margin: 5px 0; }

/* Úvod */
.hero { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); padding-top: 48px; padding-bottom: 88px; align-items: center; }
.hero-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 28px; right: 28px; bottom: 28px; background: var(--tyrkys); color: var(--bila); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.3; padding: 18px 28px; border-radius: 6px; }
.hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1.2rem; }
.lead { font-size: 1.02rem; color: var(--seda); }
.hero-text .lead + .lead { margin-top: .7rem; }
.lead strong { color: var(--tmava); }
.ticks.cols { columns: 2; column-gap: 32px; margin: .6rem 0 1.2rem; }
.ticks.cols li { break-inside: avoid; margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
.stats div { background: var(--karta); border-left: 4px solid var(--tyrkys); padding: 16px 18px; border-radius: 4px; }
.stats strong { display: block; color: var(--tmava); font-size: 1.15rem; white-space: nowrap; }
.stats span { display: block; font-size: .78rem; color: var(--seda); line-height: 1.4; margin-top: 4px; }

/* Produkty – karty */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; aspect-ratio: 3 / 2; background: var(--karta); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover img { transform: scale(1.05); }
.card div, .gallery figcaption { position: absolute; inset: auto 0 0 0; min-height: 25%; display: flex; flex-direction: column; justify-content: center; padding: 10px 20px; background: rgba(75,85,99,.62); }
.card h3 { color: var(--bila); font-size: 1.15rem; }
.card p { color: var(--bila); font-size: .88rem; line-height: 1.4; }

/* Produkty – detail */
.products { padding-bottom: 40px; }
.product { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--linka); }
.product > img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product.rev > img { order: 2; }
.product h2 { margin-bottom: 1rem; }
.kicker { color: var(--tyrkys-tmava); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .4rem; }
.ticks { list-style: none; margin: 1.2rem 0; }
.ticks li { position: relative; padding-left: 28px; margin: .45rem 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--tyrkys); border-bottom: 3px solid var(--tyrkys); transform: rotate(-45deg); }
.refs { background: var(--karta); border-radius: 6px; padding: 14px 18px; font-size: .9rem; }
.refs strong { color: var(--tmava); }

/* Realizace na klíč */
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; text-align: center; }
.steps::before { content: ""; position: absolute; top: 32px; left: calc((100% - 108px) / 14); right: calc((100% - 108px) / 14); height: 1px; background: var(--tyrkys); }
.steps li { position: relative; }
.steps img { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 4px; }
.steps b { color: var(--tyrkys-tmava); font-size: .85rem; }
.steps h3 { font-size: .95rem; margin-top: 2px; }
.bar { margin-top: 99px; background: var(--bila); border-radius: 6px; border-left: 4px solid var(--tyrkys); padding: 14px 18px; font-size: .9rem; }

/* Projekty */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-bottom: 40px; }
.gallery figure { grid-column: span 3; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { color: var(--bila); font-size: .88rem; font-weight: 600; line-height: 1.35; padding: 8px 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.dots { list-style: none; }
.dots li { position: relative; padding-left: 22px; margin: .5rem 0; }
.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--tyrkys); }
.logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.logos img { height: 64px; width: auto; }
.logos .logo-praha { height: 110px; }
.logo-predi { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.3rem; color: #1C2F67; }
.logos .logo-predi img { height: 64px; }
.clients { font-weight: 500; color: var(--tmava); }

/* O nás */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.vision h3, .team h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.vision p + p { margin-top: .8rem; }
.values { display: grid; gap: 14px; }
.values div { background: var(--bila); border-radius: 6px; padding: 18px 22px; border-left: 4px solid var(--tyrkys); }
.values p { font-size: .92rem; margin-top: 4px; }
.team { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: start; }
.team > img { border-radius: var(--r); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.team p { margin-bottom: .8rem; }
.team h4 { margin: 24px 0 10px; font-size: .95rem; }
.small { font-size: .85rem; color: var(--seda); }
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.members span { display: flex; align-items: center; justify-content: center; background: var(--bila); border: 1px solid var(--linka); border-radius: 6px; height: 88px; padding: 14px 18px; }
.members img { max-height: 44px; width: auto; }

/* Kariéra */
.intro { max-width: 980px; margin-bottom: 1.2rem; }
.box { background: var(--karta); border-radius: var(--r); padding: 24px 26px; }
.box h3 { margin-bottom: .6rem; }
.box h4 { font-size: 1rem; margin-bottom: .6rem; color: var(--tmava); }
.box p { margin-bottom: .4rem; }
.career-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.jobs-title { font-size: 1.25rem; margin: 48px 0 16px; }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jobs .box { border-top: 4px solid var(--tyrkys); }
.cta-line { margin-top: 36px; font-size: 1.05rem; }
.cta-line a { color: var(--tyrkys-tmava); font-weight: 700; }

/* Kontakt */
.contact { background: var(--tmava); color: #D1D5DB; padding: 88px 0; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { color: var(--bila); }
.contact .lead { color: #D1D5DB; margin-bottom: 24px; }
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin-top: 36px; font-size: .95rem; }
.contact dt { color: var(--tyrkys); font-weight: 600; }
.contact dd { color: var(--bila); }
.firms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; margin-top: 32px; }
.firms h3 { color: var(--bila); padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact .firms dl { margin-top: 0; }
.map img { border-radius: var(--r); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; margin-top: 14px; }
.map figcaption strong { color: var(--bila); font-size: 1.05rem; }
.map figcaption span { color: #9CA3AF; font-size: .88rem; }
.map figcaption a { color: var(--tyrkys); font-weight: 600; text-decoration: none; }
.map figcaption a:hover { text-decoration: underline; }

/* Patička */
.foot { background: var(--tyrkys); color: var(--bila); padding: 18px 0; font-size: .9rem; }
.foot-in { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot a { font-weight: 700; text-decoration: none; }

/* Responzivita */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .gallery figure:nth-child(n) { grid-column: span 6; }
  .jobs { grid-template-columns: 1fr; }
  .members { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .burger { display: block; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bila); border-bottom: 1px solid var(--linka); padding: 8px 16px 16px; }
  nav.open { display: flex; }
  nav a { padding: 12px 4px; border-bottom: 1px solid var(--linka); }
  nav a.btn { margin-top: 12px; text-align: center; border: 0; }
  nav .lang { align-self: flex-start; margin-top: 14px; }
  nav .lang a { border: 0; padding: 6px 10px; }
  .hero, .product, .about, .team, .contact-in, .two, .career-cols { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 24px; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .product.rev > img { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .team > img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
}
@media (max-width: 560px) {
  .section, .contact { padding: 60px 0; }
  section[id]:not(.hero) { scroll-margin-top: -32px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { gap: 10px; }
  .gallery figure:nth-child(n) { grid-column: span 12; aspect-ratio: 3 / 2; }
  .ticks.cols { columns: 1; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 8px; }
  .hero-badge { left: 16px; right: 16px; bottom: 16px; padding: 12px 18px; }
}
