/* Nature Holiday Trip — public footer */
.site-footer.nh-footer {
  --ft-ink: #e8f2ec;
  --ft-muted: #a7b8ae;
  --ft-line: rgba(232, 242, 236, 0.12);
  --ft-leaf: #3d9b6e;
  --ft-deep: #0a1a14;

  margin-top: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(31, 107, 74, 0.35), transparent 55%),
    linear-gradient(180deg, #10231c 0%, var(--ft-deep) 100%);
  color: var(--ft-ink);
  font-family: "DM Sans", system-ui, sans-serif;
}

.nh-footer-inner {
  padding: 3.25rem 0 1.35rem;
}

/* Space for floating sticky CTA — keep dark footer fill (no body cream gap) */
body:has(.sticky-cta:not([hidden])) .site-footer.nh-footer .nh-footer-inner {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

.nh-footer-top {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
  gap: 2rem 2.25rem;
  align-items: start;
}

.nh-footer-brand {
  max-width: 22rem;
}

.nh-footer-logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.nh-footer-logo img {
  width: auto;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.nh-footer-tagline {
  margin: 0 0 1.15rem;
  color: var(--ft-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.nh-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.nh-footer-social a {
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  border: 0;
  background: #e8f2ec;
  color: #0f3d2c;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nh-footer-social a i {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
  width: 1.1em;
  text-align: center;
  font-style: normal;
}

.nh-footer-social a:hover {
  background: #1f6b4a;
  color: #fff;
  transform: translateY(-2px);
}

.nh-footer-social a[aria-label="WhatsApp"] {
  background: #25d366;
  color: #052e16;
}

.nh-footer-social a[aria-label="WhatsApp"]:hover {
  background: #1ebe57;
  color: #052e16;
}

.nh-footer-social a[aria-label="Call"] {
  background: #1f6b4a;
  color: #fff;
}

.nh-footer-social a[aria-label="Call"]:hover {
  background: #0f3d2c;
  color: #fff;
}

.nh-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.nh-footer-col h3 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.nh-footer-col > a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  color: var(--ft-muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
  transition: color 0.2s ease;
}

.nh-footer-col > a:hover {
  color: #fff;
}

.nh-footer-contact-row {
  align-items: flex-start !important;
}

.nh-footer-contact-row i {
  margin-top: 0.2rem;
  color: var(--ft-leaf);
  flex-shrink: 0;
}

.nh-footer-cta {
  margin-top: 0.85rem !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(232, 242, 236, 0.22);
  background: #e8f2ec;
  color: #0f3d2c !important;
  font-weight: 700;
  font-size: 0.92rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nh-footer-cta i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.nh-footer-cta:hover {
  background: #1f6b4a;
  border-color: #1f6b4a;
  color: #fff !important;
  transform: translateY(-1px);
}

.nh-footer-cta:hover i {
  transform: translateX(3px);
}

.nh-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ft-line);
}

.nh-footer-bottom p {
  margin: 0;
  color: #7f9388;
  font-size: 0.82rem;
}

.nh-footer-copy {
  display: grid;
  gap: 0.35rem;
}

.nh-footer-credit {
  color: #8fa399 !important;
  font-size: 0.8rem !important;
}

.nh-footer-credit a {
  color: #c8e6d4;
  font-weight: 700;
  text-decoration: none;
}

.nh-footer-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

.nh-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.nh-footer-legal a {
  color: #8fa399;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.nh-footer-legal a:hover {
  color: #fff;
}

/* Override older conversion footer rules on this shell */
.nh-footer .footer-grid,
.nh-footer.nh-footer a {
  display: revert;
}

.nh-footer .nh-footer-col > a,
.nh-footer .nh-footer-legal a,
.nh-footer .nh-footer-cta {
  display: inline-flex;
}

.nh-footer .nh-footer-col > a {
  display: inline-flex;
  margin: 0;
}

/* Keep social icons perfectly centered (do not let generic footer `a` rules shift them) */
.nh-footer .nh-footer-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1;
  text-align: center;
}

.nh-footer .nh-footer-social a i {
  display: block;
  margin: 0 auto;
  line-height: 1;
}

@media (max-width: 980px) {
  .nh-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .nh-footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .nh-footer-inner {
    padding: 2.5rem 0 1.25rem;
  }

  .nh-footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nh-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
