/* c5 — компоненти: хедер/нав, картки, модалки, форми, акордеон, таби, lightbox, пошук, toast, футер */

/* ===== HEADER ===== */
.site-header{
  position:sticky;top:0;z-index:200;
  background:rgba(241,242,244,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--c-concrete-2);
  transition:background var(--dur-2), box-shadow var(--dur-2);
}
.site-header.is-scrolled{ background:rgba(255,255,255,.96); box-shadow:0 6px 20px rgba(26,29,33,.08) }
.header-bar{ height:var(--header-h-sm); display:flex; align-items:center; justify-content:space-between; gap:var(--space-4) }
@media (min-width:900px){ .header-bar{ height:var(--header-h) } }
.scroll-progress{ position:absolute; left:0; bottom:-1px; height:3px; width:0%; background-image:var(--hazard-stripe); background-size:30px 30px; transition:width .08s linear }

.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:17px; flex:0 0 auto }
.brand img{ width:36px; height:36px }
.brand-text b{ color:var(--c-orange) }

.main-nav{ display:none }
@media (min-width:1080px){
  .main-nav{ display:flex; align-items:center; flex:1; justify-content:center }
  .main-nav > ul{ display:flex; align-items:center; gap:2px; flex-wrap:wrap }
}
.nav-item{ position:relative }
.nav-link{
  display:flex; align-items:center; gap:4px;
  padding:10px 14px; font-size:14.5px; font-weight:600; color:var(--c-graphite);
  border-radius:var(--radius-s); background:none; border:none;
  position:relative;
}
.nav-link::after{ content:""; position:absolute; left:14px; right:14px; bottom:6px; height:3px; background:var(--c-yellow); transform:scaleX(0); transform-origin:left; transition:transform var(--dur-2) var(--ease-out) }
.nav-link:hover::after, .nav-link.is-active::after{ transform:scaleX(1) }
.nav-link .chev{ width:14px; height:14px; transition:transform var(--dur-2) }
.nav-item:hover .chev, .nav-item.is-open .chev{ transform:rotate(180deg) }

.dropdown{
  position:absolute; top:100%; left:0; min-width:280px;
  background:var(--c-white); border:1px solid var(--c-concrete-2); border-radius:var(--radius-m);
  box-shadow:var(--shadow-card-hover); padding:8px;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s var(--dur-2);
  max-height:70vh; overflow:auto;
}
.nav-item:hover .dropdown, .nav-item.is-open .dropdown{ opacity:1; visibility:visible; transform:translateY(4px); transition-delay:0s }
.dropdown a, .dropdown .drop-note{ display:block; padding:9px 12px; border-radius:6px; font-size:13.5px; font-weight:500 }
.dropdown a:hover{ background:var(--c-concrete) }
.dropdown .drop-group{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--c-steel); padding:10px 12px 2px }
.dropdown .drop-note{ color:var(--c-steel); font-style:italic; cursor:pointer }

.header-actions{ display:flex; align-items:center; gap:8px }
.icon-btn{
  width:40px;height:40px;border-radius:var(--radius-s);border:1.5px solid var(--c-concrete-2);
  background:var(--c-white); display:flex;align-items:center;justify-content:center;
  transition:border-color var(--dur-1), background var(--dur-1);
}
.icon-btn:hover{ border-color:var(--c-graphite) }
.icon-btn svg{ width:19px;height:19px }
.kbd-hint{ font-family:var(--font-mono); font-size:11px; border:1px solid var(--c-concrete-2); border-radius:4px; padding:1px 5px; color:var(--c-steel); display:none }
@media (min-width:1080px){ .search-btn{ width:auto; padding:0 12px; gap:8px } .kbd-hint{ display:inline-block } }
.burger{ display:flex; }
@media (min-width:1080px){ .burger{ display:none } }

