/* ===== ROOT ===== */
.premium-footer {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background: #000;
  font-family: "Poppins", sans-serif;
}

/* BACKGROUND IMAGE */
.footer-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab")
    center / cover no-repeat;
  z-index: 1;
}

/* DARK OVERLAY */
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.85)
  );
  z-index: 2;
}

/* CTA */
.footer-cta {
  position: relative;
  z-index: 4;
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 0;
  text-align: center;
  color: #fff;
}
.footer-cta h1 {
  font-size: clamp(35px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
}

.footer-cta h1 span {
  font-weight: 800;
}

.footer-cta p {
  max-width: 560px;
  margin: 20px auto 0;
  opacity: 0.9;
}

/* CTA BUTTON */
.cta-circle {
  margin: -17px auto 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(139, 26, 74, 0.5);
  color: #fff;
  font-weight: 600;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 0.35s ease;
}
.cta-circle:hover {
  transform: scale(1.08);
  background: var(--gold);
  color: #111;
}

/* WATERMARK */
.footer-watermark {
  position: absolute;
  bottom: 285px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(140px, 22vw, 320px);
  font-weight: 800;
  color: rgba(212, 148, 58, 0.18);
  text-shadow: 0 0 40px rgba(139, 26, 74, 0.6);
  z-index: 3;
  pointer-events: none;
}

/* FOOTER CARD */
.footer-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 95%);
  background: #fff;
  border-radius: 40px;
  padding: 70px 80px 40px;
  z-index: 5;
  box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

/* GRID — Brand · Business · CSR · Contact, 4 columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
}

/* BRAND */
.footer-logo {
  width: 168px;
  height: auto;
  display: block;
}

.footer-brand p {
  margin-top: 16px;
  color: #555;
}

/* LINKS */
.footer-links h5 {
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: #444;
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(6px);
}

/* CONTACT — 4th column: phone numbers (+ email, once one is published) */
.footer-contact h5 {
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact-line i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-size: 14px;
}

.footer-contact-line:hover {
  color: var(--maroon);
  transform: translateX(4px);
}

/* Optional social row — only rendered once real profile links exist */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border: 1px solid rgba(212, 148, 58, 0.16);
  color: var(--maroon);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.footer-socials a:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  transform: translateY(-3px);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

/* ================= TABLET (max-width: 992px) ================= */
@media (max-width: 992px) {
  .footer-watermark {
    display: none;
  }

  .premium-footer {
    min-height: auto;
  }

  .footer-cta {
    padding: 70px 24px 40px;
  }

  .cta-circle {
    margin: 20px auto 36px;
  }

  .footer-card {
    position: relative;
    left: auto;
    transform: none;
    width: 92%;
    margin: 0 auto 30px;
    padding: 50px 40px 30px;
    border-radius: 30px;
  }

  /* 2x2: Brand + Business on row one, CSR + Contact on row two */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-links,
  .footer-contact {
    text-align: left;
  }
}

/* ================= PHONE (max-width: 768px) ================= */
@media (max-width: 768px) {
  .premium-footer {
    min-height: auto;
  }

  .footer-cta {
    padding: 50px 20px 32px;
  }

  .footer-cta h1 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.15;
  }

  .footer-cta p {
    font-size: 14px;
    margin-top: 14px;
  }

  .cta-circle {
    width: 96px;
    height: 96px;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    margin: 20px auto 28px;
  }

  .footer-card {
    width: 100%;
    border-radius: 0;
    padding: 36px 20px 24px;
    margin-bottom: 0;
    box-shadow: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
    text-align: center;
    padding-bottom: 4px;
    border-bottom: 1px solid #f0f0f0;
  }

  .footer-logo {
    width: 140px;
    margin: 0 auto;
  }

  .footer-brand p {
    font-size: 14px;
    max-width: 320px;
    margin: 10px auto 0;
  }

  /* Two-column link layout on phone */
  .footer-links {
    text-align: center;
  }

  .footer-links h5 {
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #333;
  }

  .footer-links a {
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 2px 0;
  }

  /* Suppress translateX hover animation on touch */
  .footer-links a:hover {
    transform: none;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact-line {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 24px;
    font-size: 12px;
    padding-top: 16px;
    text-align: center;
    line-height: 1.6;
  }
}

/* ================= SMALL PHONE (max-width: 480px) ================= */
@media (max-width: 480px) {
  .footer-cta {
    padding: 40px 16px 28px;
  }

  .footer-cta h1 {
    font-size: clamp(22px, 8vw, 30px);
  }

  .footer-cta p {
    font-size: 13px;
  }

  .cta-circle {
    width: 86px;
    height: 86px;
    font-size: 11px;
    margin: 18px auto 24px;
  }

  .footer-card {
    padding: 28px 16px 20px;
  }

  .footer-logo {
    width: 128px;
  }

  .footer-contact-line {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}
