:root {
  --ink: #101828;
  --ink-soft: #596579;
  --paper: #f4f7fb;
  --white: #fff;
  --violet: #2456d7;
  --violet-deep: #0b1f3a;
  --violet-bright: #3f70ed;
  --orange: #ff6b2b;
  --orange-soft: #fff0e8;
  --line: #dce3ec;
  --shadow: 0 18px 48px rgba(16, 39, 79, .1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--violet); text-underline-offset: .2em; }
a:hover { color: var(--violet-deep); }
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 1000; background: var(--ink); color: white; padding: 10px 16px; }
.skip-link:focus { top: 18px; }

.topline { background: var(--violet-deep); color: white; font-size: 12px; }
.topline-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; }
.topline-inner div { display: flex; gap: 25px; }
.topline a { color: white; text-decoration: none; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; }
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 170px; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: 13px; font-weight: 750; text-decoration: none; }
.nav-item:hover > a, .nav-item:focus-within > a { background: #edf3ff; color: var(--violet); }
.nav-dropdown { position: absolute; top: calc(100% - 2px); left: 0; display: none; min-width: 230px; padding: 7px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav-dropdown a:hover { background: var(--paper); }
.header-cta { min-width: 138px; padding: 9px 14px; border-radius: 9px; background: var(--orange); color: #23150a; text-align: center; text-decoration: none; line-height: 1.15; box-shadow: 0 8px 20px rgba(255,107,43,.18); }
.header-cta small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.header-cta strong { display: block; margin-top: 3px; font-size: 17px; }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); height: clamp(450px, 33vw, 490px); min-height: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: white; color: var(--ink); }
.hero-copy { display: flex; align-items: center; padding: 30px clamp(26px, 3.5vw, 48px) 32px max(40px, calc((100vw - 1240px) / 2)); background: white; }
.hero-copy-inner { max-width: 660px; }
.kicker { margin: 0 0 11px; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 660px; margin: 0; font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(40px, 4vw, 56px); font-weight: 790; letter-spacing: -.055em; line-height: .98; }
.hero h1 em { display: block; margin-top: .08em; color: var(--violet); font-style: normal; }
.hero-lead { max-width: 570px; margin: 15px 0 0; color: var(--ink-soft); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.45; }
.hero-contact { display: flex; align-items: baseline; gap: 12px; margin-top: 15px; }
.hero-contact span { color: var(--ink-soft); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero-contact a { color: var(--violet-deep); font-size: clamp(25px, 2.4vw, 31px); font-weight: 900; letter-spacing: -.04em; line-height: 1; text-decoration: none; }
.hero-contact a:hover { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.hero-actions .btn { min-height: 44px; padding: 9px 16px; font-size: 13px; background: var(--violet-bright); color: white; box-shadow: 0 10px 24px rgba(63,112,237,.2); }
.hero-document-link { display: inline-flex; align-items: center; gap: 7px; max-width: 320px; color: var(--violet-deep); font-size: 13px; font-weight: 800; line-height: 1.35; }
.hero-document-link::after { content: "↗"; flex: none; color: var(--orange); text-decoration: none; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 850; text-decoration: none; cursor: pointer; }
.btn-light { background: white; color: var(--violet-deep); }
.btn-light:hover { background: var(--orange-soft); color: var(--violet-deep); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: white; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: white; }
.btn-accent { background: var(--orange); color: #251509; font: inherit; font-weight: 850; }
.hero-photo { position: relative; min-width: 0; min-height: 0; height: 100%; background: #d9d6cb; }
.hero-photo > img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: cover; object-position: center 18%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.3), transparent 24%); pointer-events: none; }
.hero-badge { position: absolute; right: 22px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; background: var(--violet-deep); color: white; box-shadow: 0 12px 32px rgba(25,15,8,.2); }
.hero-badge span { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-badge strong { color: #ff9a52; font-size: 14px; line-height: 1.1; }
.hero-proof { position: absolute; left: 50%; bottom: 0; width: min(1180px, calc(100% - 40px)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); background: white; color: var(--ink); border-radius: 24px 24px 0 0; box-shadow: 0 -12px 45px rgba(17,12,49,.18); overflow: hidden; }
.hero-proof div { min-height: 106px; display: flex; flex-direction: column; justify-content: center; padding: 18px 32px; border-right: 1px solid var(--line); }
.hero-proof div:last-child { border: 0; }
.hero-proof strong { color: var(--violet); font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
.hero-proof span { margin-top: 5px; color: var(--ink-soft); font-size: 13px; }

.page-hero { position: relative; overflow: hidden; padding: 44px 0 50px; background: var(--violet-deep); color: white; }
.page-hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -90px; top: -250px; border: 90px solid rgba(255,255,255,.05); border-radius: 50%; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: #b9c8df; font-size: 12px; }
.breadcrumbs a { color: #b9c8df; }
.page-hero h1 { position: relative; z-index: 1; max-width: 940px; margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.05em; }

.main-content { padding: 58px 0 82px; }
.home-page .main-content { padding-top: 62px; }
.legacy-content { display: flow-root; }
.legacy-content > :first-child { margin-top: 0; }
.legacy-content p, .legacy-content li { color: var(--ink-soft); }
.legacy-content strong { color: var(--ink); }
.legacy-content h2, .legacy-content h3, .legacy-content h4 { color: var(--ink); line-height: 1.14; letter-spacing: -.035em; }
.legacy-content h2 { margin: 42px 0 17px; font-size: clamp(28px, 3.4vw, 40px); }
.legacy-content h3 { margin: 30px 0 11px; font-size: 22px; }
.legacy-content ul, .legacy-content ol { padding-left: 1.35em; }
.legacy-content li { margin-bottom: 7px; }
.legacy-content img { border-radius: 12px; }
.legacy-content .clear { clear: both; }
.legacy-content .alignleft { float: left; margin: 8px 30px 20px 0; }
.legacy-content .alignright { float: right; margin: 8px 0 20px 30px; }
.legacy-content .one_half, .legacy-content .one_third, .legacy-content .levastrana, .legacy-content .pravastrana { float: left; margin: 0 2% 24px 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(16,39,79,.05); }
.legacy-content .one_half { width: 49%; }
.legacy-content .one_third { width: 32%; }
.legacy-content .one_half.last, .legacy-content .one_third.last { margin-right: 0; }
.legacy-content .levastrana, .legacy-content .pravastrana { width: 49%; }
.legacy-content .pravastrana { margin-right: 0; }
.equal-card-row { clear: both; display: grid; align-items: stretch; gap: 18px; margin: 0 0 24px; }
.equal-card-row-halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legacy-content .equal-card-row > .one_half,
.legacy-content .equal-card-row > .levastrana,
.legacy-content .equal-card-row > .pravastrana { float: none; width: auto; height: 100%; margin: 0; }
.home-intro-cards { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; margin: 0 0 24px; }
.legacy-content .home-intro-cards > .one_third { float: none; width: auto; height: 100%; margin: 0; }
.legacy-content .one_half > :first-child { margin-top: 0; }
.legacy-content .one_half > figure { margin: 0 0 20px; }
.legacy-content .one_half > figure img { display: block; width: 100%; height: auto; }
.legacy-content .one_half h2 { margin-top: 28px; font-size: clamp(25px, 2.7vw, 34px); line-height: 1.08 !important; background: none !important; }
.legacy-content .one_half h3 { margin-top: 24px; }
.legacy-content > div[style*="width: 430px"] { width: 49% !important; margin-bottom: 26px !important; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 24px rgba(16,39,79,.045); }
.legacy-content > div[style*="width: 430px"] h3 { margin-top: 0; }
.slider-wrapper { margin: 0 0 20px; }
.nivoSlider { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.legacy-content .nivoSlider img { position: static !important; display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: white; object-fit: contain; opacity: 1 !important; }
.video-wrapper { height: auto !important; margin-top: 14px; padding-bottom: 0 !important; }
.legacy-content .video-wrapper video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; }
.home-content .one_third { min-height: 0; border-top: 2px solid var(--violet-bright); }
.home-content .one_third:nth-of-type(3) { border-top-color: var(--orange); }
.homebullet h2, .homepageservice h3 { margin-top: 0; font-size: 20px; }
.homebullet + .homebullet { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.hpseznam { clear: both; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin: 40px 0 !important; padding: 30px !important; border-radius: var(--radius); background: var(--violet-deep); list-style: none; }
.hpseznam li, .hpseznam strong { color: white; }
.home-topic-links { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 40px 0 50px; }
.home-topic-link { position: relative; padding: 19px 52px 19px 21px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.72); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.home-topic-link::after { content: "→"; position: absolute; top: 50%; right: 21px; color: var(--violet-bright); font-size: 21px; font-weight: 800; transform: translateY(-50%); }
.home-topic-link:hover { border-color: #c8c5d8; background: white; transform: translateY(-2px); }
.home-topic-link > span { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.home-topic-link > a { color: var(--violet-deep); font-size: 18px; font-weight: 850; line-height: 1.15; text-decoration-thickness: 1px; }
.home-topic-link > p { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.home-products { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 66px; }
.home-products-heading { grid-column: 1 / -1; max-width: 760px; margin-bottom: 8px; }
.legacy-content .home-products-heading .kicker { margin: 0 0 12px; color: var(--orange); }
.legacy-content .home-products-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; letter-spacing: -.045em; }
.home-products-heading > p:last-child { max-width: 650px; margin: 14px 0 0; font-size: 16px; }
.home-product { display: grid; grid-template-columns: 1fr; grid-template-rows: 230px auto; min-height: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 14px 34px rgba(16,39,79,.07); }
.home-product-media { display: block; min-height: 0; height: 230px; overflow: hidden; background: #ddd9cd; }
.legacy-content .home-product-media img { width: 100%; height: 230px; min-height: 0; display: block; border-radius: 0; object-fit: cover; object-position: center 22%; transition: transform .45s ease; }
.home-product:hover .home-product-media img { transform: scale(1.025); }
.home-product-copy { position: relative; display: flex; align-items: flex-start; justify-content: flex-start; flex-direction: column; padding: 28px 30px 30px; }
.home-product-number { position: absolute; top: 24px; right: 27px; color: #d7deea; font-size: 38px; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.legacy-content .home-product-copy h3 { position: relative; z-index: 1; max-width: calc(100% - 52px); margin: 0; font-size: clamp(27px, 3vw, 34px); line-height: 1; letter-spacing: -.04em; }
.home-product-copy h3 a { color: var(--violet-deep); text-decoration: none; }
.home-product-copy h3 a:hover { color: var(--violet); }
.legacy-content .home-product-copy p { max-width: 540px; margin: 16px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.home-product-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--violet-deep); font-size: 14px; font-weight: 850; text-decoration: none; }
.home-product-action::after { content: "→"; color: var(--orange); font-size: 21px; transition: transform .2s ease; }
.home-product-action:hover::after { transform: translateX(4px); }
.home-product-reverse { grid-template-columns: 1fr; grid-template-rows: 230px auto; border-color: var(--violet-deep); background: var(--violet-deep); }
.home-product-reverse .home-product-media, .home-product-reverse .home-product-copy { order: initial; }
.home-product-reverse .home-product-number { color: rgba(255,255,255,.12); }
.home-product-reverse .home-product-copy h3 a { color: white; }
.home-product-reverse .home-product-copy h3 a:hover { color: #ff9a52; }
.legacy-content .home-product-reverse .home-product-copy p { color: #d6d2ef; }
.home-product-reverse .home-product-action { color: white; }
.legacy-content .button-regular-large a, .legacy-content .button-regular-small a { display: inline-flex; min-height: 48px; align-items: center; padding: 10px 18px; border-radius: 12px; background: var(--orange); color: #251509; font-weight: 850; text-decoration: none; }
.gallery-grid, .imgradek, #fotopanel, #ppanel { clear: both; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 28px 0 42px; }
#fotopanel p { display: contents; }
#fotopanel br { display: none; }
.gallery-grid > *, .imgradek > *, #fotopanel > *, #ppanel > * { min-width: 0; }
.gallery-grid img, .imgradek img, #fotopanel img, #ppanel img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: white; object-fit: contain; transition: transform .2s ease, box-shadow .2s ease; }
.gallery-grid a:hover img, .imgradek a:hover img, #fotopanel a:hover img, #ppanel a:hover img { transform: translateY(-3px); box-shadow: var(--shadow); }
.legacy-content a[data-lightbox-item] { cursor: zoom-in; }
.legacy-content a[data-lightbox-item]:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; border-radius: 12px; }
body.lightbox-open { overflow: hidden; }
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(58px, 1fr) minmax(0, 1200px) minmax(58px, 1fr);
  align-items: center;
  padding: 54px 18px 22px;
  background: rgba(5, 13, 27, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage { display: grid; width: 100%; height: 100%; min-height: 0; place-items: center; }
.lightbox-figure { position: relative; display: grid; max-width: 100%; max-height: 100%; margin: 0; place-items: center; }
.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 128px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  opacity: 1;
  transform: scale(1);
  transition: opacity .16s ease, transform .2s ease;
  user-select: none;
}
.lightbox.is-loading .lightbox-image { opacity: 0; transform: scale(.985); }
.lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: white;
  border-radius: 50%;
  opacity: 0;
  animation: lightbox-spin .8s linear infinite;
  pointer-events: none;
}
.lightbox.is-loading .lightbox-loader { opacity: 1; }
.lightbox-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 10px 13px;
  border-radius: 9px;
  background: rgba(5, 13, 27, .82);
  color: white;
  font-size: 13px;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}
.lightbox-counter { flex: none; color: #cbd7e8; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: white;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--orange); color: #201207; transform: scale(1.05); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}
.lightbox-nav {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}
.lightbox-prev { justify-self: start; }
.lightbox-next { justify-self: end; }
@keyframes lightbox-spin { to { transform: rotate(360deg); } }
.product-catalogs { clear: both; display: grid; gap: 24px; margin: 0 0 56px; }
.product-catalog { padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.product-catalog-light { background: white; box-shadow: 0 14px 40px rgba(16,39,79,.065); }
.product-catalog-dark { border-color: var(--violet-deep); background: var(--violet-deep); box-shadow: 0 16px 44px rgba(11,31,58,.18); }
.product-catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.legacy-content .product-catalog-kicker { margin: 0 0 7px; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.legacy-content .product-catalog-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: .98; letter-spacing: -.045em; }
.product-catalog-head h2 a { color: var(--violet-deep); text-decoration: none; }
.product-catalog-head h2 a::after { content: " ↗"; color: var(--violet-bright); font-size: .45em; vertical-align: top; }
.legacy-content .product-catalog-count { flex: 0 0 auto; margin: 0 0 4px; color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.catalog-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.catalog-card:hover { border-color: #c4d0e4; box-shadow: 0 14px 28px rgba(16,39,79,.12); transform: translateY(-4px); }
.catalog-card-media { position: relative; aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.legacy-content .catalog-card-media img { position: absolute; inset: 14px; display: block; width: calc(100% - 28px); height: calc(100% - 28px); max-width: calc(100% - 28px); border-radius: 0; object-fit: contain; }
.catalog-card-copy { position: relative; min-height: 126px; padding: 17px 38px 18px 17px; }
.legacy-content .catalog-card-number { display: block; margin-bottom: 8px; color: #8b98aa; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.legacy-content .catalog-card h3 { margin: 0; font-size: 15px; line-height: 1.25; letter-spacing: -.02em; }
.catalog-card h3 a { color: var(--ink); text-decoration-color: #9db3e7; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.catalog-card h3 a:hover { color: var(--violet-bright); text-decoration-color: currentColor; }
.catalog-card-arrow { position: absolute; right: 16px; bottom: 16px; color: var(--orange); font-size: 20px; font-weight: 900; line-height: 1; }
.product-catalog-dark .product-catalog-head h2 a { color: white; }
.product-catalog-dark .product-catalog-head h2 a::after { color: #80a6ff; }
.legacy-content .product-catalog-dark .product-catalog-count { color: #b9c8df; }
.product-catalog-dark .catalog-card { border-color: rgba(255,255,255,.16); }
.singular-region-link { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin: 0 0 24px; padding: 19px 23px; border: 1px solid #cbd9f4; border-radius: 14px; background: #eef3ff; }
.legacy-content .singular-region-link > span { color: var(--violet-bright); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legacy-content .singular-region-link p { margin: 0; color: var(--ink); font-size: 15px; }
.singular-region-link a { color: var(--violet-deep); text-underline-offset: 3px; }
.singular-guide { margin-bottom: 22px; padding: 34px 36px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 14px 38px rgba(16,39,79,.055); }
.legacy-content .singular-guide-kicker { margin: 0 0 9px; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.legacy-content .singular-guide h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 48px); }
.legacy-content .singular-guide h2 + p { color: var(--ink); font-size: 18px; line-height: 1.65; }
.legacy-content .singular-guide p:last-child { margin-bottom: 0; }
.singular-benefits { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 26px; }
.legacy-content .singular-benefits > div { float: none !important; width: auto !important; margin: 0 !important; padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 28px rgba(16,39,79,.05); }
.legacy-content .singular-benefits > div:first-child { border-top: 3px solid var(--violet-bright); }
.legacy-content .singular-benefits > div:last-child { border-top: 3px solid var(--orange); }
.legacy-content .singular-benefits h3 { margin: 0 0 17px; font-size: 24px; }
.legacy-content .singular-benefits ul { margin-bottom: 0; }
.singular-videos { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; }
.legacy-content .singular-videos iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #111; }
.partnerbox, .schodolezcena { margin: 16px 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.partnerbox { display: block; overflow: hidden; box-shadow: 0 8px 24px rgba(16,39,79,.045); }
.legacy-content .partnerbox h2 { margin: 0 0 14px; font-size: 25px; }
.partnerbox h2 a { color: var(--violet-deep); text-decoration-thickness: 1px; }
.partnerbox > p { display: flow-root; margin: 0; }
.partnerbox > p > a:first-child img { float: left; width: 170px; height: 115px; margin: 2px 22px 10px 0; border-radius: 9px; object-fit: cover; }
.legacy-content > p[style*="clear"] { min-height: 0; height: 0; margin: 0; line-height: 0; }
.price, .cenah2 { color: var(--violet); font-size: 29px; font-weight: 900; }
.legacy-content iframe, .legacy-content video { max-width: 100%; border: 0; border-radius: 20px; background: #111; }
.legacy-content table { display: block; max-width: 100%; width: max-content; overflow-x: auto; border-collapse: collapse; background: white; }
.legacy-content td, .legacy-content th { padding: 11px 13px; border: 1px solid var(--line); text-align: left; }

.contact-cta { clear: both; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-top: 64px; padding: 34px 38px; border-radius: 18px; background: var(--violet-deep); color: white; box-shadow: var(--shadow); }
.contact-cta h2 { margin: 0 0 10px; max-width: 760px; color: white; font-size: clamp(27px, 3.2vw, 39px); }
.contact-cta p:not(.kicker) { max-width: 710px; margin: 0; color: #cbc7e9; }
.cta-actions { display: grid; gap: 12px; min-width: 175px; text-align: center; }
.cta-actions > a:last-child { color: white; font-size: 14px; font-weight: 750; }
.contact-form { clear: both; margin-top: 42px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.form-heading { max-width: 700px; margin-bottom: 34px; }
.form-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; color: var(--ink); font-size: 14px; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--orange-soft); border-color: var(--orange); background: white; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-actions p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.site-footer { padding: 68px 0 24px; background: #12111a; color: #cbcbd4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { padding: 8px; border-radius: 10px; background: white; }
.footer-brand p { max-width: 350px; }
.footer-grid h2 { margin: 0 0 15px; color: white; font-size: 16px; }
.footer-grid a { display: block; margin: 7px 0; color: #e3e3eb; text-decoration: none; }
.footer-phone { font-size: 21px; font-weight: 850; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .main-nav { position: absolute; top: 108px; left: 20px; right: 20px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .nav-item > a { padding: 11px; }
  .nav-dropdown { position: static; display: block; padding: 0 0 0 18px; border: 0; box-shadow: none; }
  .menu-toggle { display: flex; width: 48px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: white; }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-copy { padding: 40px 40px 38px; }
  .hero-photo { min-height: 350px; height: 350px; }
  .hero-photo > img { min-height: 0; height: 100%; object-position: center 14%; }
  .hero-proof { position: relative; left: auto; bottom: auto; width: 100%; transform: none; grid-column: 1; border-radius: 0; }
  .product-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { width: min(100% - 32px, 1180px); }
  .lightbox { display: block; padding: 56px 12px 76px; }
  .lightbox-stage { height: 100%; }
  .lightbox-image { max-height: calc(100vh - 144px); border-radius: 9px; }
  .lightbox-caption { right: 7px; bottom: 7px; left: 7px; padding: 8px 10px; font-size: 12px; }
  .lightbox-close { top: 10px; right: 12px; }
  .lightbox-nav { position: absolute; bottom: 14px; width: 44px; height: 44px; }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
  .topline-inner > span, .topline a:first-child { display: none; }
  .topline-inner { justify-content: flex-end; }
  .header-inner { min-height: 70px; grid-template-columns: 1fr auto; gap: 10px; }
  .brand img { width: 148px; }
  .header-cta { display: none; }
  .main-nav { top: 102px; left: 16px; right: 16px; }
  .hero-copy { padding: 32px 22px 30px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .hero-lead { margin-top: 15px; font-size: 16px; }
  .hero-contact { margin-top: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; margin-top: 20px; }
  .hero-document-link { max-width: 100%; }
  .hero-photo { min-height: 280px; height: 280px; }
  .hero-photo > img { min-height: 0; height: 100%; }
  .hero-badge { right: 14px; bottom: 14px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { min-height: 84px; border-right: 0; border-bottom: 1px solid var(--line); }
  .page-hero { padding: 36px 0 40px; }
  .page-hero h1 { font-size: 38px; }
  .main-content, .home-page .main-content { padding: 44px 0 62px; }
  .legacy-content .one_half, .legacy-content .one_third, .legacy-content .levastrana, .legacy-content .pravastrana { float: none; width: 100%; margin-right: 0; min-height: 0; padding: 24px; }
  .equal-card-row-halves, .home-intro-cards { grid-template-columns: 1fr; }
  .legacy-content .equal-card-row > .one_half,
  .legacy-content .equal-card-row > .levastrana,
  .legacy-content .equal-card-row > .pravastrana,
  .legacy-content .home-intro-cards > .one_third { width: auto; height: auto; margin: 0; }
  .legacy-content > div[style*="width: 430px"] { float: none !important; width: 100% !important; margin: 0 0 18px !important; padding: 20px; }
  .product-catalogs { gap: 18px; margin-bottom: 42px; }
  .product-catalog { padding: 18px; border-radius: 16px; }
  .product-catalog-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .legacy-content .product-catalog-head h2 { font-size: 31px; }
  .legacy-content .product-catalog-count { margin: 0; }
  .product-catalog-grid { grid-template-columns: 1fr; gap: 10px; }
  .catalog-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .catalog-card-media { aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 0; }
  .legacy-content .catalog-card-media img { inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); max-width: calc(100% - 18px); }
  .catalog-card-copy { min-height: 112px; padding: 16px 36px 14px 15px; }
  .legacy-content .catalog-card h3 { font-size: 14px; }
  .catalog-card-arrow { right: 14px; bottom: 14px; }
  .singular-region-link { align-items: flex-start; flex-direction: column; gap: 7px; padding: 18px; }
  .singular-guide { padding: 25px 22px; border-radius: 16px; }
  .legacy-content .singular-guide h2 { font-size: 32px; }
  .legacy-content .singular-guide h2 + p { font-size: 16px; }
  .singular-benefits, .singular-videos { grid-template-columns: 1fr; }
  .legacy-content .singular-benefits > div { padding: 22px; }
  .home-topic-links { grid-template-columns: 1fr; margin: 32px 0 42px; }
  .home-topic-link { padding: 18px 48px 18px 18px; }
  .home-products { grid-template-columns: 1fr; margin-bottom: 52px; }
  .home-products-heading { grid-column: auto; }
  .home-products-heading > p:last-child { font-size: 15.5px; }
  .home-product, .home-product-reverse { grid-template-columns: 1fr; min-height: 0; }
  .home-product-media, .legacy-content .home-product-media img { min-height: 220px; height: 220px; }
  .home-product-reverse .home-product-media, .home-product-reverse .home-product-copy { order: initial; }
  .home-product-copy { padding: 26px 22px 29px; }
  .home-product-number { top: 23px; right: 21px; font-size: 34px; }
  .legacy-content .home-product-copy h3 { max-width: calc(100% - 48px); font-size: 30px; }
  .legacy-content .home-product-copy p { margin-top: 15px; font-size: 15px; }
  .home-product-action { margin-top: 18px; }
  .legacy-content .alignleft, .legacy-content .alignright { float: none; margin: 16px 0; }
  .hpseznam, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .partnerbox > p > a:first-child img { float: none; width: 100%; height: 190px; margin: 0 0 15px; }
  .contact-cta { grid-template-columns: 1fr; padding: 30px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox-image,
  .lightbox-close,
  .lightbox-nav { transition: none; }
  .lightbox-loader { animation: none; }
}
