/* ═══════════════════════════════════════════════════════════════
   EverSpan Life – Footer v2 (Figma: node 169:464)
   Light two-panel footer: brand block + link columns.
   Standalone stylesheet, does not touch the original footer.
   ═══════════════════════════════════════════════════════════════ */

.esl-footer-v2 {
  background: #F3F3F3;
  color: var(--text);
  overflow: hidden;
}

.esl-footer-v2-inner {
  display: flex;
  align-items: stretch;
}

.esl-footer-v2-brand {
  position: relative;
  width: 30%;
  flex-shrink: 0;
  background: #DEDFE9;
  padding: 80px 40px 40px 6.5vw;
  overflow: hidden;
}

.els-footer-logos{
  display: flex;
  gap: 20px;
  margin-top: 24px;
  align-items: center;
}

.esl-footer-v2-brand::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 40%;
  height: 98%;
  background: #A8A4C7;
  opacity: 0.1;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.esl-footer-v2-logo-link {
  position: relative;
  display: inline-block;
}

.esl-footer-v2-logo-img {

  height: auto !important;
  display: block;
}

.esl-footer-v2-tagline {
  position: relative;
  margin-top: 24px;
  max-width: 336px;
  font-family: 'Altform', 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-2);
}

.esl-footer-v2-columns {
    flex: 1;
    display: flex;
    gap: clamp(40px, 8.5vw, 165px);
    padding: 70px 10vw;
    border-left: 1px solid var(--border-2);
    flex-direction: row;

    align-items: flex-start;
}

.esl-footer-v2-col-title {
  font-family: 'Altform', 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.esl-footer-v2-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.esl-footer-v2-links a {
  font-family: 'Altform', 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.48;
  color: var(--text);
  transition: opacity 0.2s;
}

.esl-footer-v2-links a:hover {
  opacity: 0.6;
}

.esl-footer-v2-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 3.6vw 28px 6.5vw;
  border-top: 1px solid var(--border-2);
}

.esl-footer-v2-copy {
  font-family: 'Altform', 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-2);
}

.esl-footer-v2-copy a {
  display: inline-block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 12px;
}

.esl-footer-v2-copy a:hover {
  color: var(--text);
}

.esl-footer-v2-legal {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.esl-footer-v2-legal a {
  font-family: 'Altform', 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.2s;
}

.esl-footer-v2-legal a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .esl-footer-v2-inner {
    flex-direction: column;
  }
  .esl-footer-v2-brand {
    width: 100%;
    padding-left: clamp(20px, 6.5vw, 125px);
    padding-right: clamp(20px, 3.6vw, 70px);
  }
  .esl-footer-v2-columns {
    border-left: none;
    border-top: 1px solid var(--border-2);
    flex-wrap: wrap;
    padding: 40px 6vw;
    gap: 32px 48px;
  }
  .esl-footer-v2-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 6vw;
  }
}

@media (max-width: 600px) {
  .esl-footer-v2-columns {
    gap: 28px;
  }
  .esl-footer-v2-legal {
    gap: 20px;
  }
}
