/* =====================================================================
   SJC SITE FOOTER — gold gradient (restored from previous version)
   Self-contained CSS file. Loaded after style.css so it wins cascade.
   ===================================================================== */

.site-footer.footer-v3 {
  background: linear-gradient(170deg, #faa519 0%, #d4870a 100%);
  color: rgba(255, 255, 255, 0.94);
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

/* Top dark accent line for separation */
.site-footer.footer-v3::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #6e4403 0%, #ffffff 50%, #6e4403 100%);
}

/* Subtle decorative glow */
.site-footer.footer-v3::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.10) 0%, transparent 55%);
  pointer-events: none;
}

.site-footer.footer-v3 > * { position: relative; z-index: 2; }

/* === MAIN GRID === */
.footer-v3-main { padding: 70px 0 46px; }

.footer-v3-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* === ABOUT COLUMN === */
.footer-v3-about { max-width: 360px; }

.footer-v3-logo {
  display: inline-block;
  margin: 0 0 20px;
}
.footer-v3-logo img {
  display: block;
  height: 56px;
  max-width: 220px;
  width: auto;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.footer-v3-about-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
}

.footer-v3-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-v3-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}
.footer-v3-social a:hover {
  background: #6e4403;
  border-color: #6e4403;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(110, 68, 3, 0.45);
}

/* === MENU COLUMNS === */
.footer-v3-col-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 22px;
  padding-bottom: 12px;
  letter-spacing: 0.02em;
  position: relative;
}
.footer-v3-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: #6e4403;
  border-radius: 2px;
}

.footer-v3-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-v3-list li { margin-bottom: 11px; }
.footer-v3-list a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-v3-list a::before {
  content: '\f105';                              /* fa-angle-right */
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  width: 0;
  margin-right: 0;
  opacity: 0;
  color: #6e4403;
  transition: width 0.2s ease, opacity 0.2s ease, margin-right 0.2s ease;
}
.footer-v3-list a:hover { color: #ffffff; }
.footer-v3-list a:hover::before {
  width: 14px;
  opacity: 1;
  margin-right: 6px;
}

/* === CONTACT COLUMN (icon circles) === */
.footer-v3-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-v3-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-v3-contact-list li:last-child { margin-bottom: 0; }

.footer-v3-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #ffffff;
  font-size: 15px;
}

.footer-v3-contact-list small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 4px;
}

.footer-v3-contact-list a,
.footer-v3-contact-list .footer-v3-addr {
  display: block;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease;
}
.footer-v3-contact-list a:hover { color: #6e4403; }
.footer-v3-contact-list .footer-v3-addr {
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

/* === BOTTOM BAR === */
.footer-v3-bottom {
  background: rgba(110, 68, 3, 0.32);                /* dark amber overlay, matches palette */
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 18px 0;
}
.footer-v3-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer-v3-copyright {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}
.footer-v3-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-v3-legal a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-v3-legal a:hover { color: #ffffff; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-v3-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 36px;
  }
  .footer-v3-about,
  .footer-v3-contact {
    grid-column: 1 / -1;
  }
  .footer-v3-about { max-width: none; }
  .footer-v3-contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .footer-v3-contact-list li { margin-bottom: 0; }
}

@media (max-width: 640px) {
  .footer-v3-main { padding: 48px 0 32px; }
  .footer-v3-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-v3-logo img { height: 48px; padding: 7px 14px; }
  .footer-v3-about-text { font-size: 13px; line-height: 1.75; }
  .footer-v3-social a { width: 38px; height: 38px; font-size: 14px; }
  .footer-v3-col-title { margin-bottom: 18px; font-size: 14px; }
  .footer-v3-list a { font-size: 13.5px; }
  .footer-v3-contact-list { display: block; }
  .footer-v3-contact-list li { margin-bottom: 16px; }
  .footer-v3-ico { width: 40px; height: 40px; font-size: 14px; }
  .footer-v3-contact-list a,
  .footer-v3-contact-list .footer-v3-addr { font-size: 14px; }
  .footer-v3-bottom { padding: 16px 0; }
  .footer-v3-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-v3-legal { gap: 16px; }
}
