/* ==========================================================================
   Skupina MPvolt — společné styly webů MPvolt a MPsoft
   Barvy značky přepisuje soubor theme.css každého webu (proměnné --primary…).
   ========================================================================== */

/* Manrope (SIL OFL 1.1) — hostováno lokálně */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-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 {
  /* společné */
  --navy: #0A2C63;
  --navy-dark: #071F4A;
  --text: #17345F;
  --muted: #5A6E91;
  --line: #E1E8F2;
  --line-strong: #C9D5E6;
  --surface: #F0F5FC;
  --white: #FFFFFF;
  --error: #C81E1E;

  /* značka (přepisuje theme.css) */
  --primary: #0B5CFF;
  --primary-dark: #0047D6;
  --primary-soft: #E7F0FF;
  --primary-light: #8CB0FF;
  --accent: #FFC61A;
  --dots: rgba(52, 128, 255, .85);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --section-y: clamp(64px, 8vw, 104px);
  --radius: 20px;

  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
address { font-style: normal; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
.prose a, .faq-body a, .lead a, .info-rows a, .legal a { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.site-header :focus-visible,
.hero :focus-visible,
.news-card:focus-visible,
.promo-card :focus-visible { outline-color: var(--accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--surface); }
.hl { color: var(--primary); }

.section-title {
  margin-bottom: clamp(32px, 4vw, 48px);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.section-title + .section-intro { margin: -24px 0 40px; max-width: 60ch; }

/* --------------------------------------------------------------------------
   Tlačítka (obdélník, verzálky, šipka)
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-border: var(--primary);
  --btn-arrow: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 24px;
  border: 1.5px solid var(--btn-border);
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .2em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { --btn-bg: var(--primary-soft); color: var(--btn-fg); }
.btn .icon { width: 26px; height: 26px; color: var(--btn-arrow); stroke-width: 1.5; transition: transform .2s; }
.btn:hover .icon { transform: translateX(4px); }
.btn:disabled { opacity: .6; cursor: progress; }

.btn-primary { --btn-bg: var(--primary); --btn-fg: #fff; --btn-border: var(--primary); --btn-arrow: #fff; }
.btn-primary:hover { --btn-bg: var(--primary-dark); --btn-border: var(--primary-dark); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--navy); --btn-border: #fff; --btn-arrow: var(--primary); }
.btn-white:hover { --btn-bg: var(--surface); --btn-border: var(--surface); }
.btn-ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .75); --btn-arrow: #fff; }
.btn-ghost:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-border: #fff; }

/* --------------------------------------------------------------------------
   Hlavička
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  transition: background-color .25s, box-shadow .25s;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; flex: none; }
.logo img { width: auto; height: 34px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  padding: 0 16px;
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::before,
.nav-link.is-current::before { transform: scaleX(1); }
.nav-link .icon { width: 15px; height: 15px; color: var(--accent); }

.lang-link {
  padding: 8px 10px;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.lang-link:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Úvodní stránka: průhledná hlavička přes fotku, po odrolování tmavá */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.home .site-header.is-scrolled,
.home.nav-open .site-header { background: var(--navy); box-shadow: 0 10px 30px -18px rgba(7, 31, 74, .6); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { padding-block: 8px 32px; }
.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.m-link:hover { color: var(--accent); }
.m-link .icon { width: 22px; height: 22px; color: var(--accent); }
.mobile-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; }
.mobile-meta a { color: var(--on-dark, #D2DCEF); font-weight: 600; }

/* --------------------------------------------------------------------------
   Úvodní fotka (hero) a novinka
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(780px, 94vh);
  background: var(--navy-dark);
  color: #fff;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 31, 74, .7) 0%, rgba(7, 31, 74, 0) 26%),
    linear-gradient(90deg, rgba(7, 31, 74, .92) 0%, rgba(7, 31, 74, .7) 42%, rgba(7, 31, 74, .2) 100%);
}
.hero-inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: 160px; }
.hero-kicker { margin-bottom: 18px; color: rgba(255, 255, 255, .92); font-size: 1.05rem; font-weight: 600; }
.hero h1 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(2.1rem, 1.3rem + 4.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero-lead { max-width: 54ch; margin-top: 22px; color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.news-wrap { position: relative; z-index: 2; display: flex; justify-content: flex-end; margin-top: -116px; }
.news-card {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
  padding: 28px 30px 24px;
  border-radius: var(--radius);
  background: var(--primary);
  box-shadow: 0 30px 60px -30px rgba(7, 31, 74, .65);
  color: #fff;
  transition: background-color .2s;
}
.news-card:hover { background: var(--primary-dark); color: #fff; }
.news-meta { display: flex; justify-content: space-between; gap: 16px; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.news-card strong { font-size: 1.15rem; line-height: 1.35; }
.news-card span { font-size: .92rem; line-height: 1.55; }
.news-card .icon { justify-self: end; width: 30px; height: 30px; stroke-width: 1.5; transition: transform .2s; }
.news-card:hover .icon { transform: translate(3px, -3px); }
.news-wrap + .section { padding-top: clamp(40px, 5vw, 64px); }

/* --------------------------------------------------------------------------
   Záhlaví podstránek
   -------------------------------------------------------------------------- */
.page-head { padding-block: clamp(40px, 5vw, 64px) clamp(48px, 6vw, 88px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px 72px; }
.breadcrumb { margin-bottom: 26px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.breadcrumb li + li::before { content: "›"; color: var(--muted); }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--muted); }
.page-head h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; }
.lead { max-width: 58ch; margin-top: 26px; color: var(--text); font-size: 1.08rem; }
.page-head-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; }

/* --------------------------------------------------------------------------
   Karty služeb
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--primary); box-shadow: 0 22px 44px -28px rgba(10, 44, 99, .45); }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--primary); outline-offset: 3px; }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.card-icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.32rem; line-height: 1.25; }
.card-link { color: inherit; }
.card-link:hover { color: inherit; }
.card-link:focus-visible { outline: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { margin-top: 12px; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.card-tag {
  align-self: flex-start;
  margin-top: 16px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.card-arrow { margin-top: auto; padding-top: 26px; color: var(--primary); }
.card-arrow .icon { width: 30px; height: 30px; stroke-width: 1.5; transition: transform .2s; }
.card:hover .card-arrow .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Dva vycentrované bloky
   -------------------------------------------------------------------------- */
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; text-align: center; }
.block h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
.block p { max-width: 38ch; margin: 18px auto 28px; }

/* --------------------------------------------------------------------------
   Fotka + text
   -------------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px 72px; }
.feature-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; }
.feature h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; margin: 26px 0 32px; }

/* --------------------------------------------------------------------------
   Dvě velké karty před patičkou
   -------------------------------------------------------------------------- */
.promo-cards { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; }
.promo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  color: #fff;
}
.promo-card h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); }
.promo-card p { max-width: 42ch; margin-top: 14px; color: rgba(255, 255, 255, .92); }
.promo-card .btn,
.promo-card .round-btn { margin-top: auto; }
.promo-card > * { position: relative; }
.promo-dots { background: var(--navy); }
.promo-dots::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, var(--dots) 1.9px, transparent 2.3px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(105deg, transparent 32%, #000 96%);
  mask-image: linear-gradient(105deg, transparent 32%, #000 96%);
}
.promo-sister { background: linear-gradient(140deg, var(--sister-primary, var(--primary)), var(--sister-dark, var(--primary-dark))); }
.promo-sister .sister-mark {
  position: absolute;
  right: -70px;
  bottom: -90px;
  z-index: -1;
  width: 250px;
  height: 250px;
  opacity: .16;
  transform: rotate(-12deg);
}
.promo-sister h2,
.promo-sister p { max-width: 15ch; }
.promo-sister p { max-width: 34ch; }
.promo-sister .sister-logo { height: 30px; width: auto; margin-bottom: 26px; }
.round-btn {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  color: #fff;
  transition: background-color .2s;
}
.round-btn .icon { width: 24px; height: 24px; }
.promo-card:hover .round-btn { background: rgba(255, 255, 255, .14); }
.promo-link { color: #fff; }
.promo-link:hover { color: #fff; }
.promo-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* --------------------------------------------------------------------------
   Detail služby
   -------------------------------------------------------------------------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 48px 80px; }
.prose h2 { margin: 44px 0 4px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 66ch; margin-top: 14px; font-size: 1.02rem; }

.info-card { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: var(--surface); }
.info-card h2 { margin-bottom: 18px; font-size: 1.35rem; }
.info-card .checks { margin-bottom: 28px; }
.info-card .btn { width: 100%; }

.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; color: var(--navy); font-weight: 600; line-height: 1.5; }
.checks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background-color: var(--primary);
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { padding-top: 22px; border-top: 2px solid var(--primary); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 12px; color: var(--primary); font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* Časté dotazy */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary .icon { width: 24px; height: 24px; color: var(--primary); transition: transform .25s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-body { max-width: 70ch; padding-bottom: 24px; }

/* --------------------------------------------------------------------------
   Údaje o společnosti, kontakt, skupina
   -------------------------------------------------------------------------- */
.facts div,
.info-rows div {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 4px 24px;
  padding: 11px 0;
  font-size: .95rem;
}
.facts { border-top: 1px solid var(--line-strong); }
.facts div { border-bottom: 1px solid var(--line-strong); }
.facts dt,
.info-rows dt { color: var(--text); }
.facts dd,
.info-rows dd { color: var(--navy); font-weight: 700; }
.facts-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; font-weight: 700; }
.facts-links a { display: inline-flex; align-items: center; gap: 6px; }
.facts-links .icon { width: 16px; height: 16px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px 72px; }
.panel { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--surface); }
.panel h2 { font-size: 1.6rem; }
.panel address { margin: 14px 0 22px; }
.col-title { margin-bottom: 18px; font-size: 1.6rem; }
.col-title + p { margin-bottom: 18px; }

.group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.group-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.group-card img { width: auto; height: 32px; margin-bottom: 22px; }
.group-card p { color: var(--text); }
.group-card .btn { margin-top: 24px; }

.licenses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }

