/* MCT Corporation — unified Dark Premium footer across every page */
.mct-footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  box-sizing:border-box;
  width:calc(100% - 48px);
  max-width:1240px;
  margin:52px auto 24px;
  padding:34px clamp(22px,3vw,42px);
  display:grid;
  grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) minmax(220px,1.2fr);
  align-items:start;
  gap:30px;
  color:#edf3ff!important;
  border:1px solid rgba(133,166,225,.2)!important;
  border-top:2px solid rgba(94,145,255,.68)!important;
  border-radius:0!important;
  background:
    radial-gradient(ellipse at 8% 0%,rgba(50,103,205,.16),transparent 42%),
    linear-gradient(145deg,rgba(10,24,48,.98),rgba(5,13,28,.99))!important;
  box-shadow:0 22px 64px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.035)!important;
  font-family:Manrope,Arial,sans-serif;
}
.mct-footer:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.2;
  background-image:linear-gradient(rgba(110,151,229,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(110,151,229,.12) 1px,transparent 1px);
  background-size:30px 30px;
  mask-image:linear-gradient(90deg,#000,transparent 78%);
}
.mct-footer .mct-footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#f2f6ff!important;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  letter-spacing:-.5px;
  line-height:1;
  white-space:nowrap;
}
.mct-footer .mct-footer-logo{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border:1px solid rgba(143,177,242,.25);
  border-radius:0!important;
  background:url('/assets/logo.jpg') center/cover no-repeat;
  box-shadow:0 5px 18px rgba(0,0,0,.3);
}
.mct-footer .mct-footer-brand-name span{color:#8fb2ff}
.mct-footer .mct-footer-brand-name small{
  display:block;
  margin-top:6px;
  color:#8196ba!important;
  font:500 7px/1.3 'DM Mono',monospace;
  letter-spacing:2px;
}
.mct-footer .mct-footer-copy{
  grid-column:1;
  margin:12px 0 0;
  color:#8296b8!important;
  text-align:left;
  font:10px/1.9 'DM Mono',monospace;
}
.mct-footer .mct-footer-contact,
.mct-footer .mct-footer-links{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.mct-footer .mct-footer-contact strong,
.mct-footer .mct-footer-links strong{
  display:block;
  margin:0 0 5px;
  color:#8eafff!important;
  font:800 9px/1.4 'DM Mono',monospace;
  letter-spacing:1.7px;
}
.mct-footer .mct-footer-contact a,
.mct-footer .mct-footer-links a{
  display:inline-block;
  width:fit-content;
  max-width:100%;
  color:#bdcbe3!important;
  text-decoration:none;
  overflow-wrap:anywhere;
  font:500 10px/1.6 'DM Mono',monospace;
  transition:color .18s ease;
}
.mct-footer .mct-footer-contact a:hover,
.mct-footer .mct-footer-links a:hover{
  color:#fff!important;
  text-decoration:underline;
  text-decoration-color:#6f9cff;
  text-underline-offset:4px;
}
.mct-footer .mct-footer-top{
  grid-column:1/-1;
  justify-self:end;
  align-self:end;
  margin-top:-2px;
  padding:10px 14px;
  border:1px solid rgba(126,164,239,.34);
  border-radius:0!important;
  color:#c8d9ff!important;
  background:rgba(48,88,158,.13);
  text-decoration:none;
  white-space:nowrap;
  font:800 9px/1.2 'DM Mono',monospace;
  letter-spacing:1px;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.mct-footer .mct-footer-top:hover{
  color:#fff!important;
  border-color:#719dff;
  background:rgba(55,103,190,.3);
}
@media(max-width:900px){
  .mct-footer{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 24px;
    padding:30px 26px;
  }
  .mct-footer .mct-footer-top{grid-column:1/-1;justify-self:start}
}
@media(max-width:560px){
  .mct-footer{
    width:calc(100% - 24px);
    margin:34px auto 16px;
    grid-template-columns:minmax(0,1fr);
    gap:22px;
    padding:24px 20px;
  }
  .mct-footer .mct-footer-brand{font-size:13px}
  .mct-footer .mct-footer-logo{width:34px;height:34px;flex-basis:34px}
  .mct-footer .mct-footer-copy{margin:-13px 0 0;font-size:9px}
  .mct-footer .mct-footer-contact,
  .mct-footer .mct-footer-links{gap:8px}
  .mct-footer .mct-footer-contact strong,
  .mct-footer .mct-footer-links strong{margin-bottom:3px}
  .mct-footer .mct-footer-contact a,
  .mct-footer .mct-footer-links a{font-size:10px}
  .mct-footer .mct-footer-top{grid-column:1;justify-self:stretch;text-align:center;margin-top:0}
}
/* Aether's standalone footer follows the shared site footer palette too. */
body:has(>footer:not(.mct-footer))>footer{
  box-sizing:border-box;
  width:min(1240px,calc(100% - 48px));
  margin:30px auto 20px!important;
  padding:22px 26px!important;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 24px;
  border:1px solid rgba(133,166,225,.2)!important;
  border-top:2px solid rgba(94,145,255,.68)!important;
  border-radius:0!important;
  color:#aebfdd!important;
  background:linear-gradient(145deg,rgba(10,24,48,.98),rgba(5,13,28,.99))!important;
  font:10px/1.7 'DM Mono',monospace;
}
body:has(>footer:not(.mct-footer))>footer a{color:#9bbaff!important;text-decoration:none}
body:has(>footer:not(.mct-footer))>footer a:hover{color:#fff!important;text-decoration:underline}
@media(max-width:560px){
  body:has(>footer:not(.mct-footer))>footer{width:calc(100% - 24px);padding:18px!important;flex-direction:column;align-items:flex-start}
}


/* MCT 2026 footer refinement — light, spacious and consistent with the white/blue UI. */
.mct-footer{
  width:min(1240px,calc(100% - 48px))!important;
  margin:48px auto 24px!important;
  padding:clamp(28px,4vw,44px)!important;
  grid-template-columns:minmax(220px,1.15fr) minmax(190px,1fr) minmax(210px,1fr)!important;
  gap:34px!important;
  border:1px solid #e0eafa!important;
  border-top:3px solid #4b86ed!important;
  border-radius:25px!important;
  color:#526985!important;
  background:radial-gradient(ellipse at 7% 0,rgba(73,132,235,.10),transparent 42%),linear-gradient(145deg,#fff 0%,#f8fbff 58%,#f0f6ff 100%)!important;
  box-shadow:0 22px 65px rgba(35,82,150,.10),inset 0 1px #fff!important;
}
.mct-footer:before{opacity:.12!important;background-size:38px 38px!important;mask-image:linear-gradient(90deg,#000,transparent 68%)}
.mct-footer .mct-footer-brand{gap:13px;color:#15345f!important}
.mct-footer .mct-footer-logo{width:44px;height:44px;flex-basis:44px;border:1px solid #dce8f8!important;border-radius:13px!important;box-shadow:0 8px 20px rgba(30,78,150,.12)!important}
.mct-footer .mct-footer-brand-name{color:#16365f!important;font-size:15px;letter-spacing:-.3px}
.mct-footer .mct-footer-brand-name span{color:#2868df!important}
.mct-footer .mct-footer-brand-name small{color:#8294ae!important}
.mct-footer .mct-footer-copy{color:#8293ab!important;font:10px/1.9 'DM Mono',monospace}
.mct-footer .mct-footer-contact,.mct-footer .mct-footer-links{gap:11px}
.mct-footer .mct-footer-contact strong,.mct-footer .mct-footer-links strong{margin-bottom:7px;color:#2868df!important;font-size:9px;letter-spacing:1.6px}
.mct-footer .mct-footer-contact a,.mct-footer .mct-footer-links a{color:#526985!important;font-size:10px;transition:color .2s ease,transform .2s ease}
.mct-footer .mct-footer-contact a:hover,.mct-footer .mct-footer-links a:hover{color:#1d5fcf!important;transform:translateX(3px);text-decoration:none}
.mct-footer .mct-footer-top{justify-self:start;align-self:end;margin-top:0;padding:11px 16px;border:1px solid #d6e4f8!important;border-radius:999px!important;color:#245fc8!important;background:#f4f8ff!important;font-size:9px;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.mct-footer .mct-footer-top:hover{transform:translateY(-2px);border-color:#a9c7fa!important;color:#174da9!important;background:#eaf2ff!important;box-shadow:0 8px 20px rgba(39,99,197,.1)}
@media(max-width:900px){
  .mct-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 24px!important}
  .mct-footer .mct-footer-top{grid-column:1/-1}
}
@media(max-width:560px){
  .mct-footer{width:calc(100% - 24px)!important;margin:30px auto 16px!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;padding:24px 20px!important;border-radius:20px!important}
  .mct-footer .mct-footer-brand{font-size:13px}
  .mct-footer .mct-footer-logo{width:38px;height:38px;flex-basis:38px}
  .mct-footer .mct-footer-copy{margin:-10px 0 0!important}
  .mct-footer .mct-footer-top{grid-column:1;justify-self:stretch;text-align:center}
}
