/* ============================================================
   FOOTER  ·  Shivoham Retreat
   ============================================================ */

.site-footer {
  margin: 1rem;
  width: calc(100% - 2rem);
  background: #111C17;
  border-radius: 16px;
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) 0;
  overflow: hidden;
}

/* ── Top grid ────────────────────────────── */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem 4rem;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid #1E2E22;
}

/* ── Brand column ────────────────────────── */
.footer__brand .footer__logo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer__logo-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer__logo-word {
  font-family: var(--f-serif, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.footer__logo-tag {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer__brand p {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.85rem;
  line-height: 1.75;
  color: #A89888;
  max-width: 28ch;
  margin-bottom: 1.75rem;
  text-shadow: 0 0 20px rgba(255,255,255,0.08);
}

/* Social icons */
.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  transition: border-color 0.22s ease, color 0.22s ease;
}

.footer__social a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* ── Nav columns ─────────────────────────── */
.footer__col h4 {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  list-style: none;
}

.footer__col ul a {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.88rem;
  color: #B0A090;
  text-decoration: none;
  transition: color 0.2s ease;
  text-shadow: 0 0 16px rgba(255,255,255,0.06);
}

.footer__col ul a:hover { color: #ffffff; }

/* ── Contact column ──────────────────────── */
.footer__contact h4 {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.footer__contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255, 0.65);
}

.footer__contact-item span,
.footer__contact-item a {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.85rem;
  color: #B0A090;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease;
  text-shadow: 0 0 16px rgba(255,255,255,0.06);
}

.footer__contact-item a:hover { color: #ffffff; }

/* ── Bottom bar ──────────────────────────── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

.footer__copy {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.72rem;
  color: rgba(255,255,255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
}

.footer__legal a:hover { color: #ffffff; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-footer {
    margin: 0.5rem;
    width: calc(100% - 1rem);
    border-radius: 12px;
    padding: 2.5rem 1.25rem 0;
  }

  /* Brand — centered */
  .footer__brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__brand p { max-width: 100%; }
  .footer__social { justify-content: center; }

  /* Contact — full width, stacked items */
  .footer__contact {
    grid-column: 1 / -1;
    display: block;
  }
  .footer__contact h4 { text-align: left; }
  .footer__contact-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
  }
  /* Prevent long email/address from overflowing */
  .footer__contact-item a,
  .footer__contact-item span {
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
  }

  /* Bottom bar */
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .footer__legal { gap: 1rem; flex-wrap: wrap; }
}

@media (max-width: 380px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