/* ===== MOBILE DRAWER ===== */
.drawer-overlay{ position:fixed; inset:0; background:rgba(26,29,33,.55); opacity:0; visibility:hidden; transition:opacity var(--dur-2); z-index:300 }
.drawer-overlay.is-open{ opacity:1; visibility:visible }
.drawer{
  position:fixed; top:0; right:0; bottom:0; width:min(340px,86vw);
  background:var(--c-graphite); color:var(--c-white); z-index:301;
  transform:translateX(100%); transition:transform var(--dur-3) var(--ease-out);
  display:flex; flex-direction:column; padding:var(--space-5);
  border-left:5px solid var(--c-yellow);
}
.drawer.is-open{ transform:translateX(0) }
.drawer-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:var(--space-5) }
.drawer-close{ width:38px;height:38px;border-radius:6px;background:var(--c-graphite-2);color:var(--c-yellow);display:flex;align-items:center;justify-content:center;border:1px solid var(--c-steel-dark) }
.drawer-nav{ overflow:auto; flex:1 }
.drawer-nav > li > a, .drawer-nav > li > button{
  display:flex; justify-content:space-between; align-items:center; width:100%;
  padding:14px 4px; font-size:16px; font-weight:600; color:var(--c-white);
  border-bottom:1px solid var(--c-graphite-3); background:none; border-left:none;border-right:none;border-top:none;
}
.drawer-sub{ padding-left:14px; display:none }
.drawer-sub.is-open{ display:block }
.drawer-sub a{ display:block; padding:11px 4px; color:#C6CAD1; font-size:14px; border-bottom:1px dashed var(--c-graphite-3) }
.drawer-cta{ margin-top:var(--space-4) }

/* ===== CARDS: напрями =====
   flex+justify-content:center замість grid auto-fit: 5 напрямів завжди лягають
   рівними рядками (5 / 3+2 / 2+2+1 / 1 в стовпчик) БЕЗ дірки в останньому
   неповному рядку — рядок автоматично центрується (фікс-раунд-1, зауваження 2) */
.dir-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:var(--space-5); position:relative; z-index:1 }
.dir-grid > .dir-card{ flex:0 0 auto; width:100%; }
@media (min-width:560px){ .dir-grid > .dir-card{ width:calc((100% - var(--space-5))/2) } }
@media (min-width:860px){ .dir-grid > .dir-card{ width:calc((100% - var(--space-5)*2)/3) } }
@media (min-width:1180px){ .dir-grid > .dir-card{ width:calc((100% - var(--space-5)*4)/5) } }
.dir-card{
  background:var(--c-white); border-radius:var(--radius-m); padding:var(--space-5);
  position:relative; box-shadow:var(--shadow-card);
  transition:transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  border:1px solid var(--c-concrete-2);
}
.dir-card::before,.dir-card::after,.dir-card .corner-b1,.dir-card .corner-b2{
  content:""; position:absolute; width:16px; height:16px; border-color:var(--c-graphite); opacity:0; transition:opacity var(--dur-2);
}
.dir-card::before{ top:6px; left:6px; border-top:2px solid; border-left:2px solid }
.dir-card::after{ top:6px; right:6px; border-top:2px solid; border-right:2px solid }
.dir-card .corner-b1{ bottom:6px; left:6px; border-bottom:2px solid; border-left:2px solid }
.dir-card .corner-b2{ bottom:6px; right:6px; border-bottom:2px solid; border-right:2px solid }
.dir-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-card-hover) }
.dir-card:hover::before,.dir-card:hover::after,.dir-card:hover .corner-b1,.dir-card:hover .corner-b2{ opacity:1; border-color:var(--c-orange) }
.dir-frame{ width:64px;height:64px; margin-bottom:var(--space-4); position:relative }
.dir-frame svg{ position:absolute; inset:0; width:100%; height:100% }
.dir-frame img{ position:absolute; inset:0; margin:auto; width:34px; height:34px; filter:invert(1) }
.dir-tag{ font-family:var(--font-mono); font-size:11px; color:var(--c-steel); letter-spacing:.08em }
.dir-card h3{ margin:6px 0 8px }
.dir-card p{ font-size:14px }
.dir-more{ margin-top:14px; display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:14px; color:var(--c-graphite) }
.dir-more svg{ width:15px;height:15px; transition:transform var(--dur-1) }
.dir-card:hover .dir-more svg{ transform:translateX(4px) }

