/* ==========================================================================
   SHN Ceylon — Footer
   ========================================================================== */

.shn-footer {
  background-color: var(--shn-black);
  padding-top: clamp(48px, 6vw, 80px);
}

.shn-footer__row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 32px;
  padding-bottom: 56px;
}

.shn-footer__eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shn-gray-500);
  margin-bottom: 16px;
}

.shn-footer__title {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--shn-white);
  margin-bottom: 32px;
}

/* ---- Contact pill buttons ---- */
.shn-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.shn-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  color: var(--shn-white);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.shn-contact-pill:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.shn-contact-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.shn-contact-pill__whatsapp svg {
  color: #2BCB6E;
}

/* ---- Link columns ---- */
.shn-footer__col-title {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shn-gray-500);
  margin-bottom: 18px;
}

.shn-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shn-footer__links a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 1rem;
  color: var(--shn-white);
  opacity: 0.92;
  transition: opacity var(--transition-fast);
}

.shn-footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shn-footer__links a.is-active {
  opacity: 1;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  background-color: var(--shn-footer-highlight, var(--shn-green-accent));
  color: var(--shn-white);
}

.shn-footer__links a.is-active:hover {
  text-decoration: none;
}

/* ---- Bottom bar ---- */
.shn-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.shn-footer__copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.shn-footer__copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shn-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--shn-white);
  transition: background var(--transition-fast);
}

.shn-footer__social:hover {
  background: rgba(255, 255, 255, 0.22);
}

.shn-footer__social svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (max-width: 991.98px) {
  .shn-footer__row {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .shn-footer__row > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .shn-footer__row {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .shn-footer__contacts {
    flex-direction: column;
    align-items: stretch;
  }

  .shn-contact-pill {
    justify-content: space-between;
  }

  .shn-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
