/* ============================================================
   FOOTER & CONTACT
   ============================================================ */
.footer {
  background: var(--clr-bg);
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: var(--sp-10);
  position: relative;
  overflow: hidden;
}

/* CTA block */
.footer__cta-block {
  text-align: center;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  z-index: 2;
}
.footer__cta-block::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.footer__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-4);
  max-width: 18ch;
  margin-inline: auto;
}
.footer__headline em {
  font-style: normal;
  background: var(--clr-gradient);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.footer__sub {
  font-size: var(--size-lg);
  color: var(--clr-text-secondary);
  font-family: var(--font-body);
  margin-bottom: var(--sp-10);
  max-width: 48ch;
  margin-inline: auto;
  line-height: 1.7;
}
.footer__ctas {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Divider */
.footer__divider {
  height: 1px;
  background: var(--clr-border);
  margin-bottom: var(--sp-8);
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.footer__logo {
  font-family: var(--font-display);
  font-size: var(--size-xl);
  font-weight: 800;
  color: var(--clr-text-primary);
  letter-spacing: -0.02em;
}
.footer__logo span { color: var(--clr-accent); }

.footer__nav {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.footer__nav a {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--clr-text-muted);
  transition: color var(--dur-fast);
}
.footer__nav a:hover { color: var(--clr-text-primary); }

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-secondary);
  font-size: var(--size-base);
  transition: all var(--dur-mid) var(--ease-out-expo);
}
.footer__social-link:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-accent-dim);
  transform: translateY(-3px);
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: var(--size-xs);
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  padding-top: var(--sp-6);
}

/* Decorative large text watermark */
.footer__watermark {
  position: absolute;
  bottom: -0.15em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 18rem);
  font-weight: 800;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

@media (max-width: 768px) {
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__nav { justify-content: center; }
}
