/* VEZ PLAN | CS/EN/DE navigation, brochure, projects and progressive galleries | 2026-09-24.
   Rozšiřuje původní styles.3e0ec458e2.css; zachovává barvy značky. */
.site-header { gap: 20px; }
.site-header #main-nav { gap: 18px; }
.site-header .language-switch, .privacy-page .language-switch { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; width: auto; padding: 0; margin: 0; background: transparent; font-size: .8125rem; flex-shrink: 0; }
.language-switch a, .site-header .language-switch a:last-child { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; padding: 6px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; }
.language-switch a[aria-current="page"], .site-header .language-switch a[aria-current="page"] { background: #213948; border-color: #78919d; color: #ffbc87; }
.language-switch a:hover { background: #29434f; color: #fff; }
.privacy-page .language-switch { justify-content: flex-end; margin-bottom: 18px; }
.privacy-page .language-switch a { color: #10252f; }
.privacy-page .language-switch a[aria-current="page"], .privacy-page .language-switch a:hover { color: #fff; }
.privacy-page h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); overflow-wrap: anywhere; hyphens: auto; }
.privacy-page p, .privacy-page a { overflow-wrap: anywhere; }
.hero-main { max-width: var(--max); grid-template-columns: 1fr 1.12fr; gap: 14px; min-height: 520px; }
.hero-content { padding: 38px 26px 50px 40px; }
.hero h1 { font-size: clamp(2.4rem, 3.4vw, 3.25rem); }
.hero-brochure { min-width: 0; margin: 26px 32px 26px 0; scroll-margin-top: 110px; }
.hero-brochure .reader { margin: 0; padding: 18px 16px 8px; border-radius: 10px; box-shadow: 0 22px 65px #0003; }
.hero-brochure .reader-toolbar { gap: 12px; font-size: .875rem; }
.hero-brochure .reader-toolbar small { display: block; margin: 2px 0 0; font-size: .75rem; }
.hero-brochure .reader button { min-height: 44px; }
.hero-brochure .book-wrap { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 8px; }
.hero-brochure .reader .book-nav { padding: 0; }
.hero-brochure .book-controls { margin: 16px 0 10px; gap: 14px; }
.hero-brochure .book-controls a { font-size: .8125rem; }
.hero-brochure .reader-hint { font-size: .8125rem; margin: 12px 0; }
.hero-brochure .thumbnails { display: none; }
.brochure-download { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 8px 4px; color: #ffc18e; font-size: .875rem; }
.brochure-download:hover { color: #fff; }
.hero-brochure .reader:fullscreen { margin: 0; padding: 22px clamp(16px, 4vw, 60px); border-radius: 0; }
.hero-brochure .reader:fullscreen .reader-toolbar { width: min(1350px, 100%); margin: 0 auto 18px; }
.hero-brochure .reader:fullscreen .book-wrap { width: 100%; max-width: min(1350px, 116vh); }
.hero-brochure .reader:fullscreen .book-controls { width: min(1100px, 100%); margin: 18px auto 8px; }
.partner { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: center; gap: 58px; margin-top: 0; padding-top: 30px; padding-bottom: 72px; }
.partner-logo { padding: 32px 8px; }
.partner-logo img { width: 100%; height: auto; display: block; }
.partner > div:last-child { padding-left: 34px; border-left: 1px solid #ced8d5; }
.partner .eyebrow { margin-bottom: 12px; font-size: .8125rem; }
.partner h2 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); margin-bottom: 12px; }
.partner p:last-child { color: var(--muted); margin: 0; font-size: 1rem; }
.refs { padding-top: 25px; }
.reference-feature { display: grid; grid-template-columns: 1.38fr 1fr; background: #fff; border: 1px solid #d3ddda; margin-bottom: 24px; }
.reference-feature-photo { margin: 0; min-width: 0; background: #eef1ee; }
.reference-feature-photo > a { display: block; position: relative; line-height: 0; overflow: hidden; }
.reference-feature-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.photo-action { position: absolute; bottom: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 20px; padding: 12px 16px; background: #081923ed; color: #fff; font-size: .875rem; line-height: 1.5; }
.reference-feature-photo a:hover .photo-action { background: #123b4c; }
.reference-feature-photo figcaption { padding: 12px 20px; font-size: .8125rem; line-height: 1.6; color: #596a72; }
.reference-feature-copy { align-self: center; padding: 38px; }
.project-status { display: inline-flex; padding: 6px 12px; background: #fff0df; border: 1px solid #edd5b9; color: #8b3f08; font-size: .8125rem; font-weight: 700; }
.reference-feature .project-capacity { margin: 28px 0 16px; font-size: clamp(2.8rem, 5vw, 4.4rem); letter-spacing: -.065em; line-height: 1; color: #b95517; }
.project-capacity span { font-size: .47em; letter-spacing: -.035em; }
.reference-feature h3 { font-size: clamp(1.7rem, 2.5vw, 2.25rem); margin-bottom: 18px; }
.reference-feature-copy > p:not(.project-capacity) { font-size: 1rem; color: var(--muted); }
.reference-feature-copy .project-scope { border-top: 1px solid #dce2df; padding-top: 18px; margin-top: 20px; }
.reference-feature-copy .button { margin-top: 8px; }
.reference-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reference-grid article { padding: 0; overflow: hidden; }
.reference-grid article::after { content: none; }
.reference-card-photo { display: block; position: relative; background: #dce3e0; }
.reference-card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.reference-card-photo > span { display: flex; justify-content: space-between; gap: 12px; position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 8px 10px; background: #081923ed; color: #fff; font-size: .8125rem; line-height: 1.5; }
.reference-card-photo:hover > span { background: #123b4c; }
.reference-card-photo:focus-visible { outline: 3px solid #b95517; outline-offset: -3px; }
.reference-card-copy { padding: 26px 24px; }
.reference-grid .reference-kind { min-height: 2.6em; font-size: .75rem; letter-spacing: .055em; line-height: 1.5; margin-bottom: 16px; color: #6b7a80; }
.reference-grid strong { font-size: 1.8rem; }
.reference-grid .reference-power { display: block; font-size: 1.25rem; line-height: 1.45; letter-spacing: -.03em; }
.reference-power span { display: block; }
.reference-grid h3 { margin: 24px 0 14px; font-size: 1.35rem; line-height: 1.2; }
.reference-grid p { font-size: .9375rem; line-height: 1.65; }
.reference-grid p:last-child { margin-bottom: 0; }
.reference-grid .reference-battery { color: #354e59; margin-bottom: 12px; }
.references-more { margin: 25px 0 0; color: var(--muted); font-size: 1rem; }
.project-gallery { width: min(1160px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; border: 1px solid #566974; border-radius: 10px; padding: 0; color: #fff; background: #0b1e29; box-shadow: 0 24px 100px #0008; }
.project-gallery::backdrop { background: #031019df; }
.gallery-shell { padding: 24px; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 18px; }
.gallery-header h2 { min-width: 0; margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.65rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.project-gallery button { color: #fff; background: #173342; border: 1px solid #607984; min-width: 44px; min-height: 44px; border-radius: 4px; }
.project-gallery button:hover:not(:disabled) { background: #294e62; }
.project-gallery button:disabled { color: #768d9a; background: #102632; border-color: #314b59; cursor: default; }
#gallery-close { flex-shrink: 0; padding: 8px 14px; white-space: nowrap; }
#gallery-close span { font-size: 1.4rem; margin-left: 8px; }
.gallery-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 16px; align-items: center; min-height: 220px; }
#gallery-image { display: block; width: 100%; height: min(55dvh, 590px); object-fit: contain; background: #06141c; }
#gallery-image[hidden] { display: block; visibility: hidden; }
#gallery-image.gallery-image-preview { filter: blur(4px); opacity: .78; }
.gallery-description { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 16px; color: #cfdae1; font-size: .875rem; }
#gallery-caption { margin-bottom: 0; }
#gallery-counter { white-space: nowrap; color: #ffbb83; }
#gallery-status { color: #ffd19e; font-size: .875rem; margin: 8px 0 0; min-height: 1.5em; }
#gallery-status:empty { display: block; }
.gallery-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 18px 2px 2px; }
.gallery-thumbnails button { flex: 0 0 94px; padding: 3px; border-color: transparent; background: transparent; }
.gallery-thumbnails button[aria-current="true"] { border-color: #ffae71; background: #2e4551; }
.gallery-thumbnails img { display: block; width: 86px; height: 64px; object-fit: cover; }
@media (max-width: 1100px) {
  .site-header .brand { margin-right: auto; }
  .site-header .menu-button { display: block; color: white; background: transparent; border: 1px solid #71838e; padding: 8px 12px; min-height: 44px; }
  .site-header #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #081923; padding: 25px; flex-direction: column; align-items: stretch; }
  .site-header #main-nav.open { display: flex; }
  .site-header #main-nav a { padding: 9px; }
  .hero-main { grid-template-columns: 1fr 1.05fr; gap: 0; }
  .hero-content { padding-left: 32px; }
  .hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.1rem); }
  .hero-brochure { margin-right: 24px; }
  .hero-brochure .book-wrap { grid-template-columns: 1fr; padding-bottom: 50px; position: relative; }
  .hero-brochure .book-nav { position: absolute; bottom: 0; width: 44px; z-index: 3; }
  .hero-brochure .book-nav.prev { left: calc(50% - 50px); }
  .hero-brochure .book-nav.next { right: calc(50% - 50px); }
  .reference-feature-copy { padding: 26px; }
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 800px) {
  .hero-main { grid-template-columns: 1fr; }
  .hero-content { padding: 25px 24px 20px; }
  .hero h1 { font-size: clamp(2.5rem, 7vw, 3.8rem); }
  .hero-brochure { margin: 12px 24px 32px; }
  .hero-brochure .reader { margin: 0; }
  .hero-brochure .book-wrap { grid-template-columns: 36px minmax(0, 1fr) 36px; padding-bottom: 0; }
  .hero-brochure .book-nav { position: static; width: auto; }
  .partner { grid-template-columns: 1fr; gap: 24px; padding-top: 0; padding-bottom: 50px; }
  .partner-logo { max-width: 250px; padding: 0; }
  .partner > div:last-child { border-left: none; border-top: 1px solid #ced8d5; padding: 24px 0 0; }
  .reference-feature { grid-template-columns: 1fr; }
  .reference-feature-copy { padding: 30px 26px; }
  .reference-feature .project-capacity { font-size: 3.5rem; }
  .reference-grid .reference-kind { min-height: 0; }
  .project-gallery { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .gallery-shell { padding: 16px; }
  .gallery-header { gap: 12px; }
  .gallery-stage { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
  #gallery-image { height: min(50dvh, 450px); }
}
@media (max-width: 450px) {
  .site-header { gap: 10px; padding: 12px 16px; }
  .site-header .brand img { width: clamp(110px, 29vw, 140px); height: auto; }
  .site-header .menu-button { padding: 7px 8px; font-size: .8125rem; }
  .site-header .language-switch { gap: 1px; font-size: .75rem; }
  .site-header .language-switch a { min-width: 27px; padding: 3px; }
  .hero-brochure { margin: 10px 16px 28px; }
  .hero-brochure .reader { padding: 14px 12px 8px; }
  .hero-brochure .reader-toolbar { font-size: .8125rem; }
  .hero-brochure .reader-toolbar button { padding: 7px 10px; font-size: .8125rem; }
  .hero-brochure .book-wrap { grid-template-columns: 1fr; padding-bottom: 50px; }
  .hero-brochure .book-nav { position: absolute; width: 44px; }
  .hero-brochure .book-controls { gap: 10px; }
  .hero-brochure .book-controls a { width: 72px; white-space: normal; }
  .hero-brochure .reader-hint { font-size: .8125rem; }
  .reference-grid { grid-template-columns: 1fr; }
  .reference-card-copy { padding: 26px; }
  .reference-grid h3 { font-size: 1.45rem; }
  .gallery-stage { grid-template-columns: 1fr 1fr; }
  #gallery-image { grid-column: 1 / -1; grid-row: 1; height: 43dvh; }
  #gallery-prev, #gallery-next { grid-row: 2; width: 64px; margin: 0 auto; }
  .gallery-description { gap: 12px; }
}
