
/* ==========================================================================
   FOOTER - UI/UX PRO MAX
   ========================================================================== */

.footer {
  background-color: #090403;
  color: #ffffff;
  padding: var(--sp-4xl) 0 0; /* Removed bottom padding entirely */
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom, rgba(200, 16, 46, 0.219) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* --- Top Section --- */
.footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
  margin-bottom: clamp(2rem, 6vw, 4rem); /* Reduced from 8vw/6rem */
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__brand-col {
  max-width: 300px;
}

.footer__brand-col .logo {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: #ffffff;
  text-decoration: none;
  letter-spacing: var(--ls-tight);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-body-sm);
  margin-top: var(--sp-sm);
  line-height: var(--lh-relaxed);
}

.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
}

@media (min-width: 480px) {
  .footer__links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem); /* Tighter gap */
  }
}

.footer__link-title {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.footer__links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm); /* Tighter list gap */
}

.footer__links-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer__links-list a:hover {
  color: #ffffff;
}

/* --- Pre-Bottom (CTA & Contact) --- */
.footer__pre-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  margin-bottom: clamp(1.5rem, 4vw, 3rem); /* Much tighter margin */
}

@media (min-width: 768px) {
  .footer__pre-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end; /* CTA on left, Contact on right on desktop */
  }
}

.footer__cta-text {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.5rem); /* Slightly scaled down so it fits nicely on the left */
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .footer__contact-info {
    align-items: flex-end;
  }
}

.footer__contact-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

@media (min-width: 768px) {
  .footer__contact-meta {
    align-items: flex-end;
  }
}

.footer__contact-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.footer__contact-email {
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.footer__contact-email:hover {
  opacity: 0.8;
}

.footer__social-pills {
  display: flex;
  gap: 10px;
}

.footer__social-pills a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: all 250ms ease;
}

.footer__social-pills a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Divider --- */
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem) 0; /* Only bottom margin, keeping it tight */
}

/* --- Bottom Links --- */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md) var(--sp-xl);
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer__legal-links a:hover {
  color: #ffffff;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Massive Text Anchored to Bottom --- */
.footer__massive-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.footer__massive-text {
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: max(3rem, 14vw); /* 14vw fills the screen edge-to-edge */
  line-height: 0.85; /* Increased from 0.75 to prevent cutting off the bottom */
  text-align: center;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #ffffff 0%, rgba(200, 16, 46, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .footer__cta-text {
    white-space: nowrap;
  }
}
