/* Footer V3 — ND-branded layout */

.footer-v3,
.footer-v3 * {
  box-sizing: border-box;
}

.footer-v3 {
  --footer-v3-navy: #0c2d4a;
  --footer-v3-navy-deep: #0a1628;
  --footer-v3-green: #4caf50;
  --footer-v3-green-bright: #79d27f;
  --footer-v3-text: #cbd5e1;
  --footer-v3-text-soft: #94a3b8;
  --footer-v3-border: rgba(148, 163, 184, 0.18);
  margin-top: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-v3__main {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, var(--footer-v3-navy-deep) 0%, var(--footer-v3-navy) 100%);
  border-top: 3px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    var(--footer-v3-green-bright) 25%,
    var(--footer-v3-green) 75%,
    transparent 100%
  ) 1;
}

.footer-v3__main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(76, 175, 80, 0.12), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(42, 143, 158, 0.1), transparent 45%);
  pointer-events: none;
}

.footer-v3__main .lpv3-shell {
  position: relative;
  z-index: 1;
}

.footer-v3__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-v3__logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 1.1rem;
}

.footer-v3__logo {
  display: block;
  width: auto;
  height: 48px;
}

.footer-v3__tagline {
  max-width: 22rem;
  margin: 0 0 1.25rem;
  color: var(--footer-v3-text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-v3__social {
  display: flex;
  gap: 0.65rem;
}

.footer-v3__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--footer-v3-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-v3__social a:hover {
  background: rgba(76, 175, 80, 0.18);
  border-color: rgba(121, 210, 127, 0.45);
  color: var(--footer-v3-green-bright);
}

.footer-v3__col h3 {
  margin: 0 0 1.1rem;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-v3__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-v3__col li {
  margin-bottom: 0.65rem;
}

.footer-v3__col li:last-child {
  margin-bottom: 0;
}

.footer-v3__col a {
  color: var(--footer-v3-text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v3__col a:hover {
  color: var(--footer-v3-green-bright);
}

.footer-v3__col--contact address {
  font-style: normal;
  margin: 0 0 1.15rem;
}

.footer-v3__col--contact address p {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
  color: var(--footer-v3-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-v3__col--contact address p:last-child {
  margin-bottom: 0;
}

.footer-v3__col--contact address i {
  width: 1rem;
  margin-top: 0.18rem;
  color: var(--footer-v3-green-bright);
  text-align: center;
}

.footer-v3__col--contact address a {
  color: var(--footer-v3-text);
}

.footer-v3__col--contact address a:hover {
  color: var(--footer-v3-green-bright);
}

.footer-v3__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-v3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 8px;
  background: var(--footer-v3-green);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-v3__cta:hover {
  background: #43a047;
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-v3__reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--footer-v3-text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v3__reviews-link:hover {
  color: #ffffff;
}

.footer-v3__reviews-link i {
  color: #4285f4;
}

.footer-v3__trust {
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--footer-v3-border);
  border-bottom: 1px solid var(--footer-v3-border);
}

.footer-v3__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-v3__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--footer-v3-text-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.footer-v3__badges i {
  color: var(--footer-v3-green-bright);
  font-size: 0.9rem;
}

.footer-v3__bottom {
  padding: 1.1rem 0 1.35rem;
  background: #070f1a;
}

.footer-v3__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-v3__bottom p {
  margin: 0;
  color: var(--footer-v3-text-soft);
  font-size: 0.84rem;
}

.footer-v3__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-v3__legal a {
  color: var(--footer-v3-text-soft);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v3__legal a:hover {
  color: var(--footer-v3-green-bright);
}

@media (max-width: 1024px) {
  .footer-v3__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-v3__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-v3__grid {
    grid-template-columns: 1fr;
  }

  .footer-v3__badges {
    justify-content: flex-start;
  }

  .footer-v3__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