/* ===== ТАБЛО фактів ===== */
.facts-panel{ background:var(--c-graphite); border-radius:var(--radius-l); padding:var(--space-7) var(--space-5); position:relative; overflow:hidden }
/* 9 фактів → рівно 3 колонки (3×3, без залишку) на десктопі, 1 колонка на вузьких —
   ділиться націло на обох брейкпоінтах, дірки в останньому рядку бути не може */
.facts-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:var(--space-6); position:relative; z-index:1 }
.facts-grid > .fact-plate{ flex:0 0 auto; width:100%; }
@media (min-width:700px){ .facts-grid > .fact-plate{ width:calc((100% - var(--space-6)*2)/3) } }
.fact-plate{ text-align:left }
.fact-value{ font-family:var(--font-mono); font-weight:700; font-size:clamp(26px,3.2vw,40px); color:var(--c-yellow); display:flex; }
.fact-digit{ display:inline-block; }
.fact-label{ font-size:13px; color:#B7BCC4; margin-top:8px; line-height:1.5 }

/* ===== чек-лист «як пройти навчання» ===== */
.steps{ position:relative; max-width:720px }
.steps::before{ content:""; position:absolute; left:23px; top:10px; bottom:10px; width:2px; background:repeating-linear-gradient(var(--c-steel) 0 6px, transparent 6px 12px) }
.step{ display:flex; gap:var(--space-4); position:relative; padding-bottom:var(--space-6) }
.step:last-child{ padding-bottom:0 }
.step-check{ flex:0 0 auto; width:48px;height:48px; border-radius:50%; background:var(--c-white); border:2px solid var(--c-steel); display:flex; align-items:center; justify-content:center; position:relative; z-index:1 }
.step-check svg{ width:24px;height:24px }
.step-check path{ stroke-dasharray:40; stroke-dashoffset:40; }
.step.is-done .step-check{ border-color:var(--c-green); background:#eafff3 }
.step.is-done .step-check path{ animation:draw-check .5s var(--ease-out) forwards }
.step-num{ font-family:var(--font-mono); font-size:12px; color:var(--c-steel) }
.step h3{ margin:2px 0 4px }
.step p{ font-size:14px }

/* ===== новини/семінари таби+картки ===== */
.tabs-bar{ display:flex; gap:8px; margin-bottom:var(--space-5); flex-wrap:wrap }
.tab-btn{ padding:10px 18px; border-radius:999px; border:2px solid var(--c-graphite); background:transparent; font-weight:600; font-size:14px }
.tab-btn.is-active{ background:var(--c-graphite); color:var(--c-yellow) }
/* картки новин/семінарів: 1/2/3 колонки, будь-яка кількість (3, 9, 12, 21…) —
   останній неповний рядок центрується flex-ом, а не висить дірою праворуч */
.card-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:var(--space-5) }
.card-grid > .news-card{ flex:0 0 auto; width:100%; }
@media (min-width:560px){ .card-grid > .news-card{ width:calc((100% - var(--space-5))/2) } }
@media (min-width:860px){ .card-grid > .news-card{ width:calc((100% - var(--space-5)*2)/3) } }
.news-card{ background:var(--c-white); border-radius:var(--radius-m); overflow:hidden; box-shadow:var(--shadow-card); transition:transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); display:flex; flex-direction:column }
.news-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-card-hover) }
.news-thumb{ height:170px; background:var(--c-graphite) center/cover no-repeat; position:relative; flex:0 0 auto }
.news-thumb.no-img{ display:flex; align-items:center; justify-content:center; background:var(--c-steel-dark) }
.news-thumb.no-img svg{ width:38px;height:38px; opacity:.5; color:var(--c-yellow) }
.date-stamp{ position:absolute; top:10px; left:10px; background:var(--c-yellow); color:var(--c-graphite); font-family:var(--font-mono); font-weight:700; border-radius:4px; padding:4px 8px; font-size:12px; text-align:center; line-height:1.2; border:1px solid var(--c-graphite) }
.news-body{ padding:var(--space-4); display:flex; flex-direction:column; gap:8px; flex:1 }
.news-body h3{ font-size:16px }
.news-body p{ font-size:13.5px; flex:1 }
.news-cat{ font-size:12px }
.card-link-row{ display:flex; justify-content:space-between; align-items:center; margin-top:6px }
.beacon-badge{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:11px; font-weight:700; color:#8a5a00; background:#fff4d6; border:1px solid var(--c-yellow-dim); border-radius:999px; padding:3px 9px }
.beacon-dot{ width:8px;height:8px;border-radius:50%; background:var(--c-yellow); box-shadow:0 0 0 0 rgba(255,196,0,.7); animation:beacon-pulse 1.8s infinite }

/* ===== акордеон / таби (FAQ, документи) ===== */
.accordion-item{ border-bottom:1px solid var(--c-concrete-2) }
.accordion-trig{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 4px; background:none; border:none; text-align:left; font-weight:600; font-size:15.5px }
.accordion-trig svg{ width:18px; height:18px; flex:0 0 auto; transition:transform var(--dur-2) }
.accordion-item.is-open .accordion-trig svg{ transform:rotate(45deg) }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height var(--dur-3) var(--ease-in-out) }
.accordion-panel-inner{ padding:0 4px 18px; font-size:14.5px; color:var(--c-steel-dark) }
.year-chip-row{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:var(--space-5) }
.year-chip{ font-family:var(--font-mono); font-weight:700; font-size:13px; padding:8px 14px; border-radius:4px; border:1.5px solid var(--c-graphite); background:var(--c-white) }
.year-chip.is-active{ background:var(--c-graphite); color:var(--c-yellow) }
.doc-list{ display:flex; flex-direction:column; gap:2px }
.doc-row{ display:flex; align-items:center; gap:14px; padding:14px 12px; border-radius:6px; background:var(--c-white); border:1px solid var(--c-concrete-2) }
.doc-row + .doc-row{ margin-top:8px }
.doc-ext{ font-family:var(--font-mono); font-weight:700; font-size:11px; background:var(--c-graphite); color:var(--c-yellow); border-radius:4px; padding:5px 7px; flex:0 0 auto }
.doc-title{ flex:1; font-size:14.5px; font-weight:600 }
.doc-meta{ font-family:var(--font-mono); font-size:12px; color:var(--c-steel); flex:0 0 auto }
.empty-note{ font-size:14px; font-style:italic; color:var(--c-steel); padding:18px; border:1.5px dashed var(--c-steel); border-radius:8px; text-align:center }

