/* Critical footer + bottom action styles kept separate to bypass stale/shared CSS issues */

.site-footer {
  background: #3A2E22;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.site-footer .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: #EFE7D4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.93rem;
}

.footer-col p {
  margin-bottom: 20px;
}

.footer-col h4 {
  margin-bottom: 24px;
  color: #FFFFFF;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #B89968;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #B89968;
  color: #3A2E22;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
}

.sticky-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.sticky-actions a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(58, 46, 34, 0.25);
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.sticky-actions a:hover {
  transform: scale(1.08);
}

.sticky-actions .wa {
  background: #25D366;
}

.sticky-actions .ph {
  background: #3A2E22;
}

.sticky-actions .wa::after,
.sticky-actions .ph::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: #3A2E22;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sticky-actions a:hover::after {
  opacity: 1;
}

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: #F7F1E0;
  border-top: 1px solid #DCCFB7;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

body.menu-open .sticky-actions,
body.menu-open .mobile-bar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.menu-open .sticky-actions {
  transform: translateY(12px) !important;
}

body.menu-open .mobile-bar {
  transform: translateY(100%) !important;
}

.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  color: #3A2E22;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-bar a.call {
  background: #3A2E22;
  color: #FFFFFF;
}

.mobile-bar a.primary {
  background: #25D366;
  color: #FFFFFF;
}

.mobile-bar svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .sticky-actions {
    bottom: 84px;
    z-index: 100;
  }

  .sticky-actions a {
    width: 50px;
    height: 50px;
  }

  .mobile-bar {
    display: flex;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (max-width: 480px) {
  .site-footer .container {
    padding: 0 18px;
  }

  .footer-brand {
    font-size: 1.2rem;
    letter-spacing: 0.14em;
    gap: 10px;
  }

  .footer-brand .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}
