/* Shared TimeERP footer — matches index.html */
.footer {
  --heading-dark: #083530;
  --accent: #17C3B2;
  --primary: #25b7a7;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.footer button,
.footer input,
.footer a,
.footer p,
.footer address,
.footer li,
.footer h3,
.footer h4,
.footer span:not(.material-symbols-outlined) {
  font-family: inherit;
}
.footer a { text-decoration: none; }
.footer .container {
  width: min(1280px, 100% - clamp(20px, 4vw, 48px) * 2);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
/* Footer */
.footer{
  position:relative;
  background:linear-gradient(165deg,#041f1c 0%,var(--heading-dark) 42%,#052824 100%);
  color:rgba(255,255,255,.78);
  padding:72px 0 0;
  overflow:hidden;
}
.footer::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%,rgba(37,183,167,.18),transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 100%,rgba(23,195,178,.1),transparent 50%);
  pointer-events:none;
}
.footer>.container,.footer .container{position:relative;z-index:1}
.footer__main{
  display:grid;
  grid-template-columns:minmax(260px,1.15fr) minmax(0,2fr);
  gap:56px 48px;
  padding-bottom:48px;
}
.footer__logo{
  display:inline-flex;
  align-items:center;
  margin-bottom:20px;
  padding:2px 0;
  transition:transform .25s ease,opacity .25s ease;
}
.footer__logo:hover{transform:translateY(-2px);opacity:.95}
.footer__logo img,
.footer__logo svg{
  display:block;
  height:46px;
  width:auto;
  max-width:min(220px,100%);
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.22));
}
.footer__desc{
  font-size:14px;
  line-height:1.75;
  color:rgba(255,255,255,.72);
  max-width:340px;
  margin-bottom:24px;
}
.footer__stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-width:360px;
}
.footer__stat{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:12px;
  font-weight:600;
  color:rgba(255,255,255,.88);
  transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
  cursor:default;
}
.footer__stat:hover{
  transform:translateY(-3px);
  border-color:rgba(37,183,167,.35);
  background:rgba(37,183,167,.12);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.footer__stat-icon{
  width:32px;
  height:32px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(37,183,167,.18);
  color:var(--accent);
  font-size:14px;
  flex-shrink:0;
}
.footer__cols{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:28px 24px;
}
.footer__col{border-bottom:1px solid transparent}
.footer__col-title{
  font-size:12px;
  font-weight:700;
  color:#fff;
  margin-bottom:18px;
  text-transform:uppercase;
  letter-spacing:.1em;
  background:none;
  -webkit-text-fill-color:#fff;
  filter:none;
}
.footer__col-toggle{
  display:none;
  width:100%;
  padding:16px 0;
  border:none;
  background:none;
  color:#fff;
  font-size:15px;
  font-weight:600;
  text-align:left;
  cursor:pointer;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer__col-toggle span{
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.footer__col-chevron{
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .25s ease,background .25s ease;
  flex-shrink:0;
}
.footer__col.is-open .footer__col-chevron{transform:rotate(180deg);background:rgba(37,183,167,.15)}
.footer__links{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0;
  padding:0;
  list-style:none;
}
.footer__links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  line-height:1.5;
  padding:8px 0;
  color:rgba(255,255,255,.62);
  text-decoration:none;
  transition:color .2s ease,transform .2s ease;
}
.footer__links a::before{
  content:'';
  width:0;
  height:2px;
  border-radius:2px;
  background:var(--primary);
  transition:width .2s ease;
  flex-shrink:0;
}
.footer__links a:hover{
  color:#fff;
  transform:translateX(4px);
}
.footer__links a:hover::before{width:12px}
.footer__connect{
  display:grid;
  grid-template-columns:1.1fr .7fr;
  gap:24px;
  padding:28px;
  margin-bottom:32px;
  border-radius:22px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(37,183,167,.18);
  backdrop-filter:blur(14px);
  box-shadow:0 24px 60px rgba(0,0,0,.22);
}
.footer__connect-label{
  display:block;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--accent);
  margin-bottom:12px;
}
.footer__address{
  font-style:normal;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
  margin-bottom:16px;
}
.footer__address-link{
  display:block;
  color:inherit;
  text-decoration:none;
  border-radius:8px;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  background-image:linear-gradient(currentColor, currentColor);
  background-position:0 100%;
  background-repeat:no-repeat;
  background-size:0 1px;
  transition:color .2s ease, background-size .25s ease;
  width:fit-content;
  max-width:100%;
  cursor:pointer;
}
.footer__address-link:hover,
.footer__address-link:focus-visible{
  color:#fff;
  background-size:100% 1px;
}
.footer__address-link:focus-visible{
  outline:2px solid var(--accent, #25b7a7);
  outline-offset:4px;
}
.footer__quick{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.footer__quick-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  color:#fff;
  background:rgba(37,183,167,.16);
  border:1px solid rgba(37,183,167,.28);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.footer__quick-btn:hover{
  transform:translateY(-2px);
  background:rgba(37,183,167,.28);
  box-shadow:0 10px 24px rgba(37,183,167,.2);
}
.footer__social{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.footer__social a{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.75);
  background:rgba(255,255,255,.04);
  transition:transform .25s ease,color .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.footer__social a:hover{
  transform:translateY(-4px) scale(1.05);
  color:#fff;
  background:var(--primary);
  border-color:var(--primary);
  box-shadow:0 12px 28px rgba(37,183,167,.35);
}
.footer__social svg{width:18px;height:18px;fill:currentColor}
.footer__social svg[fill="none"]{fill:none;stroke:currentColor}
.footer__bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px 24px;
  padding:22px 0 28px;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:13px;
}
.footer__copy{margin:0;color:rgba(255,255,255,.55)}
.footer__copy a{color:inherit;text-decoration:none;transition:color .2s ease}
.footer__copy a:hover{color:var(--accent)}
.footer__legal{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
}
.footer__legal a{
  color:rgba(255,255,255,.55);
  transition:color .2s ease;
  padding:0;
}
.footer__legal a:hover{color:var(--accent)}
.footer__bar-end{
  display:flex;
  align-items:center;
  gap:14px;
}
.footer__version{
  padding:6px 10px;
  border-radius:8px;
  background:rgba(255,255,255,.06);
  font-size:11px;
  font-weight:600;
  letter-spacing:.04em;
  color:rgba(255,255,255,.45);
}
.footer__top{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(37,183,167,.3);
  background:rgba(37,183,167,.12);
  color:#fff;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.footer__top:hover{
  transform:translateY(-2px);
  background:rgba(37,183,167,.22);
  box-shadow:0 10px 24px rgba(37,183,167,.2);
}


@media(max-width:1024px){
  .footer__main{grid-template-columns:1fr}
  .footer__cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer__connect{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .footer{padding-top:56px}
  .footer__cols{grid-template-columns:1fr}
  .footer__col{border-bottom:1px solid rgba(255,255,255,.08)}
  .footer__col:last-child{border-bottom:none}
  .footer__col-toggle{display:flex}
  .footer__col-title{display:none}
  .footer__col .footer__links{
    display:none;
    padding-bottom:12px;
  }
  .footer__col.is-open .footer__links{
    display:flex;
  }
  .footer__connect{grid-template-columns:1fr;padding:22px}
  .footer__connect-item:last-child{grid-column:auto}
  .footer__bar{flex-direction:column;align-items:flex-start}
}
