/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: linear-gradient(180deg, #3D0A26 0%, var(--color-dark) 15%, var(--color-charcoal) 100%);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--gold));
  z-index: 5;
}
.site-footer::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* Footer Hero Banner */
.footer-hero {
  position: relative;
  width: 100%; height: 300px;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.footer-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(0deg, #3D0A26 0%, transparent 100%);
}

/* Gold Wave Divider */
.footer-wave {
  position: relative;
  margin-top: -2px;
  line-height: 0;
  z-index: 2;
}
.footer-wave svg {
  display: block; width: 100%; height: 50px;
}

/* Bokeh Floating Particles */
.footer-bokeh {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.footer-bokeh span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.3) 0%, rgba(201,168,76,0.05) 60%, transparent 100%);
  animation: bokehFloat linear infinite;
}
.footer-bokeh span:nth-child(1) { width: 24px; height: 24px; left: 8%; top: 20%; animation-duration: 12s; animation-delay: 0s; filter: blur(1px); }
.footer-bokeh span:nth-child(2) { width: 14px; height: 14px; left: 25%; top: 55%; animation-duration: 16s; animation-delay: -3s; filter: blur(2px); }
.footer-bokeh span:nth-child(3) { width: 30px; height: 30px; left: 50%; top: 10%; animation-duration: 14s; animation-delay: -6s; filter: blur(1.5px); }
.footer-bokeh span:nth-child(4) { width: 10px; height: 10px; left: 70%; top: 40%; animation-duration: 18s; animation-delay: -2s; filter: blur(1px); }
.footer-bokeh span:nth-child(5) { width: 20px; height: 20px; left: 85%; top: 15%; animation-duration: 13s; animation-delay: -8s; filter: blur(2px); }
.footer-bokeh span:nth-child(6) { width: 16px; height: 16px; left: 40%; top: 70%; animation-duration: 15s; animation-delay: -4s; filter: blur(1.5px); }
.footer-bokeh span:nth-child(7) { width: 8px; height: 8px; left: 62%; top: 60%; animation-duration: 11s; animation-delay: -7s; filter: blur(1px); }
.footer-bokeh span:nth-child(8) { width: 22px; height: 22px; left: 15%; top: 80%; animation-duration: 17s; animation-delay: -5s; filter: blur(2px); }

@keyframes bokehFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0.15; }
  25%  { transform: translateY(-30px) scale(1.15); opacity: 0.35; }
  50%  { transform: translateY(-15px) scale(0.9); opacity: 0.2; }
  75%  { transform: translateY(-40px) scale(1.1); opacity: 0.3; }
  100% { transform: translateY(0) scale(1); opacity: 0.15; }
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr 1.1fr;
  gap: 32px;
  padding: 36px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { padding-right: 20px; }
.footer-brand p {
  font-size: 13px; line-height: 1.7;
  margin-top: 12px; opacity: 0.7;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: #fff; margin-top: 10px;
  letter-spacing: 0.5px;
}
.footer-brand-name span { color: var(--gold); font-weight: 400; }
.footer-logo { display: inline-block; }
.footer-logo img {
  display: block; height: auto; max-width: 216px;
  animation: footerLogoGlow 3s ease-in-out infinite;
}
@keyframes footerLogoGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(201,168,76,0.3)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 18px rgba(201,168,76,0.6)) drop-shadow(0 0 40px rgba(201,168,76,0.15)); transform: scale(1.03); }
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--gold);
}
.footer-col a {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 0;
  font-size: 13.5px; opacity: 0.7;
  transition: opacity var(--transition), color var(--transition), padding-left var(--transition);
}
.footer-col a::before {
  content: '';
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
  flex-shrink: 0;
}
.footer-col a:hover {
  opacity: 1; color: var(--gold); padding-left: 2px;
}
.footer-col a:hover::before { width: 10px; }

.footer-about-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13px; font-weight: 600;
  color: var(--gold);
  opacity: 0.85;
  transition: opacity 0.3s ease, gap 0.3s ease;
}
.footer-about-link:hover { opacity: 1; gap: 10px; }

/* Footer map */
.footer-map h4 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; margin-bottom: 12px;
  position: relative; padding-bottom: 10px;
}
.footer-map h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--gold);
}
.footer-map-address {
  font-size: 12px; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 10px;
}
.footer-map-address i { color: var(--gold); font-size: 11px; }
.footer-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-map-wrap iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.3) brightness(0.85);
  transition: filter 0.3s ease;
}
.footer-map-wrap:hover iframe { filter: grayscale(0) brightness(1); }

/* Footer middle */
.footer-middle {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.footer-social a::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}
.footer-social a i { position: relative; z-index: 1; }
.footer-social a:hover {
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}
.footer-social a:hover::before { transform: scale(1); }

.footer-contact { display: flex; align-items: center; gap: 24px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.footer-contact-item i { color: var(--gold); font-size: 14px; }

.footer-payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-payments .pay-icon {
  height: 34px; padding: 0 10px; border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: rgba(255,255,255,0.65);
  transition: all 0.3s ease;
}
.footer-payments .pay-icon:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
}
.footer-payments .tabby-icon,
.footer-payments .tamara-icon {
  font-size: 11px; font-weight: 800;
  color: rgba(255,255,255,0.55); letter-spacing: 0.5px;
  font-family: var(--font-body);
}
.footer-payments .cod-icon {
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 16px 0;
}
.footer-copyright { font-size: 13px; opacity: 0.5; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s ease;
}
.footer-legal a:hover { color: var(--gold); }

/* ── Tablet ── */
@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-brand p { max-width: 400px; margin: 10px auto; }
  .footer-about-link { justify-content: center; }
  .footer-map { grid-column: 1 / -1; }
  .footer-map-wrap { display: none; }
  .footer-middle {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .footer-logo img { max-width: 160px; }
}
@media (max-width: 639px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-brand { text-align: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-legal { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 430px) {
  .footer-logo img { max-width: 120px; }
  .footer-col h4 { font-size: 12px; }
  .footer-col a { font-size: 12.5px; }
  .footer-legal a { font-size: 11px; }
  .footer-copyright { font-size: 11px; }
}
