/* ==========================================================
   REGRAFIKA – styly webu
   ========================================================== */

/* ---------- Písmo Montserrat (uloženo přímo na webu, bez Google Fonts) ---------- */
/* Běžný řez je proměnný (váhy 400–800), kurzíva jen 800 pro nadpisy. latin-ext = česká diakritika. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/montserrat-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;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/montserrat-italic-800-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: 'Montserrat';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/montserrat-italic-800-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;
}

/* ---------- Proměnné (barvy, zaoblení, stíny) ---------- */
:root {
  --yellow: #FFD400;
  --ink: #111214;
  --ink2: #1b1d20;
  --muted: #666b72;
  --line: #e7e8ea;
  --paper: #fff;
  --soft: #f5f6f7;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(0,0,0,.08);
  --font: Montserrat, Arial, sans-serif;
}

/* ---------- Základ ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
/* Kotvy (např. #sluzby) nesmí zajet pod pevnou hlavičku */
[id] {
  scroll-margin-top: 90px;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(1180px,calc(100% - 40px));
  margin: auto;
}

/* ---------- Přístupnost ---------- */
/* Zvýraznění prvku při ovládání klávesnicí (myší se nezobrazuje).
   Na světlém pozadí tmavý rámeček, na tmavých plochách žlutý. */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.contact-panel :focus-visible {
  outline-color: var(--yellow);
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline-offset: 0;
  border-color: var(--ink);
}
/* Cíl odkazu „Přeskočit na obsah“ – focus bez rámečku */
main:focus {
  outline: none;
}

/* Odkaz „Přeskočit na obsah“ – skrytý, objeví se po stisku Tab */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  transition: top .15s;
}
.skip-link:focus {
  top: 16px;
}
.skip-link:focus-visible {
  outline-color: var(--ink);
}

/* ---------- Hlavička a navigace ---------- */
.site-header {
  background: #101113;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img {
  width: 220px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 600;
}
.nav a,
.drop-toggle {
  color: #f6f6f6;
  transition: .2s;
}
.nav a:hover,
.drop-toggle:hover {
  color: var(--yellow);
}
.nav a.active,
.drop-toggle.active {
  color: var(--yellow);
}
.dropdown {
  position: relative;
}
.drop-toggle {
  background: none;
  border: 0;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.drop-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}
.dropdown:hover .drop-arrow,
.dropdown:focus-within .drop-arrow,
.dropdown.open .drop-arrow {
  transform: rotate(180deg);
}
/* Menu zavřené klávesou Esc zůstane skryté i při focusu/najetí myší */
.nav .dropdown.suppress .dropdown-menu {
  display: none;
}
.nav .dropdown.suppress .drop-arrow {
  transform: none;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 245px;
  background: #1a1c1f;
  padding: 10px;
  border: 1px solid #34373b;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: grid;
}
.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
}
.dropdown-menu a:hover {
  background: #292c30;
}

