:root {
  --navy: #082f5b;
  --blue: #0b65a5;
  --blue-2: #1689c4;
  --pale: #eaf7fc;
  --pale-2: #f4fbfe;
  --yellow: #ffbd0a;
  --teal: #12b79f;
  --coral: #f27687;
  --ink: #10273e;
  --muted: #52697d;
  --line: #d6e4ed;
  --white: #fff;
  --page: #eef4f7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.icon {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--small { width: 16px; height: 16px; }
.icon--large { width: 31px; height: 31px; }
.menu-button .icon--close { display: none; }
.menu-button.is-open .icon--menu { display: none; }
.menu-button.is-open .icon--close { display: block; }

.site-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 28px auto 0;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(23, 56, 83, 0.12);
}

.site-header {
  min-height: 82px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 38px;
  background: var(--white);
  border-bottom: 1px solid #edf2f5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  white-space: nowrap;
}

.brand__shield {
  width: 37px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
}

.brand__word {
  color: #101820;
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -1px;
}

.brand__word span {
  color: #303b46;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 2.35vw, 42px);
  color: #111820;
  font-size: 13px;
  font-weight: 750;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--blue-2);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); }

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 5px 5px 0 #0e8fc7;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #0e8fc7;
}

.menu-button, .mobile-nav { display: none; }

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  align-items: stretch;
}

.portal-main { min-width: 0; }

.portal-hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.portal-hero__copy {
  position: relative;
  z-index: 3;
  padding: 43px 28px 34px 44px;
}

