/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding: 100px 0 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 80%),
    linear-gradient(180deg, #07070b 0%, #05050a 100%);
  border-top: 1px solid transparent;
  isolation: isolate;
}

/* Top gradient hairline */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(34, 211, 238, 0.5), transparent);
  z-index: 0;
}

/* --- Background layer --- */
.footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.footer__glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  filter: blur(140px);
  opacity: 0.18;
  background:
    radial-gradient(ellipse at 30% 50%, var(--accent-1), transparent 55%),
    radial-gradient(ellipse at 70% 50%, var(--accent-2), transparent 55%);
  border-radius: 50%;
}

.footer__outline-text {
  position: absolute;
  bottom: -4vw;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  user-select: none;
}

/* =========================================================
   HERO LINE — closing statement
   ========================================================= */
.footer__hero {
  margin-bottom: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__hero-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #b0b0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 720px;
}

.footer__hero-text-highlight {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
}

.footer__hero-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    gap 0.3s var(--ease-out),
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.footer__hero-email:hover {
  gap: 14px;
  border-color: var(--accent-3);
  color: var(--accent-3);
  background: rgba(34, 211, 238, 0.06);
}

.footer__hero-email svg { transition: transform 0.3s var(--ease-out); }
.footer__hero-email:hover svg { transform: translate(3px, -3px); }

/* =========================================================
   MAIN GRID
   ========================================================= */
.footer__main {
  padding-bottom: 56px;
}

/* --- Brand col --- */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer__logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
  transition: opacity 0.3s ease;
  align-self: flex-start;
}

.footer__logo:hover { opacity: 0.8; }

.footer__logo-mark {
  background: linear-gradient(135deg, #ffffff 0%, #b8b8d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer__logo-img {
  display: block;
  width: min(200px, 46vw);
  max-width: 100%;
  height: auto;
}

.footer__logo-dot {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.2em;
}

.footer__tagline {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 340px;
}

.footer__availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  align-self: flex-start;
}

.footer__availability::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
  animation: pulseDot 1.6s ease-in-out infinite;
}

/* --- Column head --- */
.footer__heading {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.footer__heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
}

/* --- Nav list --- */
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  transition:
    color 0.3s ease,
    gap 0.3s var(--ease-out),
    padding-left 0.3s var(--ease-out);
  text-decoration: none;
  padding-left: 0;
}

.footer__list a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--accent-3);
  transition: width 0.3s var(--ease-out);
}

.footer__list a:hover {
  color: var(--fg);
  gap: 12px;
}

.footer__list a:hover::before { width: 14px; }

/* --- Contact col --- */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-soft);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer__contact-item:hover { color: var(--fg); }

.footer__contact-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-3);
  border: 1px solid rgba(139, 92, 246, 0.22);
}

/* Social icons */
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer__social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s var(--ease-out);
}

.footer__social:hover {
  color: var(--fg);
  border-color: var(--accent-1);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-3px);
}

/* =========================================================
   BOTTOM BAR
   ========================================================= */
.footer__bottom {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer__copyright strong {
  color: var(--fg-soft);
  font-weight: 600;
}

.footer__made {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted-2);
  margin: 0;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__made-heart {
  display: inline-block;
  color: #f43f5e;
  animation: heartBeat 1.4s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.2); }
  60%      { transform: scale(0.95); }
}

/* Back to top */
.footer__top {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg);
  cursor: pointer;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.footer__top:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 14px 30px -10px rgba(139, 92, 246, 0.55);
}

.footer__top svg { transition: transform 0.3s var(--ease-out); }
.footer__top:hover svg { transform: translateY(-2px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .footer { padding: 80px 0 28px; }
  .footer__hero { margin-bottom: 60px; }
  .footer__main { padding-bottom: 44px; }
}

@media (max-width: 767.98px) {
  .footer__hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__top {
    position: absolute;
    top: 26px;
    right: 0;
  }
}

@media (max-width: 575.98px) {
  .footer { padding: 70px 0 28px; }
  .footer__heading { margin-bottom: 18px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer__availability::before,
  .footer__made-heart { animation: none !important; }
}
