/* EECG animated video footer (shared) */
.eecg-footer {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #0a0d12 !important;
  color: #fff !important;
  isolation: isolate;
  font-family: inherit;
}
.eecg-footer * { box-sizing: border-box; }

.eecg-footer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.04);
  animation: eecgFooterZoom 26s ease-in-out infinite alternate;
}
@keyframes eecgFooterZoom {
  from { transform: scale(1.03) translateY(0); }
  to   { transform: scale(1.12) translateY(-1.5%); }
}
.eecg-footer__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(255, 94, 20, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.92) 0%, rgba(6, 9, 14, 0.72) 40%, rgba(6, 9, 14, 0.94) 100%);
}
.eecg-footer__glow {
  position: absolute;
  z-index: 1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  background: #ff5e14;
  animation: eecgFooterFloat 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.eecg-footer__glow--b {
  right: -80px;
  bottom: -140px;
  background: #1e90ff;
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}
.eecg-footer__glow--a { left: -100px; top: -160px; }
@keyframes eecgFooterFloat {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(60px, 40px, 0); }
}

.eecg-footer__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 26px 26px;
}

.eecg-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.eecg-footer__title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-transform: none;
}
.eecg-footer__title span { color: #ff7a3d; }
.eecg-footer__tag {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
}
.eecg-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5e14, #ff9052);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  box-shadow: 0 12px 30px -12px rgba(255, 94, 20, 0.8);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.eecg-footer__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px -12px rgba(255, 94, 20, 0.9);
}
.eecg-footer__cta i { font-style: normal; transition: transform 0.3s ease; }
.eecg-footer__cta:hover i { transform: translateX(4px); }

.eecg-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  padding: 40px 0 34px;
}
.eecg-footer__col h4 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}
.eecg-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.eecg-footer__links a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.86) !important;
  text-decoration: none !important;
  font-size: 15px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.eecg-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 0;
  background: #ff7a3d;
  transition: width 0.3s ease;
}
.eecg-footer__links a:hover { color: #ff9052 !important; transform: translateX(4px); }
.eecg-footer__links a:hover::after { width: 100%; }

.eecg-footer__contact { display: grid; gap: 14px; }
.eecg-footer__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
}
.eecg-footer__row a { color: inherit !important; text-decoration: none !important; }
.eecg-footer__row a:hover { color: #ff9052 !important; }
.eecg-footer__ico {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, transform 0.3s ease;
}
.eecg-footer__row:hover .eecg-footer__ico {
  background: rgba(255, 94, 20, 0.28);
  transform: translateY(-2px);
}
.eecg-footer__ico svg { width: 16px; height: 16px; stroke: #ffb289; fill: none; stroke-width: 1.8; }

.eecg-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* scroll reveal */
.eecg-footer [data-eecg-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.eecg-footer.is-revealed [data-eecg-reveal] { opacity: 1; transform: none; }
.eecg-footer.is-revealed [data-eecg-reveal="2"] { transition-delay: 0.12s; }
.eecg-footer.is-revealed [data-eecg-reveal="3"] { transition-delay: 0.24s; }
.eecg-footer.is-revealed [data-eecg-reveal="4"] { transition-delay: 0.36s; }

@media (max-width: 600px) {
  .eecg-footer__inner { padding: 48px 18px 20px; }
  .eecg-footer__top { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .eecg-footer__video, .eecg-footer__glow { animation: none; }
  .eecg-footer [data-eecg-reveal] { opacity: 1; transform: none; transition: none; }
}
