/*--------------------------------------------------------------
# Sanskar Footer (Modern 4-Column Layout)
--------------------------------------------------------------*/
.footer.sanskar-footer {
  --footer-bg: #fff4e6;
  --footer-ink: #2f1a08;
  --footer-text: rgba(56, 33, 16, 0.8);
  --footer-line: rgba(255, 169, 70, 0.35);
  --footer-card: rgba(255, 255, 255, 0.88);
  --footer-grad: linear-gradient(120deg, #ff6a00 0%, #ff9933 52%, #ffd84d 100%);
  position: relative;
  overflow: hidden;
  color: var(--footer-ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 191, 111, 0.22) 0%, rgba(255, 191, 111, 0) 46%),
    radial-gradient(circle at 88% 82%, rgba(255, 141, 32, 0.18) 0%, rgba(255, 141, 32, 0) 44%),
    var(--footer-bg);
}

.footer.sanskar-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--footer-grad);
  z-index: 2;
}

.footer.sanskar-footer::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 184, 94, 0.2) 0%, rgba(255, 184, 94, 0) 70%);
  pointer-events: none;
}

.footer.sanskar-footer .footer-top,
.footer.sanskar-footer .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer.sanskar-footer .footer-top {
  padding: 54px 0 24px;
}

.footer.sanskar-footer .footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1.25fr 0.95fr 0.95fr;
  gap: 0;
  border-radius: 24px;
  border: 1px solid var(--footer-line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 234, 0.84) 100%);
  box-shadow: 0 14px 24px rgba(73, 37, 7, 0.1);
  overflow: hidden;
  padding: 6px;
}

.footer.sanskar-footer .footer-panel {
  position: relative;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px;
  animation: footerFadeUp 600ms ease both;
}

.footer.sanskar-footer .footer-panel::before {
  display: none;
}

.footer.sanskar-footer .footer-panel + .footer-panel {
  border-left: 1px solid rgba(255, 172, 82, 0.28);
}

.footer.sanskar-footer .footer-panel:nth-child(1) {
  animation-delay: 80ms;
}
.footer.sanskar-footer .footer-panel:nth-child(2) {
  animation-delay: 130ms;
}
.footer.sanskar-footer .footer-panel:nth-child(3) {
  animation-delay: 180ms;
}
.footer.sanskar-footer .footer-panel:nth-child(4) {
  animation-delay: 230ms;
}

.footer.sanskar-footer h4 {
  margin: 0 0 12px;
  color: #2e1808;
  font-size: clamp(24px, 1.8vw, 40px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.footer.sanskar-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.footer.sanskar-footer .footer-logo img {
  max-height: 88px;
  width: auto;
}

.footer.sanskar-footer .footer-brand-panel p {
  margin: 0;
  color: var(--footer-text);
  font-size: 17px;
  line-height: 1.62;
}

.footer.sanskar-footer .footer-social {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer.sanskar-footer .footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 172, 82, 0.44);
  color: #6a3708;
  background: rgba(255, 252, 246, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 240ms ease, color 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.footer.sanskar-footer .footer-social a:hover {
  transform: translateY(-2px);
  color: #fff8ef;
  border-color: rgba(255, 143, 22, 0.7);
  background: linear-gradient(145deg, #ff9322 0%, #ffc541 100%);
}

.footer.sanskar-footer .footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer.sanskar-footer .footer-contact-item {
  color: var(--footer-text);
  font-size: 16px;
  line-height: 1.55;
}

.footer.sanskar-footer .footer-contact-item strong {
  color: #2e1808;
  margin-right: 4px;
}

.footer.sanskar-footer .footer-contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer.sanskar-footer .footer-contact-item a:hover {
  color: #a15400;
}

.footer.sanskar-footer .footer-legal-panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.footer.sanskar-footer .footer-legal-panel li {
  color: #6a3c12;
  font-size: 17px;
}

.footer.sanskar-footer .footer-legal-panel a {
  color: #6a3c12;
  text-decoration: none;
  transition: color 220ms ease;
}

.footer.sanskar-footer .footer-legal-panel a:hover {
  color: #a15400;
}

.footer.sanskar-footer .footer-map-panel {
  padding: 12px;
}

.footer.sanskar-footer .footer-map-wrap {
  height: 100%;
  min-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 173, 82, 0.35);
  background: #fff9ef;
}

.footer.sanskar-footer .footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer.sanskar-footer .footer-bottom {
  border-top: 1px solid rgba(255, 171, 74, 0.32);
  padding: 14px 0;
  background: rgba(255, 246, 229, 0.8);
}

.footer.sanskar-footer .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer.sanskar-footer .footer-bottom p {
  margin: 0;
  color: rgba(64, 37, 16, 0.86);
  font-size: 14px;
  line-height: 1.4;
}

.footer.sanskar-footer .footer-bottom .footer-motto {
  font-weight: 600;
}

@keyframes footerFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1399px) {
  .footer.sanskar-footer .footer-grid {
    grid-template-columns: 1.1fr 1.1fr 0.95fr 0.95fr;
  }
}

@media (max-width: 1199px) {
  .footer.sanskar-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .footer.sanskar-footer .footer-panel {
    border-left: 0 !important;
  }

  .footer.sanskar-footer .footer-panel:nth-child(2n) {
    border-left: 1px solid rgba(255, 172, 82, 0.28) !important;
  }

  .footer.sanskar-footer .footer-panel:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 172, 82, 0.28);
  }

  .footer.sanskar-footer .footer-map-wrap {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .footer.sanskar-footer .footer-top {
    padding-top: 44px;
  }

  .footer.sanskar-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px;
  }

  .footer.sanskar-footer .footer-panel {
    border: 0 !important;
    border-top: 1px solid rgba(255, 172, 82, 0.24) !important;
  }

  .footer.sanskar-footer .footer-panel:first-child {
    border-top: 0 !important;
  }

  .footer.sanskar-footer h4 {
    font-size: 34px;
  }

  .footer.sanskar-footer .footer-brand-panel p,
  .footer.sanskar-footer .footer-contact-item,
  .footer.sanskar-footer .footer-legal-panel li {
    font-size: 15px;
  }

  .footer.sanskar-footer .footer-map-wrap {
    min-height: 240px;
  }

  .footer.sanskar-footer .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
