/* FlowTech Systems — legal pages and consent controls */
.footer-inner{
  gap:18px;
  align-items:flex-start;
}
.footer-legal{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px 16px;
}
.footer-legal .footer-link{
  white-space:nowrap;
}
.policy .legal-updated{
  display:inline-flex;
  margin:0 0 16px;
  padding:6px 10px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:999px;
  background:rgba(248,250,255,.82);
  color:rgba(15,23,42,.66);
  font-size:12px;
}
.policy ul,
.policy ol{
  margin:10px 0 14px;
  padding-left:24px;
  color:rgba(15,23,42,.86);
  line-height:1.65;
}
.policy li + li{margin-top:6px}
.policy .legal-note{
  margin:16px 0;
  padding:14px 16px;
  border-left:4px solid var(--primary2);
  border-radius:0 14px 14px 0;
  background:rgba(19,76,191,.06);
}
.legal-table-wrap{
  width:100%;
  margin:14px 0 18px;
  overflow-x:auto;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  background:#fff;
}
.legal-table{
  width:100%;
  min-width:680px;
  border-collapse:collapse;
  font-size:14px;
  line-height:1.5;
}
.legal-table th,
.legal-table td{
  padding:12px 14px;
  border-bottom:1px solid rgba(15,23,42,.09);
  text-align:left;
  vertical-align:top;
}
.legal-table th{
  background:rgba(248,250,255,.94);
  color:rgba(15,23,42,.74);
  font-size:12px;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.legal-table tr:last-child td{border-bottom:0}

.cookie-banner{
  position:fixed;
  z-index:10000;
  left:18px;
  right:18px;
  bottom:18px;
  max-width:1120px;
  margin:0 auto;
  padding:18px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:20px;
  background:rgba(15,23,42,.97);
  color:#fff;
  box-shadow:0 24px 70px rgba(2,6,23,.38);
}
.cookie-banner[hidden],
.cookie-modal[hidden]{display:none!important}
.cookie-banner__layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
}
.cookie-banner__title{
  margin:0 0 6px;
  font-size:18px;
  line-height:1.25;
}
.cookie-banner__text{
  margin:0;
  color:rgba(255,255,255,.80);
  font-size:14px;
  line-height:1.55;
}
.cookie-banner a{
  color:#9ec8ff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.cookie-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.cookie-btn{
  min-height:42px;
  padding:9px 14px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font:inherit;
  font-size:14px;
  font-weight:650;
  cursor:pointer;
}
.cookie-btn:hover{background:rgba(255,255,255,.14)}
.cookie-btn--primary{
  border-color:#2f7be8;
  background:#1b66dc;
}
.cookie-btn--primary:hover{background:#1558c4}
.cookie-modal{
  position:fixed;
  z-index:10020;
  inset:0;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(2,6,23,.58);
}
.cookie-modal__panel{
  width:min(620px,100%);
  max-height:min(760px,calc(100vh - 36px));
  overflow:auto;
  padding:22px;
  border-radius:20px;
  background:#fff;
  color:#0f172a;
  box-shadow:0 30px 90px rgba(2,6,23,.40);
}
.cookie-modal__head{
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
}
.cookie-modal__head h2{margin:0;font-size:24px}
.cookie-modal__close{
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(15,23,42,.12);
  border-radius:10px;
  background:#fff;
  color:#0f172a;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.cookie-category{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:14px;
  padding:14px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  background:rgba(248,250,255,.72);
}
.cookie-category input{
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin-top:2px;
}
.cookie-category strong{display:block;margin-bottom:4px}
.cookie-category p{
  margin:0;
  color:rgba(15,23,42,.68);
  font-size:13px;
  line-height:1.5;
}
.cookie-modal__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
  margin-top:18px;
}
.cookie-modal .cookie-btn{
  border-color:rgba(15,23,42,.15);
  background:#fff;
  color:#0f172a;
}
.cookie-modal .cookie-btn--primary{
  border-color:#1b66dc;
  background:#1b66dc;
  color:#fff;
}
.map-consent-placeholder{
  display:flex;
  min-height:230px;
  padding:24px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}
.map-consent-placeholder p{margin:0;max-width:480px}
.btn.is-disabled,
.btn[aria-disabled="true"]{
  opacity:.55;
  cursor:not-allowed;
}
@media (max-width:760px){
  .footer-legal{justify-content:flex-start}
  .cookie-banner{left:10px;right:10px;bottom:10px;padding:15px}
  .cookie-banner__layout{grid-template-columns:1fr}
  .cookie-actions{justify-content:stretch}
  .cookie-actions .cookie-btn{flex:1 1 145px}
}