.kicker {
  margin: 0 0 13px;
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

.portal-hero h1 {
  max-width: 640px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(42px, 4.5vw, 65px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -3px;
}

.hero-text {
  max-width: 640px;
  margin: 18px 0 27px;
  color: #263c50;
  font-size: 17px;
  line-height: 1.5;
}

.hero-search { max-width: 690px; }

.hero-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.hero-search__row {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 10px;
}

.hero-search input {
  min-width: 0;
  height: 59px;
  padding: 0 18px;
  border: 2px solid var(--blue);
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  box-shadow: 0 9px 18px rgba(27, 79, 118, 0.11);
}

.hero-search input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(22, 137, 196, 0.15); }
.hero-search input::placeholder { color: #738597; }

.hero-search button {
  height: 59px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--yellow);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 9px 18px rgba(27, 79, 118, 0.11);
}

.hero-search button:hover,
.hero-search button:focus-visible { background: #efad00; }

.search-message {
  margin-top: 11px;
  padding: 10px 13px;
  border-left: 4px solid var(--teal);
  background: #eefaf8;
  color: #375365;
  font-size: 12px;
  line-height: 1.5;
}

.coating-visual {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 8px 16px 0;
  background: #f8fbfd;
}

.coating-visual__image {
  width: 100%;
  height: auto;
  max-height: 390px;
  display: block;
  object-fit: contain;
}

.category-section {
  padding: 20px 32px 29px;
  background: var(--pale);
}

.section-minihead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 15px;
}

.section-minihead h2 { margin: 0; color: var(--navy); font-size: 16px; }
.section-minihead a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 11px; font-weight: 750; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.category-card {
  --tone: var(--blue);
  min-width: 0;
  min-height: 91px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 28px 15px 14px;
  background: var(--white);
  border-bottom: 5px solid var(--tone);
  box-shadow: 0 6px 13px rgba(27, 71, 101, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.category-card:hover,
.category-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 18px rgba(27, 71, 101, 0.17); }
.category-card__icon { flex: 0 0 auto; color: var(--tone); }
.category-card b, .category-card small { display: block; }
.category-card b { color: #111820; font-size: 14px; line-height: 1.2; }
.category-card small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.25; }
.category-card__arrow { position: absolute; right: 9px; bottom: 10px; color: #8ea1b1; }
.category-card--ochre { --tone: #aa672f; }
.category-card--azure { --tone: #00a6d8; }
.category-card--yellow { --tone: #e9b800; }
.category-card--teal { --tone: #0ea98f; }
.category-card--brown { --tone: #8d4b2f; }
.category-card--mint { --tone: #30b89d; }
.category-card--coral { --tone: #e56b7d; }
.category-card--navy { --tone: #164f87; }

.portal-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f7fbfd;
  border-left: 1px solid var(--line);
}

.aside-questions { padding: 18px 17px 20px; background: #e9f7fc; border-bottom: 1px solid var(--line); }
.aside-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; color: var(--blue); }
.aside-title span { color: var(--blue-2); font-size: 9px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.aside-title h2 { margin: 3px 0 0; color: var(--navy); font-size: 17px; }
.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.question-grid a { min-height: 103px; display: flex; flex-direction: column; padding: 11px; background: var(--white); border: 1px solid #e3edf2; }
.question-grid a:hover, .question-grid a:focus-visible { border-color: var(--blue-2); }
.question-grid span { color: var(--blue-2); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.question-grid b { margin-top: 8px; color: #132a3e; font-size: 10px; line-height: 1.28; }
.question-grid small { margin-top: auto; color: var(--blue); font-size: 8px; font-weight: 750; }

.journey { padding: 19px 17px 22px; background: var(--white); border-bottom: 1px solid var(--line); }
.journey h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0 0 13px; color: var(--navy); font-size: 9px; line-height: 1.4; }
.journey__steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.journey__step { min-height: 88px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 8px 5px; color: var(--navy); text-align: center; }
.journey__step:not(:last-child)::after { content: ""; width: 12px; height: 12px; position: absolute; right: -6px; top: 38px; z-index: 2; background: inherit; transform: rotate(45deg); }
.journey__step span { position: relative; z-index: 3; font-size: 8px; font-weight: 700; line-height: 1.2; }
.journey__step svg { position: relative; z-index: 3; }
.journey__step--blue { background: #7dcae8; }
.journey__step--yellow { background: #ffe075; }
.journey__step--coral { background: #f6adb8; }
.journey__step--teal { background: #93ddd1; }

.partner-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 18px 17px; padding: 14px; background: var(--pale); border-left: 5px solid var(--blue-2); }
.partner-card__icons { display: flex; align-items: center; gap: 3px; color: var(--blue); }
.partner-card h2 { margin: 0; color: var(--navy); font-size: 13px; }
.partner-card p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.partner-card > a { grid-column: 2; justify-self: start; padding: 7px 11px; background: var(--blue); color: var(--white); font-size: 8px; font-weight: 800; }

.aside-links { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 17px; background: var(--blue); color: var(--white); }
.aside-links div { display: flex; flex-direction: column; gap: 5px; }
.aside-links b { margin-bottom: 2px; font-size: 8px; }
.aside-links a { color: #c5e1f2; font-size: 7px; }

.content-width { width: min(1190px, calc(100% - 48px)); margin-inline: auto; }

.explanation { padding: 95px 0; background: var(--white); }
.explanation__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; }
.section-label { margin: 0 0 13px; color: var(--blue-2); font-size: 11px; font-weight: 850; letter-spacing: 1.3px; text-transform: uppercase; }
.explanation h2, .partner-section h2 { max-width: 600px; margin: 0; color: var(--navy); font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -2.1px; }
.explanation__points { border-top: 1px solid var(--line); }
.explanation__points article { display: grid; grid-template-columns: 40px 1fr; gap: 17px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.explanation__points svg { color: var(--blue-2); }
.explanation__points h3 { margin: 0; color: var(--navy); font-size: 17px; }
.explanation__points p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.partner-section { padding: 76px 0; background: var(--pale); }
.partner-section__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.partner-section h2 { max-width: 780px; font-size: clamp(32px, 3.6vw, 49px); }
.partner-section__inner > a { min-width: 220px; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 850; }

.site-footer { padding: 42px 0; background: var(--navy); color: var(--white); }
.site-footer .content-width { display: grid; grid-template-columns: auto 1fr auto; gap: 45px; align-items: center; }
.brand--inverted { color: var(--white); }
.brand--inverted .brand__word, .brand--inverted .brand__word span { color: var(--white); }
.site-footer p { margin: 0; color: #bfd4e4; font-size: 12px; }
.site-footer .content-width > span { color: #86a9c2; font-size: 11px; }
.site-footer p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.cookie-consent {
  width: min(680px, calc(100% - 28px));
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 45px rgba(4, 27, 51, 0.28);
}

.cookie-consent strong { display: block; margin-bottom: 5px; font-size: 14px; }
.cookie-consent p { margin: 0; color: #c9dceb; font-size: 11px; line-height: 1.45; }
.cookie-consent p a { color: var(--white); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 8px; }
.cookie-consent button { min-height: 40px; padding: 0 14px; border: 0; cursor: pointer; font-size: 11px; font-weight: 800; white-space: nowrap; }
.cookie-consent__secondary { background: transparent; color: #d8e7f2; outline: 1px solid #7897ad; }
.cookie-consent__primary { background: var(--yellow); color: var(--navy); }
.cookie-consent button:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

@media (max-width: 1180px) {
  .site-shell { width: min(100% - 28px, 1440px); }
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .menu-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--blue); cursor: pointer; }
  .mobile-nav { position: absolute; top: 82px; right: 0; left: 0; padding: 11px 28px 22px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 12px 22px rgba(23, 56, 83, 0.1); }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-aside { display: grid; grid-template-columns: 1.15fr 1fr; border-top: 1px solid var(--line); border-left: 0; }
  .aside-questions { grid-row: span 2; }
  .aside-links { grid-column: 1 / -1; }
}

@media (max-width: 850px) {
  .site-shell { width: 100%; margin-top: 0; }
  .site-header { min-height: 72px; padding: 0 18px; grid-template-columns: 1fr auto; gap: 12px; }
  .header-cta { display: none; }
  .mobile-nav { top: 72px; }
  .brand__shield { width: 31px; height: 38px; }
  .brand__word { font-size: 23px; }
  .brand__word span { font-size: 16px; }
  .portal-hero { grid-template-columns: 1fr; }
  .portal-hero__copy { padding: 40px 22px 35px; }
  .portal-hero h1 { font-size: clamp(40px, 11vw, 58px); letter-spacing: -2.2px; }
  .coating-visual { min-height: 300px; padding: 10px 12px 18px; }
  .coating-visual__image { max-height: 340px; }
  .category-section { padding: 20px 18px 25px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-aside { grid-template-columns: 1fr; }
  .aside-questions { grid-row: auto; }
  .explanation__grid { grid-template-columns: 1fr; gap: 48px; }
  .partner-section__inner { align-items: flex-start; flex-direction: column; }
  .site-footer .content-width { grid-template-columns: 1fr; gap: 22px; }
  .cookie-consent { grid-template-columns: 1fr; gap: 14px; }
  .cookie-consent__actions { justify-content: flex-end; }
}

@media (max-width: 520px) {
  .content-width { width: min(100% - 30px, 1190px); }
  .hero-text { font-size: 15px; }
  .hero-search__row { grid-template-columns: 1fr 72px; }
  .coating-visual { min-height: 245px; padding-inline: 4px; }
  .category-grid { grid-template-columns: 1fr; }
  .section-minihead { align-items: flex-start; flex-direction: column; gap: 8px; }
  .question-grid { grid-template-columns: 1fr; }
  .journey__steps { grid-template-columns: repeat(2, 1fr); }
  .journey__step:nth-child(2)::after { display: none; }
  .aside-links { grid-template-columns: 1fr; }
  .explanation { padding: 70px 0; }
  .cookie-consent { right: 14px; bottom: 14px; padding: 16px; }
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent button { white-space: normal; }
}

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

/* Podstránky */
.subpage-shell { margin-bottom: 0; }
.brand__image { width: 214px; height: auto; display: block; }
.subpage-hero { padding: 66px 44px 70px; background: var(--navy); color: var(--white); }
.subpage-hero--light { background: var(--pale); color: var(--navy); }
.breadcrumb { margin: 0 0 20px; color: #a9c9df; font-size: 11px; font-weight: 700; }
.subpage-hero--light .breadcrumb { color: var(--blue); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.subpage-hero h1 { max-width: 900px; margin: 0; font-size: clamp(40px, 6vw, 74px); line-height: .98; letter-spacing: -3.4px; }
.subpage-hero p:last-child { max-width: 770px; margin: 22px 0 0; color: #d0e2ee; font-size: 18px; line-height: 1.55; }
.subpage-hero--light p:last-child { color: var(--muted); }
.page-main { padding: 72px 0 90px; background: var(--white); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 72px; align-items: start; }
.page-prose h2 { margin: 54px 0 16px; color: var(--navy); font-size: clamp(28px, 3.5vw, 42px); line-height: 1.08; letter-spacing: -1.5px; }
.page-prose h2:first-child { margin-top: 0; }
.page-prose h3 { margin: 28px 0 9px; color: var(--blue); font-size: 20px; }
.page-prose p, .page-prose li { color: #425c70; font-size: 15px; line-height: 1.75; }
.page-prose ul, .page-prose ol { padding-left: 21px; }
.page-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.page-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.info-box { padding: 23px; background: var(--pale); border-left: 5px solid var(--blue-2); }
.info-box--yellow { background: #fff8dc; border-color: var(--yellow); }
.info-box h2, .info-box h3 { margin: 0 0 9px; color: var(--navy); font-size: 18px; }
.info-box p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.info-box a { display: inline-flex; margin-top: 15px; color: var(--blue); font-size: 12px; font-weight: 800; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.topic-card { min-height: 150px; padding: 22px; background: var(--pale-2); border: 1px solid var(--line); border-bottom: 5px solid var(--blue-2); }
.topic-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 18px; }
.topic-card p { margin: 0; font-size: 13px; line-height: 1.55; }
.topic-card a { display: inline-flex; margin-top: 14px; font-size: 12px; font-weight: 800; }
.surface-section { scroll-margin-top: 20px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.surface-section:first-child { padding-top: 0; }
.surface-section h2 { margin-top: 0; }
.surface-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0; }
.surface-meta span { padding: 6px 9px; background: var(--pale); color: var(--blue); font-size: 11px; font-weight: 750; }
.layer-list { display: grid; gap: 16px; margin: 30px 0; }
.layer-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); background: var(--white); }
.layer-item__number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 20px; font-weight: 850; }
.layer-item:nth-child(2) .layer-item__number { background: #e4a900; }
.layer-item:nth-child(3) .layer-item__number { background: var(--coral); }
.layer-item:nth-child(4) .layer-item__number { background: var(--teal); }
.layer-item h3 { margin: 0 0 7px; }
.layer-item p { margin: 0; }
.page-illustration { width: 100%; height: auto; margin: 24px 0; background: var(--pale-2); }
.query-preview { margin: 0 0 28px; padding: 19px 22px; border-left: 5px solid var(--yellow); background: #fff8dc; color: var(--navy); }
.query-preview span, .query-preview strong { display: block; }
.query-preview span { margin-bottom: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.query-preview strong { font-size: 19px; }
.primary-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; background: var(--yellow); color: var(--navy) !important; text-decoration: none !important; font-size: 13px; font-weight: 850; }
.contact-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.contact-list a { font-weight: 700; }
.legal-note { padding: 16px 18px; background: var(--pale); border-left: 4px solid var(--blue-2); }

@media (max-width: 850px) {
  .brand__image { width: 185px; }
  .subpage-hero { padding: 48px 22px 52px; }
  .subpage-hero h1 { letter-spacing: -2.3px; }
  .subpage-hero p:last-child { font-size: 16px; }
  .page-main { padding: 55px 0 70px; }
  .page-layout { grid-template-columns: 1fr; gap: 45px; }
  .page-aside { position: static; }
  .topic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .layer-item { grid-template-columns: 42px 1fr; padding: 18px 15px; }
  .layer-item__number { width: 38px; height: 38px; font-size: 16px; }
}
