.eidim-custom-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.eidim-custom-footer > .e-con-inner,
.eidim-custom-footer > .elementor-element,
.eidim-custom-footer .elementor-widget-html,
.eidim-custom-footer .elementor-widget-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.eidim-footer {
  --ef-navy: #001b3a;
  --ef-blue: #003a7f;
  --ef-blue-2: #07529f;
  --ef-orange: #f4511e;
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: #dce9f6;
  background: linear-gradient(125deg, #001b3a 0%, #002b5a 55%, #003a7f 100%);
  font-family: Arial, Helvetica, sans-serif;
}

.eidim-footer *,
.eidim-footer *::before,
.eidim-footer *::after {
  box-sizing: border-box;
}

.eidim-footer a {
  color: inherit;
  text-decoration: none;
}

.eidim-footer__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.eidim-footer__inner {
  width: min(calc(100% - 64px), 1400px);
  display: grid;
  grid-template-columns: 1.15fr .9fr .9fr 1.35fr;
  align-items: start;
  margin: 0 auto;
  padding: 66px 0 56px;
  gap: 62px;
}

.eidim-footer__logo {
  width: 190px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.eidim-footer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
}

.eidim-footer__brand-column p,
.eidim-footer__newsletter p {
  max-width: 280px;
  margin: 0;
  color: #bed1e5;
  font-size: 13px;
  line-height: 1.65;
}

.eidim-footer h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.eidim-footer__column,
.eidim-footer__column nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eidim-footer__column address {
  margin: 0 0 9px;
  color: #dce9f6;
  font-size: 13px;
  line-height: 1.7;
  font-style: normal;
}

.eidim-footer__column a {
  display: inline-flex;
  padding: 5px 0;
  color: #dce9f6;
  font-size: 13px;
  line-height: 1.4;
  transition: color .2s ease, transform .2s ease;
}

.eidim-footer__column a:hover,
.eidim-footer__legal a:hover {
  color: #ff8a54;
  transform: translateX(3px);
}

.eidim-footer__newsletter > p {
  margin-bottom: 16px;
}

.eidim-footer__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  max-width: 420px;
  margin: 0;
  gap: 10px;
}

.eidim-footer__form input {
  width: 100%;
  height: 48px;
  min-width: 0;
  padding: 0 15px;
  color: #ffffff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  outline: 2px solid transparent;
  font: inherit;
}

.eidim-footer__form input::placeholder {
  color: #a9bfd5;
}

.eidim-footer__form input:focus {
  outline-color: #7fb4ee;
}

.eidim-footer__form button {
  min-height: 48px;
  padding: 0 21px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a2a, var(--ef-orange));
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.eidim-footer__form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(244,81,30,.25);
}

.eidim-footer__form-message {
  min-height: 18px;
  margin-top: 9px;
  color: #ffd2bf;
  font-size: 11px;
}

.eidim-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
}

.eidim-footer__bottom-inner {
  width: min(calc(100% - 64px), 1400px);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  gap: 25px;
}

.eidim-footer__bottom p {
  margin: 0;
  color: #b8cde1;
  font-size: 12px;
}

.eidim-footer__legal {
  display: flex;
  gap: 24px;
}

.eidim-footer__legal a {
  color: #dce9f6;
  font-size: 12px;
  transition: color .2s ease;
}

.eidim-footer__to-top {
  position: absolute;
  right: 24px;
  bottom: 19px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: var(--ef-blue-2);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,15,35,.26);
  cursor: pointer;
}

.eidim-footer__to-top:hover {
  background: var(--ef-orange);
}

.eidim-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .eidim-footer__inner {
    width: min(calc(100% - 48px), 1400px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 56px 0 48px;
    gap: 46px 60px;
  }

  .eidim-footer__bottom-inner {
    width: min(calc(100% - 48px), 1400px);
    padding-right: 58px;
  }
}

@media (max-width: 767px) {
  .eidim-footer__grid-overlay {
    background-size: 32px 32px;
  }

  .eidim-footer__inner {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 48px 20px 42px;
    gap: 38px;
  }

  .eidim-footer__logo {
    width: 165px;
    height: 66px;
  }

  .eidim-footer h2 {
    margin-bottom: 14px;
  }

  .eidim-footer__brand-column p,
  .eidim-footer__newsletter p {
    max-width: 100%;
  }

  .eidim-footer__form {
    max-width: 100%;
  }

  .eidim-footer__bottom-inner {
    width: 100%;
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 72px 18px 20px;
    gap: 12px;
  }

  .eidim-footer__legal {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .eidim-footer__to-top {
    right: 18px;
    bottom: 34px;
  }
}

@media (max-width: 480px) {
  .eidim-footer__form {
    grid-template-columns: 1fr;
  }

  .eidim-footer__form button {
    width: 100%;
  }
}

/* v3.0.88 — clean four-column footer and intact white logo */
.eidim-footer__inner { grid-template-columns:1.2fr .85fr .85fr 1.05fr; gap:clamp(20px,3vw,52px); }
.eidim-footer__logo { width:190px; height:76px; overflow:visible; }
.eidim-footer__logo img { width:100%; height:100%; object-fit:cover; mix-blend-mode:normal; }
.eidim-footer__brand-column .eidim-footer__brand-note { margin-top:12px; }
.eidim-footer__column nav a, .eidim-footer__column > a { min-height:32px; line-height:1.45; }
@media(max-width:1050px) { .eidim-footer__inner { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { .eidim-footer__inner { grid-template-columns:1fr; } }

/* v3.0.91 — readable footer EIDIM logo. */
.eidim-footer__logo { width: min(240px, 100%) !important; height: 94px !important; }
.eidim-footer__logo img { width:100%; height:100%; object-fit:cover; }
@media(max-width:520px) { .eidim-footer__logo { width:205px !important; height:82px !important; } }