/* ===== gallery / lightbox ===== */
/* 8 фото → 1/2/4 колонки — усі ділять 8 без залишку (8, 4, 2 ряди рівно) */
.gallery-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:var(--space-3) }
.gallery-grid > .gallery-item{ flex:0 0 auto; width:100%; }
@media (min-width:560px){ .gallery-grid > .gallery-item{ width:calc((100% - var(--space-3))/2) } }
@media (min-width:900px){ .gallery-grid > .gallery-item{ width:calc((100% - var(--space-3)*3)/4) } }
.gallery-item{ border-radius:var(--radius-s); overflow:hidden; aspect-ratio:4/3; position:relative; border:none; padding:0 }
.gallery-item img{ width:100%;height:100%;object-fit:cover; transition:transform var(--dur-3) }
.gallery-item:hover img{ transform:scale(1.08) }
.lightbox{ position:fixed; inset:0; background:rgba(10,11,13,.92); z-index:400; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity var(--dur-2) }
.lightbox.is-open{ opacity:1; visibility:visible }
.lightbox img{ max-width:90vw; max-height:82vh; border-radius:6px; box-shadow:var(--shadow-modal) }
.lightbox-close{ position:absolute; top:22px; right:22px; width:44px;height:44px; border-radius:50%; background:var(--c-graphite-2); color:var(--c-yellow); display:flex; align-items:center; justify-content:center; border:1px solid var(--c-steel-dark) }
.lightbox-nav{ position:absolute; top:50%; transform:translateY(-50%); width:48px;height:48px; border-radius:50%; background:rgba(255,255,255,.1); color:#fff; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.2) }
.lightbox-prev{ left:18px } .lightbox-next{ right:18px }

/* ===== модалки ===== */
.modal-overlay{ position:fixed; inset:0; background:rgba(26,29,33,.6); z-index:500; display:flex; align-items:flex-start; justify-content:center; overflow:auto; padding:40px 16px; opacity:0; visibility:hidden; transition:opacity var(--dur-2) }
.modal-overlay.is-open{ opacity:1; visibility:visible }
.modal{
  background:var(--c-white); width:min(640px,100%); border-radius:var(--radius-m);
  box-shadow:var(--shadow-modal); transform:translateY(24px) scale(.98); opacity:0;
  transition:transform var(--dur-3) var(--ease-stamp), opacity var(--dur-2);
  border-top:6px solid var(--c-yellow);
}
.modal-overlay.is-open .modal{ transform:translateY(0) scale(1); opacity:1 }
.modal-head{ display:flex; justify-content:space-between; align-items:flex-start; padding:var(--space-5) var(--space-5) var(--space-3); gap:16px }
.modal-title{ font-size:12px; font-family:var(--font-mono); color:var(--c-steel); letter-spacing:.1em; text-transform:uppercase }
.modal-head h2{ font-size:22px; margin-top:4px }
.modal-close{ width:36px;height:36px; border-radius:6px; border:1.5px solid var(--c-concrete-2); display:flex; align-items:center; justify-content:center; flex:0 0 auto }
.modal-body{ padding:0 var(--space-5) var(--space-5) }
.form-doc{ border:1.5px dashed var(--c-steel); border-radius:8px; padding:var(--space-4) }
.form-field-num{ font-family:var(--font-mono); font-size:11px; color:var(--c-steel); letter-spacing:.06em }
.field{ margin-bottom:var(--space-4) }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px }
.field input, .field select, .field textarea{
  width:100%; padding:11px 12px; border-radius:6px; border:1.5px solid var(--c-concrete-2);
  font-family:var(--font-sans); font-size:14.5px; background:var(--c-concrete);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--c-graphite); background:var(--c-white) }
