/* ============================================================
   CABgemini — Footer v2.1 — White Theme
   Quick Links | Connect & Contact | Additional Info
   ============================================================ */

/* Remove old footer styles override */
.footer-premium,
.footer-premium-grid,
.footer-bottom,
.footer-logo { all: unset; }

/* ── Wrapper ─────────────────────────────────────────────── */
.footer-v2 {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  width: 100%;
  font-family: inherit;
}

/* ── Main grid area ──────────────────────────────────────── */
.footer-v2__body {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 32px;
  position: relative;
  text-align: center;
}

/* ── Column heading ──────────────────────────────────────── */
.footer-v2__col-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 22px;
  text-align: center;
}

/* ── Quick Links ─────────────────────────────────────────── */
.footer-v2__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-v2__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  text-align: center;
}

.footer-v2__links a:hover {
  color: #E6A800;
}

/* ── Social icons row ────────────────────────────────────── */
.footer-v2__socials {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-v2__social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #475569;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-v2__social-btn:hover {
  border-color: #E6A800;
  background: rgba(230, 168, 0, 0.08);
  transform: translateY(-3px);
  color: #E6A800;
}

.footer-v2__social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Contact details ─────────────────────────────────────── */
.footer-v2__contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-v2__contact-list li {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.5;
  text-align: center;
}

.footer-v2__contact-list a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v2__contact-list a:hover {
  color: #E6A800;
}

/* ── Bottom bar ──────────────────────────────────────────── */
.footer-v2__bottom {
  border-top: 1px solid #E2E8F0;
  position: relative;
}

.footer-v2__bottom-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-v2__copy {
  grid-column: 2;           /* sits exactly under Connect & Contact */
  font-size: 0.85rem;
  color: #94A3B8;
  text-align: center;
  display: block;
}

/* ── Diamond decoration ──────────────────────────────────── */
.footer-v2__diamond {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36px;
  height: 36px;
  opacity: 0.25;
  pointer-events: none;
}

.footer-v2__diamond svg {
  width: 100%;
  height: 100%;
  fill: #94A3B8;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-v2__body {
    grid-template-columns: 1fr 1fr;
    padding: 40px 0 28px;
    gap: 32px 24px;
  }

  .footer-v2__col--contact {
    grid-column: 1 / -1;
    order: -1;
  }
}

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

  .footer-v2__col--contact {
    grid-column: auto;
  }
}