/* ---------- Tlačítko mobilního menu ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #45484d;
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: 10px;
  border: 2px solid var(--yellow);
  transition: .2s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,212,0,.22);
}
.btn-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-outline:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #111;
}

/* ---------- Hero banner (úvodní stránka) ---------- */
.hero {
  background: #111214;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(8,9,10,.88) 0%,rgba(8,9,10,.72) 34%,rgba(8,9,10,.10) 67%,rgba(8,9,10,0) 100%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #111214;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 76px 0;
  max-width: 620px;
}
.eyebrow {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}
.hero h1 {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(36px,4.6vw,58px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 15px 0 20px;
}
.hero h1 span {
  color: var(--yellow);
}
.hero p {
  font-size: 17px;
  color: #e2e3e5;
  max-width: 570px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Pruh výhod ---------- */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 28px 0;
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 18px;
  border-right: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.trust-item:last-child {
  border: 0;
}
.trust-item small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
/* Ikona: černá kresba ve žlutém kruhu */
.trust-icon {
  width: 54px;
  height: 54px;
  padding: 13px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sekce a nadpisy sekcí ---------- */
.section {
  padding: 76px 0;
}
/* Poslední sekce před pruhem „Máte nápad?“ – vlna pruhu zasahuje do jejího spodního odsazení */
main > .section:last-child {
  padding-bottom: 125px;
}
.section-soft {
  background: var(--soft);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(28px,3vw,38px);
  line-height: 1.1;
  margin: 0;
}
.section-head h2:after {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  background: var(--yellow);
  margin-top: 13px;
}
.section-head p {
  max-width: 530px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Karty služeb ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
}
/* Sekce služeb na úvodu má tmavé pozadí (dle návrhu sluzby-nove.jpg) */
.section-services {
  background: var(--ink);
  color: #fff;
}
.section-services .section-head p {
  color: #c7c9cc;
}
/* Karta: fotka → žlutý pruh s názvem → seznam s ikonami. Celá karta je odkaz na stránku služby. */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
  background: #2a2c30;
}
.service-card h3 {
  margin: 0;
  padding: 16px 14px;
  min-height: 78px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--yellow);
  border-radius: 0 0 18px 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}
/* Odkaz v nadpisu pokrývá celou kartu */
.service-card h3 a:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service-card h3 a:focus-visible {
  outline: none;
}
.service-card:focus-within {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 6px 16px 10px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.3;
}
.service-list li:last-child {
  border-bottom: 0;
}
.service-list svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-list small {
  display: block;
  font-size: 12.5px;
  color: #555a60;
}
.arrow-link {
  font-weight: 800;
  color: #111;
  font-size: 13px;
}
.arrow-link span {
  color: #c49f00;
  margin-left: 5px;
}

/* ---------- Dvousloupcový blok (text + obrázek) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
/* Fotka s odznakem „od roku 2004“ v rohu */
.split-media {
  position: relative;
}
.since-badge {
  position: absolute;
  left: -14px;
  bottom: -14px;
  display: grid;
  place-items: center;
  align-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  border: 5px solid var(--soft);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  transform: rotate(-8deg);
  line-height: 1;
  text-align: center;
}
.since-badge small {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.since-badge strong {
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  margin-top: 4px;
}
/* Na užších obrazovkách by odznak přečníval okraj okna */
@media (max-width:1240px) {
  .since-badge {
    left: 10px;
  }
}
.split h2 {
  font-weight: 800;
  font-style: italic;
  font-size: 34px;
  line-height: 1.1;
  margin: 10px 0 18px;
}
.check-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.check-list li:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  background: var(--yellow);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-weight: 900;
  margin-right: 10px;
}

/* ---------- Výzva „Máte nápad?“ ---------- */
/* Vlna nahoře překrývá spodní odsazení předchozí sekce, takže navazuje na bílé i šedé pozadí. */
.cta-band {
  --wave: 72px; /* musí být menší než spodní odsazení main > .section:last-child */
  position: relative;
  margin-top: calc(var(--wave) * -1);
  padding: calc(var(--wave) + 22px) 0 40px;
  color: #fff;
  background:
    url("assets/cta-vlna.svg") top center / 100% var(--wave) no-repeat,
    linear-gradient(#111214, #111214) bottom / 100% calc(100% - var(--wave) + 1px) no-repeat;
}
.cta-inner {
  width: min(1010px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.cta-inner h2 {
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.cta-inner p {
  color: #e2e3e5;
  margin: 6px 0 0;
}
.cta-btn {
  flex: none;
  gap: 14px;
  padding: 12px 22px;
  font-size: 16px;
}
.cta-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.cta-btn svg:last-child {
  width: 20px;
  height: 20px;
  margin-left: 4px;
}

/* ---------- Patička ---------- */
.site-footer {
  background: #101113;
  color: #fff;
  border-top: 1px solid #34363a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 38px;
  padding: 48px 0 38px;
}
.footer-logo {
  width: 200px;
  margin-bottom: 18px;
}
.footer-about p {
  font-size: 13px;
  color: #c5c7ca;
  max-width: 280px;
}
.footer-col h3 {
  font-size: 14px;
  margin: 0 0 15px;
  color: #fff;
}
.footer-col a,
.footer-col p,
.footer-link-button {
  display: block;
  color: #c6c8cb;
  font-size: 13px;
  margin: 8px 0;
}
/* „Nastavení cookies“ – tlačítko vzhledem jako odkaz */
.footer-link-button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
/* Telefon a e-mail v patičce s ikonou */
.footer-col a.footer-contact {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-link-button:hover,
.footer-col a:hover {
  color: var(--yellow);
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid #555;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .2s, border-color .2s, color .2s;
}
.socials a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-bottom {
  border-top: 1px solid #383a3e;
  padding: 17px 0;
  color: #aaa;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* ---------- Záhlaví podstránek ---------- */
.page-hero {
  background: #141619;
  color: #fff;
  padding: 66px 0;
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 70px solid rgba(255,212,0,.12);
  border-radius: 50%;
  right: -100px;
  top: -250px;
}
.breadcrumbs {
  font-size: 12px;
  color: #aeb2b8;
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: #fff;
}
.page-hero h1 {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(34px,4vw,50px);
  line-height: 1;
  margin: 0 0 15px;
  position: relative;
  z-index: 1;
}
.page-hero p {
  color: #d4d6d9;
  max-width: 690px;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Tmavé záhlaví s fotkou (stránky služeb).
   Fotka se nastavuje v HTML: style="background-image:url('assets/hero-….jpg')".
   Fotky mají tmavou levou část v barvě pozadí (#101013), takže na ně záhlaví plynule navazuje;
   tmavý přechod navíc zajišťuje čitelnost textu. */
.page-hero--photo {
  background-color: #101013;
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 70px 0 64px;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.page-hero--photo:after {
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  inset: 0;
  background: linear-gradient(90deg, #101013 0%, rgba(16,16,19,.9) 34%, rgba(16,16,19,.45) 47%, rgba(16,16,19,0) 60%);
}
.page-hero--photo .container {
  position: relative;
  z-index: 1;
}
.page-hero--photo .container > * {
  max-width: 520px;
}
.page-hero--photo .breadcrumbs a {
  font-weight: 600;
}
.page-hero--photo h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}
.page-hero--photo p {
  font-size: 17px;
}
/* krátká žlutá linka pod textem */
.page-hero--photo p:after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 24px;
  background: var(--yellow);
}

/* ---------- Obsah stránek služeb ---------- */
.page-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 45px;
  align-items: start;
}
/* Stránky služeb: úvodní text vlevo, nabídka v rámečku vpravo (bez ilustrační fotky) */
.page-layout--text {
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.page-layout--text > .content:first-child {
  padding-top: 8px;
}
.page-layout--text > .content:first-child p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.content-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 32px 34px 24px;
}
.content-box h2 {
  margin-top: 0;
}
.content-box .check-list {
  margin: 20px 0 8px;
}
.content h2 {
  font-weight: 800;
  font-style: italic;
  font-size: 27px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.content .check-list {
  margin-bottom: 40px;
}
.content .eyebrow + h2 {
  margin-top: 12px;
}
.content p+h2 {
  margin-top: 30px;
}
.content .btn {
  margin: 0 6px 10px 0;
}
.content p {
  color: #565b61;
}

/* ---------- Podrobný text služby a časté dotazy ---------- */
.section-detail {
  padding-top: 0;           /* navazuje na úvodní blok stránky služby */
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 50px;
  align-items: start;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
.prose h2,
.faq h2 {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  margin: 0 0 12px;
}
.prose h2:not(:first-child) {
  margin-top: 32px;
}
.prose p {
  color: #454a50;
  line-height: 1.75;
  margin: 0 0 14px;
}
.prose .check-list {
  margin: 16px 0 10px;
}
.prose .check-list li {
  position: relative;
  padding-left: 32px;
  color: #454a50;
  line-height: 1.6;
}
.prose .check-list li:before {
  position: absolute;
  left: 0;
  top: 1px;
  margin: 0;
}
.faq {
  position: sticky;
  top: 100px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 14px;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  position: relative;
  padding: 15px 34px 15px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 800;
  line-height: 1;
}
.faq-item[open] summary:after {
  content: "–";
}
.faq-item p {
  margin: -4px 0 16px;
  color: #454a50;
  line-height: 1.65;
}

/* ---------- Bloky výhod / postupu ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 30px;
}
.feature-grid--4 {
  grid-template-columns: repeat(4,1fr);
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.feature strong {
  display: block;
  margin-bottom: 6px;
}
.feature p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Galerie a filtr referencí ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
  object-fit: cover;
  background: #f4f4f4;
  border-radius: 14px;
}
.gallery-grid p {
  margin: 10px 0 0;
}

/* Reference: čtvercové náhledy, kliknutím se fotka zvětší */
.gallery-grid--ref {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ref-item {
  margin: 0;
}
.ref-item[hidden] {
  display: none;
}
.ref-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f4f4;
  cursor: zoom-in;
}
/* Na úvodu náhled vede na stránku referencí */
a.ref-open {
  cursor: pointer;
}
.gallery-grid--ref .ref-open img {
  aspect-ratio: 1/1;
  border-radius: 0;
  object-fit: cover;
  transition: transform .35s;
}
.ref-open:hover img,
.ref-open:focus-visible img {
  transform: scale(1.05);
}
.ref-item figcaption {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.ref-item figcaption span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.ref-empty {
  padding: 30px;
  border: 1px dashed #cfd2d6;
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
}
.ref-empty a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
}

/* Prohlížeč fotografií */
.lightbox {
  max-width: min(92vw, 900px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(8,9,10,.88);
}
.lightbox figure {
  margin: 0;
  text-align: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 12px;
  background: #222;
}
.lightbox figcaption {
  color: #fff;
  margin-top: 12px;
  font-weight: 600;
}
.lightbox-btn {
  position: fixed;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-btn:hover {
  background: var(--yellow);
  color: var(--ink);
}
.lightbox-btn:focus-visible {
  outline-color: var(--yellow);
}
.lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 20px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev {
  left: 18px;
}
.lightbox-next {
  right: 18px;
}
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.filter-btn {
  border: 1px solid #ddd;
  background: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ---------- Textové stránky (Ochrana osobních údajů, Cookies) ---------- */
.legal-text > * {
  max-width: 820px;
}
.legal-text h2 {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  margin: 36px 0 12px;
}
.legal-text h2:first-child {
  margin-top: 0;
}
.legal-text h3 {
  font-size: 18px;
  margin: 26px 0 8px;
}
.legal-text p,
.legal-text li {
  color: #454a50;
}
.legal-text ul,
.legal-text ol {
  padding-left: 22px;
}
.legal-text li {
  margin: 6px 0;
}
.legal-text li::marker {
  color: #c49f00;
}
.legal-text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legal-text a:hover {
  color: #8a6f00;
}
.legal-text code {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: .9em;
}
.legal-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink) !important;
}
/* Rámeček s údaji (správce, úřad, kontakt) */
.legal-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 16px 0 20px;
}
.legal-card p {
  margin: 8px 0 0;
}
.legal-card dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 20px;
  margin: 12px 0 0;
}
.legal-card dt {
  color: var(--muted);
}
.legal-card dd {
  margin: 0;
  font-weight: 600;
}
/* Údaj, který je ještě potřeba doplnit */
.todo {
  background: #fff3b0;
  padding: 0 4px;
  border-radius: 4px;
}
.legal-date {
  margin-top: 30px;
  font-weight: 600;
}

/* ---------- Stránka 404 ---------- */
.not-found {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 110px;
  align-items: center;
}
/* Velké „404“: plakátové písmo Anton (soubor obsahuje jen znaky 0 a 4, 3 kB), žlutá s tmavým stínem */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/anton-404.woff2') format('woff2');
  unicode-range: U+30, U+34;
}
.not-found-code {
  font-family: 'Anton', Impact, "Arial Black", sans-serif;
  font-size: clamp(130px, 19vw, 250px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .01em;
  color: var(--yellow);
  text-shadow: 8px 8px 0 var(--ink);
}
.not-found h2 {
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 10px;
}
.not-found p {
  color: var(--muted);
  max-width: 560px;
}
.not-found-links {
  columns: 2;
  column-gap: 30px;
  max-width: 560px;
  margin: 18px 0 0;
}
.not-found-links li {
  break-inside: avoid;
}
.not-found .btn {
  margin-top: 34px;
}
@media (max-width:720px) {
  .not-found {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .not-found-code {
    justify-self: center;
    font-size: clamp(150px, 46vw, 230px);
    text-shadow: 6px 6px 0 var(--ink);
  }
  .not-found-links {
    columns: 1;
  }
}

/* ---------- Mapa webu ---------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sitemap-col {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
}
.sitemap-col h2 {
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 16px;
}
.sitemap-col h2:after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--yellow);
  margin-top: 10px;
}
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  transition: color .2s;
}
.sitemap-list li:last-child a {
  border-bottom: 0;
}
.sitemap-list a:before {
  content: "→";
  color: #c49f00;
}
.sitemap-list a:hover,
.sitemap-col h2 a:hover {
  color: #c49f00;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 35px;
}
.contact-panel {
  background: #111214;
  color: #fff;
  border-radius: 18px;
  padding: 28px;
}
.contact-panel p {
  color: #d2d4d6;
}
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #3a3c40;
  font-size: 15px;
  line-height: 1.5;
}
.contact-line:last-child {
  border-bottom: 0;
}
.contact-line svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-line span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9a9ea4;
}
.contact-line a {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.contact-line a:hover {
  color: var(--yellow);
}
/* Formulář poptávky: chyby, hlášky, potvrzení */
.field.has-error input,
.field.has-error textarea {
  border-color: #c62828;
  background: #fff8f8;
}
.field-error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #b71c1c;
}
.form-alert {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 10px;
  border-left: 4px solid #c62828;
  background: #fdecec;
  color: #7f1d1d;
  font-size: 14px;
}
.form-alert a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.form-done {
  text-align: center;
  padding: 44px 32px;
  align-self: start;
}
.form-done svg {
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 50%;
  background: var(--yellow);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-done h2 {
  margin: 16px 0 10px;
}
.form-done p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 22px;
}
.form-done p a {
  color: var(--ink);
  font-weight: 700;
}
.form-done:focus {
  outline: none;
}
/* Past na roboty – mimo obrazovku */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.btn[disabled] {
  opacity: .7;
  cursor: wait;
}
.form-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
}

/* ---------- Formulář ---------- */
.form-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 13px;
  font-weight: 700;
}
.field input,
.field textarea,
.field select {
  border: 1px solid #d9dce0;
  border-radius: 9px;
  padding: 12px;
  background: #fff;
  width: 100%;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}
.field label.checkbox input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--yellow);
}
.form-card .btn {
  justify-self: start;
}
.contact-panel h2,
.form-card h2 {
  font-weight: 800;
  font-style: italic;
  font-size: 26px;
  line-height: 1.15;
  margin: 8px 0 14px;
}
.form-note {
  font-size: 12px;
  color: #777;
  margin: 0;
}
.notice {
  display: none;
  margin-top: 15px;
  padding: 12px;
  border-radius: 9px;
  background: #fff7cc;
  color: #594900;
  font-size: 13px;
}

/* ---------- Lišta cookies a okno nastavení ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  justify-content: center;
}
.cookie-bar[hidden] {
  display: none;
}
.cookie-bar-inner {
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 24px;
  background: var(--ink);
  color: #fff;
  border: 1px solid #34373b;
  border-top: 4px solid var(--yellow);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.cookie-bar-text strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.cookie-bar-text p {
  margin: 0;
  font-size: 14px;
  color: #c7c9cc;
}
.cookie-bar-text a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.cookie-btn {
  padding: 11px 18px;
  font-size: 14px;
}
.cookie-btn:hover {
  transform: none;
}
/* Odmítnutí má stejnou váhu jako přijetí (plné tlačítko stejné velikosti) */
.cookie-btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.cookie-btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.cookie-btn--outline:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}
.cookie-link {
  background: none;
  border: 0;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 6px;
  cursor: pointer;
}
.cookie-link:hover {
  color: var(--yellow);
}
.cookie-bar :focus-visible {
  outline-color: var(--yellow);
}

.cookie-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  color: var(--ink);
}
.cookie-dialog::backdrop {
  background: rgba(10,11,12,.6);
}
.cookie-dialog form {
  position: relative;
  padding: 30px 30px 26px;
}
.cookie-dialog h2 {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 8px;
}
.cookie-dialog form > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cookie-option p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cookie-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
  font-size: 16px;
}
.cookie-dialog-close:hover {
  background: var(--line);
}

/* Přepínač (checkbox vzhledem jako vypínač) */
.switch {
  position: relative;
  flex: none;
  display: inline-block;
  width: 48px;
  height: 28px;
}
.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9ccd0;
  transition: background .2s;
  pointer-events: none;
}
.switch-track:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform .2s;
}
.switch input:checked + .switch-track {
  background: var(--ink);
}
.switch input:checked + .switch-track:after {
  transform: translateX(20px);
  background: var(--yellow);
}
.switch input:disabled {
  cursor: not-allowed;
}
.switch input:disabled + .switch-track {
  opacity: .55;
}
.switch input:focus-visible + .switch-track {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- Tablet (do 980 px) ---------- */
@media (max-width:980px) {
  .cookie-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-bar-actions {
    flex-wrap: wrap;
  }

  .nav {
    gap: 18px;
  }

  .feature-grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid--ref {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Pruh výhod: 4 položky se na tablet nevejdou vedle sebe */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 14px;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .since-badge {
    left: 10px;
    bottom: -12px;
    width: 100px;
    height: 100px;
  }

  .since-badge strong {
    font-size: 28px;
  }

  .cards {
    grid-template-columns: repeat(3,1fr);
  }

  .page-layout--text {
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

/* ---------- Mobil (do 720 px) ---------- */
@media (max-width:720px) {
  .container {
    width: min(100% - 30px,560px);
  }

  /* Záhlaví s fotkou: text nahoře, fotka pod ním (zarovnaná vpravo, bílá část vlevo se ořízne) */
  .page-hero--photo {
    display: block;
    min-height: 0;
    /* výška fotky ≈ 47 % šířky → na šířku se vejde celá pravá (obrazová) část fotky */
    padding: 40px 0 calc(min(47vw, 260px) + 10px);
    background-size: auto min(47vw, 260px);
    background-position: right bottom;
  }

  .page-hero--photo:after {
    background: linear-gradient(180deg, #101013 0%, #101013 55%, rgba(16,16,19,0) 72%);
  }

  .nav-wrap {
    height: 72px;
  }

  .brand img {
    width: 185px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #101113;
    padding: 15px 22px 22px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid #333;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .drop-toggle {
    padding: 12px 0;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    margin: 0 0 8px;
  }

  .hero {
    min-height: 0;
    display: block;
    padding-bottom: 62vw;
  }

  .hero-bg {
    background-size: 180% auto;
    background-position: 78% bottom;
    background-repeat: no-repeat;
  }

  .hero:after {
    background: linear-gradient(180deg,rgba(8,9,10,.96) 0%,rgba(8,9,10,.9) 45%,rgba(8,9,10,.15) 75%,rgba(8,9,10,0) 100%);
  }

  .hero-content {
    padding: 45px 0 40px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    border: 0;
    padding: 5px;
    gap: 12px;
    font-size: 14px;
  }

  .trust-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .section {
    padding: 55px 0;
  }

  main > .section:last-child {
    padding-bottom: 85px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 18px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .service-card img {
    height: auto;
  }

  .split,
  .page-layout,
  .contact-grid,
  .sitemap-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .detail-grid {
    padding-top: 34px;
  }

  .faq {
    position: static;
    padding: 22px 20px 10px;
  }

  .legal-card dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-card dd {
    margin-bottom: 8px;
  }

  .split img {
    max-height: 300px;
  }

  .content-box {
    padding: 26px 22px 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid img {
    height: auto;
  }

  .cta-band {
    --wave: 44px;
  }

  .cta-inner {
    width: min(100% - 30px, 560px);
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }
}

/* ---------- Malý mobil (do 420 px) ---------- */
@media (max-width:420px) {
  .cookie-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .cookie-bar-inner {
    padding: 16px;
  }

  .cookie-bar-actions .cookie-btn {
    flex: 1 1 100%;
  }

  .cookie-dialog form {
    padding: 24px 20px 20px;
  }

  .cookie-dialog-actions .cookie-btn {
    flex: 1 1 100%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: auto;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }
}
