/* EXTILINE AI — shared footer component
   Keep this stylesheet linked on index.html, privacy-policy.html and cookie-policy.html
   so every page renders the same footer component and responsive layout. */
.site-footer,
.site-footer * { box-sizing: border-box; }
.site-footer {
  display: block;
  width: 100%;
  margin-top: 0 !important;
  padding: 44px 0 22px !important;
  color: #0B1F3A;
  background: #FFFFFF !important;
  border-top: 1px solid #D8E2EF !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
.site-footer::before { display: none !important; content: none !important; }
.site-footer .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.footer-top {
  min-height: 0 !important;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px !important;
}
.footer-brand-block { min-width: 0; }
.footer-logo {
  display: block;
  width: 128px;
  max-width: 100%;
  height: auto;
  margin: 0 0 8px;
  object-fit: contain;
  background: #FFFFFF;
}
.footer-brand-name {
  margin: 0 0 7px !important;
  color: #0B1F3A !important;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.footer-brand-name span { color: #2563EB !important; }
.footer-brand-block p {
  margin: 0 !important;
  color: #53657D !important;
  font-size: 14px;
  line-height: 1.35 !important;
}
.footer-brand-block strong { color: #0B1F3A; font-weight: 800; }
.footer-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 3px !important;
  margin-top: 9px !important;
}
.footer-direct-contact a {
  color: #2563EB !important;
  font-size: 13px;
  line-height: 1.35 !important;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-direct-contact a:hover { color: #0B1F3A !important; }
.footer-social-block {
  min-width: 170px;
  padding-top: 2px !important;
  text-align: right;
}
.footer-mini-uptime {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-uptime-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #D8E2EF;
  border-radius: 10px;
  background: #F8FAFF;
  color: #53657D;
  box-shadow: 0 3px 12px rgba(16,39,64,.04);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}
.footer-uptime-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #2563EB;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10), 0 0 10px rgba(37,99,235,.18);
  animation: footerUptimePulse 1.8s ease-in-out infinite;
}
.footer-uptime-status strong { color: #2563EB; font-size: 12px; letter-spacing: 0; }
.footer-uptime-bar {
  display: block;
  width: 44px;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #E8EEF7;
}
.footer-uptime-bar b {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0B1F3A, #2563EB);
  animation: footerUptimeLoad 2s ease-in-out infinite;
}
@keyframes footerUptimePulse {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.2); opacity: 1; }
}
@keyframes footerUptimeLoad {
  0% { transform: translateX(-70%); }
  55% { transform: translateX(5%); }
  100% { transform: translateX(42%); }
}
.footer-connect-label {
  margin-bottom: 9px !important;
  color: #8190A5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
.footer-linkedin {
  display: grid;
  width: 48px !important;
  height: 48px !important;
  margin-left: auto;
  place-items: center;
  border: 1px solid #D8E2EF;
  border-radius: 14px;
  background: #F8FAFF;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(20,43,70,.04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.footer-linkedin:hover {
  transform: translateY(-2px);
  border-color: #BFDBFE;
  box-shadow: 0 10px 22px rgba(20,43,70,.09);
}
.footer-linkedin span {
  display: grid;
  width: 25px !important;
  height: 25px !important;
  place-items: center;
  border-radius: 6px;
  background: #2563EB;
  color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid #E7EDF2;
}
.footer-copyright {
  color: #53657D !important;
  font-size: 14px;
  line-height: 1.5;
}
.footer-copyright span { color: #97A4B3; margin: 0 3px; }
.footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.footer-contact a {
  color: #465873 !important;
  font-size: 14px;
  text-decoration: none;
}
.footer-contact a:hover { color: #2563EB !important; }
.footer-divider { width: 1px; height: 18px; background: #D7E0E8; }
.extiline-policy-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #E7EDF2;
}
.extiline-policy-footer-links a,
.extiline-policy-footer-links button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #53657D;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.extiline-policy-footer-links a:hover,
.extiline-policy-footer-links button:hover { color: #2563EB; }
@media (max-width: 700px) {
  .site-footer { padding: 36px 0 18px !important; }
  .site-footer .container { width: min(1180px, calc(100% - 28px)); }
  .footer-top { flex-direction: column; gap: 20px !important; }
  .footer-logo { width: 112px; }
  .footer-social-block { min-width: 0; padding-top: 2px !important; text-align: left; }
  .footer-mini-uptime { justify-content: flex-start; margin-bottom: 10px; }
  .footer-linkedin { margin-left: 0; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
  }
  .footer-contact { flex-wrap: wrap; white-space: normal; gap: 12px; }
  .extiline-policy-footer-links { justify-content: flex-start; gap: 14px; margin-top: 8px; padding-top: 14px; }
}
/* Desktop footer alignment: keep copyright, contact details and legal controls on one continuous row. */
@media (min-width: 1181px) {
  .site-footer .footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }
  .site-footer .footer-copyright {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  .site-footer .footer-contact {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }
  .site-footer .footer-contact a {
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  .site-footer .extiline-policy-footer-links {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }
  .site-footer .extiline-policy-footer-links a,
  .site-footer .extiline-policy-footer-links button {
    font-size: 12px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }
}

/* On tablets, allow the row to wrap naturally rather than overflow; phones retain the stacked layout below. */
@media (min-width: 701px) and (max-width: 1180px) {
  .site-footer .footer-bottom {
    flex-wrap: wrap !important;
    align-items: center !important;
    row-gap: 12px !important;
  }
  .site-footer .extiline-policy-footer-links {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *, .site-footer *::before, .site-footer *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* Transparent footer logo: use the light mark variant over the navy footer. */
.site-footer .footer-logo {
  display: block;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain;
}