/* Formulář */
.form { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 24px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .9rem; font-weight: 700; }
.req { color: var(--primary); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2C63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: #6A7C9C; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 18px; color: var(--muted); font-size: .88rem; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-required { color: var(--muted); font-size: .85rem; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.form-status[data-state="success"] { background: #E5F6EC; color: #0E6B37; }
.form-status[data-state="error"] { background: #FDECEC; color: #A61B1B; }
.form-status[data-state="info"],
.form-status[data-state="pending"] { background: var(--primary-soft); color: var(--primary-dark); }

/* Právní text a 404 */
.legal { max-width: 760px; }
.legal h2 { margin: 36px 0 10px; font-size: 1.3rem; }
.legal h2:first-child { margin-top: 0; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.legal .legal-date { margin-top: 36px; color: var(--muted); }
.error-page { padding-block: clamp(56px, 9vw, 120px); text-align: center; }
.error-code { color: var(--primary); font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.error-page h1 { margin-top: 10px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.error-page .lead { margin-inline: auto; }
.error-page .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Patička (bílá)
   -------------------------------------------------------------------------- */
.site-footer { padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); color: var(--navy); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo img { width: auto; height: 32px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.footer-col a:hover { color: var(--primary); }
.footer-col .icon { width: 14px; height: 14px; color: var(--primary); }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 14px 0 28px; color: var(--muted); font-size: .8rem; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--primary); }

/* --------------------------------------------------------------------------
   Responzivita
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .main-nav,
  .header-inner > .lang-link { display: none; }
  .nav-toggle { display: inline-flex; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1061px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 900px) {
  .page-head-grid,
  .content-grid,
  .feature,
  .two-col,
  .promo-cards { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .logo img { height: 30px; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 31, 74, .78) 0%, rgba(7, 31, 74, .86) 100%); }
  .hero-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 96px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .news-wrap { margin-top: -56px; }
  .cards,
  .cards-3,
  .blocks,
  .group,
  .licenses,
  .checks-2,
  .cols-2,
  .steps,
  .form-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .facts div,
  .info-rows div { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-footer .btn { flex: 1 1 100%; }
}

@media print {
  .site-header,
  .news-wrap,
  .promo-cards,
  .form { display: none; }
  .hero { min-height: 0; color: var(--navy); }
  .hero h1, .hero-lead, .hero-kicker { color: var(--navy); }
  .hero-img, .hero::before { display: none; }
}

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