.field.has-error input{ border-color:var(--c-red) }
.field-error{ color:var(--c-red); font-size:12px; margin-top:4px; display:none }
.field.has-error .field-error{ display:block }
.step-progress{ display:flex; gap:6px; margin-bottom:var(--space-4) }
.step-progress span{ flex:1; height:5px; border-radius:3px; background:var(--c-concrete-2) }
.step-progress span.is-done{ background:var(--c-yellow) }
.modal-actions{ display:flex; justify-content:space-between; gap:12px; margin-top:var(--space-5) }
.stamp-approved{
  display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; padding:var(--space-6) var(--space-4);
}
.stamp-mark{
  font-family:var(--font-mono); font-weight:700; font-size:26px; letter-spacing:.08em; color:var(--c-green);
  border:4px solid var(--c-green); border-radius:10px; padding:10px 26px; transform:scale(1.5) rotate(-8deg); opacity:0;
}
.stamp-mark.is-shown{ animation:stamp-in .5s var(--ease-stamp) forwards }

/* ===== пошук Ctrl+K ===== */
.search-overlay{ position:fixed; inset:0; background:rgba(26,29,33,.6); z-index:500; display:flex; align-items:flex-start; justify-content:center; padding:80px 16px; opacity:0; visibility:hidden; transition:opacity var(--dur-2) }
.search-overlay.is-open{ opacity:1; visibility:visible }
.search-panel{ width:min(600px,100%); background:var(--c-graphite); border-radius:var(--radius-m); box-shadow:var(--shadow-modal); border:1px solid var(--c-steel-dark); transform:translateY(-16px); transition:transform var(--dur-2) var(--ease-out) }
.search-overlay.is-open .search-panel{ transform:translateY(0) }
.search-input-row{ display:flex; align-items:center; gap:10px; padding:16px 18px; border-bottom:1px solid var(--c-graphite-3) }
.search-input-row svg{ width:20px;height:20px; color:var(--c-yellow) }
.search-input-row input{ flex:1; background:none; border:none; color:#fff; font-family:var(--font-mono); font-size:16px }
.search-input-row input:focus{ outline:none }
.search-results{ max-height:50vh; overflow:auto; padding:8px }
.search-result{ display:block; padding:12px 12px; border-radius:6px; color:#dfe2e6 }
.search-result:hover, .search-result.is-active{ background:var(--c-graphite-2) }
.search-result b{ color:var(--c-yellow) }
.search-result small{ display:block; color:var(--c-steel); font-family:var(--font-mono); font-size:11px; margin-top:2px }
.search-empty{ padding:20px; text-align:center; color:var(--c-steel); font-size:14px }

/* ===== toast ===== */
.toast-stack{ position:fixed; bottom:20px; right:20px; z-index:600; display:flex; flex-direction:column; gap:10px; max-width:min(360px,90vw) }
.toast{ background:var(--c-graphite); color:#fff; padding:14px 16px; border-radius:8px; border-left:5px solid var(--c-green); box-shadow:var(--shadow-modal); display:flex; gap:10px; align-items:flex-start; transform:translateX(120%); transition:transform var(--dur-3) var(--ease-out) }
.toast.is-shown{ transform:translateX(0) }
.toast svg{ width:20px;height:20px; color:var(--c-green); flex:0 0 auto; margin-top:1px }
.toast strong{ display:block; font-size:14px; margin-bottom:2px }
.toast span{ font-size:12.5px; color:#B7BCC4 }
.cookie-toast{ position:fixed; left:0; right:0; bottom:0; z-index:550; background-image:var(--hazard-stripe); background-size:50px 50px; padding:4px; transform:translateY(100%); transition:transform var(--dur-3) var(--ease-out) }
.cookie-toast.is-shown{ transform:translateY(0) }
.cookie-inner{ background:var(--c-graphite); color:#fff; border-radius:6px; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap }
.cookie-inner p{ color:#dfe2e6; font-size:13.5px; margin:0; max-width:640px }

/* ===== back to top ===== */
.to-top{ position:fixed; right:20px; bottom:20px; width:48px;height:48px; border-radius:50%; background:var(--c-graphite); color:var(--c-yellow); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-card-hover); opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity var(--dur-2), transform var(--dur-2); z-index:150 }
.to-top.is-shown{ opacity:1; visibility:visible; transform:translateY(0) }

/* ===== footer ===== */
.site-footer{ background:var(--c-graphite); color:#C6CAD1; }
.footer-top{ padding:var(--space-8) 0 var(--space-6); display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:var(--space-6) }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr } }
@media (max-width:520px){ .footer-top{ grid-template-columns:1fr } }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px }
.footer-brand img{ width:38px;height:38px }
.footer-col h4{ color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.08em; font-family:var(--font-mono); margin-bottom:14px }
.footer-col li{ margin-bottom:10px; font-size:14px }
.footer-col a:hover{ color:var(--c-yellow) }
.footer-bottom{ border-top:1px solid var(--c-graphite-3); padding:var(--space-4) 0; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:12.5px; color:var(--c-steel) }
.pict{ width:34px;height:34px; flex:0 0 auto }

/* ===== 404-safe note popover ===== */
.notice-pop{ position:fixed; z-index:700; background:var(--c-graphite); color:#fff; padding:12px 14px; border-radius:8px; font-size:13px; max-width:280px; box-shadow:var(--shadow-modal); border-left:4px solid var(--c-yellow) }

/* мобілка: кнопка заявки в шапці коротша, щоб шапка влазила у 360-400px */
@media (max-width:420px){ .header-actions{ gap:6px } #open-application-header{ padding-left:10px; padding-right:10px; font-size:13px } .brand-text{ font-size:15px } }
@media (max-width:360px){ #open-application-header{ display:none } }
