/* ALUDOS - pätička. Zdroj markupu: partials/footer.html */
.site-footer{
  position:relative; overflow:hidden; background:#0d1a2d; color:rgba(255,255,255,.72);
  font-family:"Bricolage Grotesque", Arial, sans-serif; font-size:15px; line-height:1.5;
}
.site-footer *{box-sizing:border-box;}
.site-footer a{color:inherit; text-decoration:none;}
.ft-inner{max-width:1400px; margin-inline:auto; padding:72px 32px 56px;}
.ft-grid{display:grid; grid-template-columns:1.25fr 1.5fr .7fr 1.25fr; gap:48px;}
.ft-brand{display:flex; flex-direction:column; align-items:flex-start; gap:20px;}
.ft-logo img{height:44px; width:auto; display:block;}
.ft-brand p{max-width:32ch; margin:0; color:rgba(255,255,255,.65);}
.site-footer .ft-cta{
  display:inline-flex; align-items:center; padding:13px 22px; border-radius:999px; background:#b93131; color:#fff;
  font-size:15px; transition:background .2s ease, transform .2s ease;
}
.site-footer .ft-cta:hover{background:#d04444; transform:translateY(-2px);}
.ft-address{display:flex; align-items:flex-start; gap:12px; margin-top:4px; color:rgba(255,255,255,.8); transition:color .2s ease;}
.ft-address svg{width:20px; height:20px; flex-shrink:0; margin-top:2px; color:rgba(255,255,255,.55);}
.ft-address:hover{color:#fff;}
.ft-col{display:flex; flex-direction:column; gap:10px;}
.site-footer .ft-col h4{margin:0 0 8px; color:rgba(255,255,255,.45); font-size:13px; letter-spacing:.1em; text-transform:uppercase;}
.ft-col > a, .ft-systems-cols a{position:relative; align-self:flex-start; color:rgba(255,255,255,.82); transition:color .2s ease;}
.ft-col > a::after, .ft-systems-cols a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px; background:currentColor;
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.ft-col > a:hover, .ft-systems-cols a:hover{color:#fff;}
.ft-col > a:hover::after, .ft-systems-cols a:hover::after{transform:scaleX(1);}
.ft-systems-cols{display:grid; grid-template-columns:1fr 1fr; gap:0 28px;}
.ft-systems-cols > div{display:flex; flex-direction:column; gap:10px;}
.ft-contacts{gap:18px;}
.ft-person{display:flex; flex-direction:column; gap:4px;}
.ft-role{font-size:13px; color:rgba(255,255,255,.5); margin-bottom:2px;}
.ft-person a{display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.88); transition:color .2s ease;}
.ft-person a svg{width:16px; height:16px; flex-shrink:0; color:rgba(255,255,255,.5);}
.ft-person a:hover{color:#fff;}
.ft-watermark{
  font-size:min(18vw,220px); font-weight:700; line-height:1; text-align:center; white-space:nowrap; overflow:hidden;
  color:rgba(255,255,255,.04); user-select:none; pointer-events:none; margin-top:-8px;
}
.ft-bottom{border-top:1px solid rgba(255,255,255,.1);}
.ft-bottom-inner{
  max-width:1400px; margin-inline:auto; padding:20px 32px; display:flex; justify-content:space-between; align-items:center;
  gap:12px 24px; flex-wrap:wrap; font-size:13px; color:rgba(255,255,255,.5);
}
.ft-legal{display:flex; gap:8px 24px; flex-wrap:wrap;}
.ft-legal a{color:rgba(255,255,255,.65); transition:color .2s ease;}
.ft-legal a:hover{color:#fff;}
@media (max-width:1099px){
  .ft-inner{padding:56px 32px 40px;}
  .ft-grid{grid-template-columns:1fr 1fr; gap:40px 32px;}
  .ft-brand{grid-column:1 / -1;}
  .ft-systems{grid-column:1 / -1;}
  .ft-systems-cols{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:700px){
  .ft-inner{padding:44px 32px 32px;}
  .ft-grid{grid-template-columns:1fr; gap:36px;}
  .ft-systems-cols{grid-template-columns:1fr 1fr; gap:0 16px;}
  .ft-bottom-inner{flex-direction:column; align-items:flex-start;}
}

/* ===== Prepracované rozloženie: 2 riadky, väčšie písmo (18 px) a väčšie medzery ===== */
.site-footer{font-size:18px; line-height:1.5;}
.ft-inner{padding:80px 32px 64px;}
.ft-grid{
  grid-template-columns:repeat(12, 1fr);
  grid-template-areas:
    "brand brand brand brand contacts contacts contacts contacts contacts contacts contacts contacts"
    "systems systems systems systems systems systems systems systems company company company company";
  gap:72px 48px;
}
.ft-brand{grid-area:brand;}
.ft-contacts{grid-area:contacts;}
.ft-systems{grid-area:systems;}
.ft-grid > nav[aria-label="Spoločnosť"]{grid-area:company;}
.ft-brand p{max-width:30ch; font-size:18px;}
.site-footer .ft-cta{font-size:17px; padding:15px 26px;}
.ft-address{font-size:18px;}
.ft-address svg{width:22px; height:22px;}
.ft-col{gap:14px;}
.site-footer .ft-col h4{margin-bottom:14px;}
/* kontakty: tri osoby vedľa seba */
.ft-contacts{display:grid; grid-template-columns:repeat(3, 1fr); gap:0 40px;}
.ft-contacts h4{grid-column:1 / -1;}
.ft-person{gap:8px;}
.ft-role{font-size:15px; line-height:1.35; margin-bottom:6px; min-height:2.7em;}
.ft-person a{font-size:18px; gap:12px;}
.ft-person a svg{width:18px; height:18px;}
/* systémy: 13 odkazov do troch stĺpcov (plnené po stĺpcoch), veľká medzera medzi odkazmi */
.ft-systems-cols{display:grid; grid-auto-flow:column; grid-template-rows:repeat(5, auto); grid-template-columns:repeat(3, 1fr); gap:20px 48px;}
.ft-systems-cols > div{display:contents;}
.ft-systems-cols a{font-size:18px; line-height:1.35;}
.ft-col > a{font-size:18px;}
.ft-bottom-inner{font-size:15px; padding:24px 32px;}
@media (max-width:1099px){
  .ft-grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"brand brand" "contacts contacts" "systems systems" "company company";
    gap:56px 32px;
  }
  .ft-contacts{grid-template-columns:repeat(3, 1fr); gap:0 28px;}
  .ft-role{min-height:0;}
}
@media (max-width:700px){
  .ft-inner{padding:48px 32px 36px;}
  .ft-grid{grid-template-columns:1fr; grid-template-areas:"brand" "contacts" "systems" "company"; gap:44px;}
  .ft-contacts{grid-template-columns:1fr; gap:24px;}
  .ft-systems-cols{grid-template-rows:none; grid-auto-flow:row; grid-template-columns:1fr; gap:16px;}
  .ft-bottom-inner{font-size:14px;}
}

/* ===== Systémy s ikonami vo vlastnom riadku; značka, kontakt, spoločnosť v druhom riadku ===== */
.ft-grid{
  grid-template-columns:repeat(12, 1fr);
  grid-template-areas:
    "systems systems systems systems systems systems systems systems systems systems systems systems"
    "brand brand brand brand contacts contacts contacts contacts contacts company company company";
  gap:64px 48px;
}
.ft-sys-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:10px 40px;}
.site-footer .ft-sys{
  display:flex; align-items:center; gap:16px; padding:8px 12px 8px 8px; border-radius:16px;
  color:rgba(255,255,255,.88); font-size:18px; line-height:1.3; text-shadow:none;
  transition:background .2s ease, color .2s ease;
}
.ft-sys::after{display:none !important;}
.ft-ico{
  display:grid; place-items:center; width:48px; height:48px; flex-shrink:0; border-radius:14px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); color:#fff;
  transition:background .25s ease, border-color .25s ease, transform .25s ease;
}
.ft-ico svg{width:24px; height:24px;}
.ft-sys:hover{background:rgba(255,255,255,.05); color:#fff;}
.ft-sys:hover .ft-ico{background:#b93131; border-color:#b93131; transform:scale(1.05);}
/* kontakty pod sebou (užší stĺpec) */
.ft-contacts{grid-template-columns:1fr; gap:22px;}
.ft-role{min-height:0;}
@media (max-width:1099px){
  .ft-grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"systems systems" "brand brand" "contacts company";
    gap:56px 32px;
  }
  .ft-sys-grid{grid-template-columns:repeat(2, 1fr); gap:8px 24px;}
}
@media (max-width:700px){
  .ft-grid{grid-template-columns:1fr; grid-template-areas:"systems" "brand" "contacts" "company"; gap:44px;}
  .ft-sys-grid{grid-template-columns:1fr; gap:6px;}
}

/* Poradie riadkov: hore značka + kontakt + spoločnosť, dole systémy */
.ft-grid{
  grid-template-areas:
    "brand brand brand brand contacts contacts contacts contacts contacts company company company"
    "systems systems systems systems systems systems systems systems systems systems systems systems";
}
@media (max-width:1099px){
  .ft-grid{grid-template-areas:"brand brand" "contacts company" "systems systems";}
}
@media (max-width:700px){
  .ft-grid{grid-template-areas:"brand" "contacts" "company" "systems";}
}
