/* Shared navigation: one disclosure menu for the storefront and the portal. */
.site-header .header-inner,.site-header .nav-wrap{position:relative;gap:20px}
.site-header .brand{min-width:0;flex-shrink:0}
.site-header .brand img{display:block;object-fit:contain;flex-shrink:0}
.site-header nav.nav-menu{position:static;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;gap:16px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;font-size:13px;line-height:1.4}
.site-header .nav-toggle{display:none;align-items:center;justify-content:center;gap:9px;flex-shrink:0;width:auto;min-width:88px;min-height:44px;padding:10px 12px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:rgba(255,255,255,.06);color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.site-header .nav-toggle svg{flex-shrink:0}
.site-header .nav-close-icon{display:none}
.site-header .nav-toggle[aria-expanded="true"] .nav-menu-icon{display:none}
.site-header .nav-toggle[aria-expanded="true"] .nav-close-icon{display:block}
.site-header.menu-open{z-index:90}
.site-header :is(a,button):focus-visible{outline:3px solid #71d7ff;outline-offset:3px}

/* Grid items may shrink instead of forcing their containing card off screen. */
.sales :is(.hero-grid,.section-heading,.product-block,.product-intro,.workflow,.workflow-step,.pricing-grid,.trial,.footer-grid)>*,
.portal :is(.product-detail-grid,.photo-product-grid,.photo-benefit-grid,.product-grid,.plans,.form-shell,.field-row,.portal-grid,.detail-grid,.stat-grid)>*{min-width:0}
.sales :is(.product-intro,.price-card,.workflow-step,.trial-action){overflow-wrap:anywhere}
.portal :is(.product-card,.plan-card,.photo-benefit,.panel,.page-hero){overflow-wrap:anywhere}
body.portal{overflow-wrap:anywhere}

@media(max-width:1200px){
  body.sales .site-header{top:10px;left:10px;right:10px;transform:none;width:auto;height:64px;min-height:64px;padding:0 14px;border-radius:15px}
  body.sales .header-inner{flex-wrap:nowrap;gap:12px;height:100%}
  body.portal .site-header{height:64px;min-height:64px}
  body.portal .nav-wrap{height:64px;min-height:64px;padding-block:0;flex-wrap:nowrap;gap:12px}
  .site-header .brand{max-width:calc(100% - 104px);gap:9px;font-size:20px}
  .site-header .brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .site-header .nav-toggle{display:inline-flex}
  .site-header nav.nav-menu{display:none;position:absolute;top:calc(100% + 10px);left:0;right:0;flex-direction:column;align-items:stretch;gap:4px;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;padding:12px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:#151713;box-shadow:0 18px 45px rgba(0,0,0,.28);color:#fff;font-size:15px}
  .site-header nav.nav-menu.is-open{display:flex}
  .site-header nav.nav-menu>a,.site-header nav.nav-menu .inline-form button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:44px;height:auto;padding:11px 13px;border-radius:9px;white-space:normal;text-align:left;font:inherit;color:#fff}
  .site-header nav.nav-menu>a:hover,.site-header nav.nav-menu .inline-form button:hover{background:rgba(255,255,255,.08)}
  .site-header nav.nav-menu .header-cta{justify-content:center;background:#71d7ff;color:#0b1528;font-weight:750}
  .site-header nav.nav-menu .header-cta:hover{background:#d4ff6d;color:#0b1528}
  .site-header nav.nav-menu .inline-form{display:block;width:100%;margin:0}
  .site-header nav.nav-menu .language-switch{display:flex;align-items:center;align-self:flex-start;height:auto;max-width:100%;margin:6px 0;padding:3px;gap:4px;border:1px solid rgba(255,255,255,.2);border-radius:11px}
  .site-header nav.nav-menu .language-switch a{min-width:44px;min-height:44px;height:auto;font-size:12px}
  .sales .hero-grid{padding-top:110px}
  #ceny,#produkty,#licence,#otazky{scroll-margin-top:90px}
}

@media(max-width:900px){
  .sales .hero-grid{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:24px;width:calc(100% - 32px);padding:102px 0 34px}
  .sales .hero-grid-with-preview{gap:18px;padding-bottom:28px}
  .sales .hero-grid-with-preview .hero-actions{margin-top:15px}
  .sales .hero-grid-with-preview .trust-row{margin-top:12px}
}

@media(max-width:620px){
  .sales .hero-grid-with-preview .hero-apps{gap:6px}
  .sales .hero-grid-with-preview .hero-apps a{grid-template-columns:minmax(0,1fr);gap:4px;padding:8px 6px}
  .sales .hero-grid-with-preview .hero-apps img{width:21px;height:21px;border-radius:5px}
  .sales .hero-grid-with-preview .hero-apps strong{font-size:clamp(11px,3.2vw,14px);overflow-wrap:anywhere}
  .sales .hero-grid-with-preview .hero-apps .hero-app-summary,.sales .hero-grid-with-preview .hero-app-arrow{display:none}
  .sales .hero-grid-with-preview .hero-apps .hero-app-summary-short{display:block;font-size:11px;line-height:1.35}
  .sales .hero-harmony-preview{padding:7px;border-radius:12px}
  .sales .hero-harmony-info{gap:4px 7px;padding:0 2px 6px}
  .sales .hero-harmony-info h2{font-size:17px}
  .sales .hero-harmony-info p{font-size:11px}
  .sales .hero-harmony-info a{font-size:11px}
  .sales .hero-harmony-image{aspect-ratio:2.35;border-radius:8px}
  .sales .hero-harmony-label{top:7px;padding:4px 6px;font-size:10px}
  .sales .hero-harmony-label-warm{left:7px}
  .sales .hero-harmony-label-cool{right:7px}
  .sales .hero-harmony-divider > span{width:32px;height:32px;font-size:17px}
}

@media(max-width:760px){
  .sales .hero h1{margin:0 0 14px;font-size:clamp(34px,8.5vw,56px);line-height:1.05;overflow-wrap:anywhere}
  .sales .hero-grid-with-preview h1{margin:0 0 10px;font-size:clamp(30px,8.5vw,56px)}
  .sales .eyebrow{max-width:100%;font-size:10px;line-height:1.5;letter-spacing:.08em}
  .sales .hero-lead{font-size:17px;line-height:1.5}
  .sales .hero-apps a{grid-template-columns:32px minmax(0,1fr) auto;gap:10px;padding:10px 12px}
  .sales .hero-apps img{width:32px;height:32px;border-radius:7px}
  .sales .hero-apps strong{font-size:17px}
  .sales .hero-apps div span{font-size:14px}
  .sales .hero-actions{margin-top:20px}
  .sales .button{height:auto;min-height:48px;padding:13px 16px;line-height:1.45;text-align:center;white-space:normal;max-width:100%;overflow-wrap:anywhere}
  .sales .hero-offer{width:100%;margin-top:22px}
  .sales .products,.sales .workflow{width:calc(100% - 32px)}
  .sales .product-block{border-radius:18px}
  .sales .product-label .brand-icon{width:46px;height:46px;border-radius:12px}
  .sales .studio-value{padding:16px}
  .sales .studio-value strong{font-size:20px}
  .sales .pricing{padding:0 16px 64px}
  .sales .pricing-heading{margin-bottom:34px}
  .sales .pricing-switch{margin-top:0;margin-bottom:28px}
  .sales .price-card{padding:26px 22px}
  .sales .price-card li{align-items:flex-start;line-height:1.5}
  .sales .trial{width:calc(100% - 32px);padding:34px 22px}
  .sales .sales-faq{width:calc(100% - 32px);padding:64px 0}
  .sales .camera-callout{width:calc(100% - 32px);margin-bottom:64px;padding:26px 20px}
  .sales .site-footer{padding:44px 16px 28px}
  .sales .footer-grid{grid-template-columns:1fr;gap:28px;text-align:left}
  .sales .footer-bottom{text-align:left;line-height:1.65;overflow-wrap:anywhere}
  .portal :is(.hero-actions,.micro-trust){flex-wrap:wrap}
  .portal .hero-actions .button{max-width:100%;white-space:normal;text-align:center}
  .portal .product-meta{flex-wrap:wrap}
  .portal .product-meta .offer-price{max-width:100%}
  .portal .offer-current>span{white-space:normal}
  .portal .offer-current strong{max-width:100%;overflow-wrap:anywhere}
  .portal .product-detail-hero h1{font-size:clamp(34px,10vw,46px)}
  .portal .form-page h1,.portal .legal h1{font-size:clamp(30px,8.5vw,40px);line-height:1.15}
  .portal .admin-tabs{flex-wrap:wrap;overflow:visible}
  .portal .admin-tabs a{max-width:100%;white-space:normal}
}

/* Three standalone apps plus Studio: keep the whole comparison together. */
.sales .pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1180px){.sales .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sales .pricing-grid{grid-template-columns:minmax(0,1fr)}}
.lr-controller-hero{display:block;justify-self:center;text-align:center}
.lr-controller-hero img{display:block;max-height:640px;width:auto;max-width:100%;margin:auto;border-radius:12px;box-shadow:0 18px 50px #0a17352b}
.lr-controller-hero span{display:block;margin-top:16px;font-weight:700}
.preview-grid-controller{grid-template-columns:minmax(200px,.6fr) minmax(0,1.4fr);align-items:start}
.preview-grid-controller .preview-image-link img{aspect-ratio:auto}
.preview-grid-controller .preview-card:first-child{max-width:250px;justify-self:center}
@media(max-width:620px){.preview-grid-controller{grid-template-columns:minmax(0,1fr)}.lr-controller-hero img{max-height:560px}}
