:root { --site-header-height: 68px; --site-header-gutter: clamp(20px,7.5vw,180px); }
html { scroll-padding-top: calc(var(--site-header-height) + 24px); }
body.has-site-header:not(.is-homepage) { padding-top: var(--site-header-height); }
#app .site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(22,22,22,.68); border-bottom: 1px solid #ffffff16; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
#app .site-header { transition: background-color .24s ease; }
@media (hover:hover) {
  #app .site-header:hover { background-color: rgba(10,10,10,.94); }
}
#app .site-header:focus-within { background-color: rgba(10,10,10,.94); }
#app .site-header .header-inner { display: flex; align-items: center; width: min(1720px,calc(100% - var(--site-header-gutter)*2)); max-width: 1720px; min-height: var(--site-header-height); margin: 0 auto; padding: 9px 0; gap: 30px; }
#app .site-header .brand { display: flex; flex: 0 0 auto; align-items: center; flex-direction: row; width: auto; gap: 9px; margin: 0 auto 0 0; text-align: left; }
#app .site-header .brand-elephant { width: 48px; height: 36px; margin: 0; object-fit: contain; }
#app .site-header .brand span { color: #fff; font: 700 14px/1.2 Arial,Helvetica,sans-serif; letter-spacing: -.3px; text-shadow: none; white-space: nowrap; }
#app .site-header nav { display: flex; flex: 0 1 auto; align-items: center; justify-content: flex-end; gap: clamp(18px,2.2vw,38px); }
#app .site-header nav a { padding: 12px 0; font-size: 14px; font-weight: 600; color: #eee; }
#app .site-header nav a:hover,#app .site-header nav a.active { color: #05bd72; }
#app .site-header .languages { display: flex; align-items: center; gap: 1px; padding: 3px; border: 1px solid #ffffff20; border-radius: 7px; font-size: 11px; }
#app .site-header .languages a { padding: 6px; color: #bbb; border-radius: 4px; }
#app .site-header .languages a[aria-current] { background: #05bd7224; color: #f5f5f5; }
#app .site-header .menu-toggle { display: none; }
.homepage .hero { padding-top: var(--site-header-height); }
/* Keep logo blending outside an isolated content layer, so white raster backgrounds disappear. */
.homepage .hero .hero-content { z-index: auto; }
.homepage .hero .hero-copy { position: relative; z-index: 1; }
.homepage .hero .hero-partners { position: relative; z-index: 1; mix-blend-mode: screen; }
.homepage .hero .hero-partner-logos [data-partner="тутє"] img { filter: grayscale(1) invert(1) brightness(2.4); }
.homepage .hero .hero-partner-logos [data-partner="фотос"] img { filter: none; }
.homepage .hero .hero-partner-logos [data-partner="bakun"] img { filter: grayscale(1) invert(1) brightness(2.2); mix-blend-mode: normal; }
.homepage .hero-button,.homepage .catalog-card-button { border-radius: 11px; }
.homepage .hero .hero-button { border-radius: 11px; }
.homepage .how-help { border-radius: 20px; background: #ffffff04; border-color: #ffffff30; }
@media(min-width:1101px) and (max-width:1450px) { #app .site-header nav { gap:18px; } #app .site-header nav a { font-size:13px; } #app .site-header .header-inner { gap:22px; } }
@media(max-width:1100px) {
 :root { --site-header-gutter: clamp(24px,5vw,64px); }
 #app .site-header .header-inner { gap: 16px; }
 #app .site-header nav { position: absolute; inset: 100% 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 14px var(--site-header-gutter) 20px; background: rgba(16,16,16,.97); border-bottom: 1px solid #ffffff20; }
 #app .site-header.menu-open nav { display: flex; }
 #app .site-header nav a { padding: 13px 0; font-size: 15px; }
 #app .site-header .languages { order: 2; }
 #app .site-header .menu-toggle { order: 3; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 36px; border: 1px solid #ffffff30; border-radius: 6px; padding: 7px; background: transparent; }
 #app .site-header .menu-toggle span { width: 100%; height: 1px; background: #eee; }
}
@media(max-width:650px) {
 :root { --site-header-height: 60px; --site-header-gutter: 20px; }
 #app .site-header .header-inner { gap: 10px; padding-block: 7px; }
 #app .site-header .brand { gap: 6px; }
 #app .site-header .brand-elephant { width: 34px; height: 27px; }
 #app .site-header .brand span { font-size: 11px; letter-spacing: -.35px; }
 #app .site-header .languages { padding: 2px; font-size: 9px; }
 #app .site-header .languages a { padding: 5px; }
 #app .site-header .menu-toggle { width: 31px; padding: 8px 6px; }
}
@media(max-width:350px) {
 #app .site-header .brand span { font-size: 10px; }
 #app .site-header .brand-elephant { width: 30px; height: 24px; }
 #app .site-header .header-inner { gap: 7px; }
}
@media(max-height:520px) and (max-width:650px) { :root { --site-header-height: 50px; } #app .site-header .header-inner { padding-block: 5px; } }

#app .site-footer {
  --footer-line: #ffffff21;
  --footer-heading: #f5f5f5;
  padding: 42px 0 20px;
  border-top: 1px solid var(--footer-line);
  background: #121212;
  color: #bcbcbc;
  font-size: 13px;
  line-height: 1.5;
}
.site-footer-inner { width: min(1120px,calc(100% - 40px)); margin-inline: auto; }
.site-footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.site-footer-grid h2 { margin: 0 0 12px; color: var(--footer-heading); font-size: 14px; }
.site-footer-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--footer-line); }
#app .site-footer a:hover { color: var(--footer-heading); text-decoration: underline; text-underline-offset: 3px; }
#app .back { width: auto; height: auto; padding: 9px 12px; font-size: 14px; }
.carousel-arrow { width: auto; padding-inline: 10px; border-radius: 9px; font-size: 13px; }
@media(max-width:700px) { .site-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media print { #app .site-footer { display: none; } }
/* Standalone original routes follow the site's dark appearance. */
#app :is(.config-page,.projects-page) { background: #181818; color: #eeeeee; color-scheme: dark; }
#app .config-card { background: #ffffff07; border-color: #ffffff30; box-shadow: none; }
#app :is(.config-card select,.order-section input,.order-section textarea) { background: #ffffff0b; color: #eee; border-color: #ffffff38; }
#app .order-section .form-status { color: #8cfdca; }
