/* ============================================
   FOOTER — Dark Gold Luxury
   ============================================ */



.footer {
  background: var(--primary-800) !important;
  padding: clamp(2rem, 4vw, 4rem) 0 0;
  position: relative;
  border-top: 1px solid rgba(35, 139, 69, 0.25);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-8);
  /* Reduced from var(--space-12) */
  padding-bottom: var(--space-8);
  /* Reduced from var(--space-12) */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Brand Column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-logo);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  background: rgba(35, 139, 69, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-300);
}

.footer__logo span {
  color: var(--gold);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 300px;
}

.footer__socials {
  display: flex;
  gap: var(--space-2);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all var(--duration-fast) ease;
}

.footer__social-link:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Link Columns */
.footer__column-title {
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  opacity: 0.85;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__link:hover {
  color: var(--gold);
  padding-left: var(--space-1);
}

/* Map */
.footer__map {
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__map iframe {
  width: 100%;
  height: 240px;
  border: 1px solid rgba(35, 139, 69, 0.15);
  border-radius: var(--radius-md);
  filter: brightness(0.55) contrast(1.05) saturate(0.4);
}

/* Bottom Bar */
.footer__bottom {
  padding: var(--space-6) 0;
  margin-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
  max-width: none;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer__bottom-link {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}

.footer__bottom-link:hover {
  color: var(--gold);
}

/* WhatsApp Floating CTA */
.whatsapp-float {
  position: fixed;
  bottom: calc(var(--space-8) + env(safe-area-inset-bottom));
  right: var(--space-8);
  z-index: var(--z-toast);
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--duration-normal) ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer__top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8) var(--space-3);
  }

  .footer__brand {
    grid-column: span 3;
  }

  .footer__brand-desc {
    max-width: 100%;
  }

  .footer__column-title {
    font-size: 9px;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-4);
  }

  .footer__links {
    gap: var(--space-2);
  }

  .footer__link {
    font-size: 11px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
    justify-content: center;
  }

  .footer__bottom-links {
    justify-content: center;
  }
}

/* ============================================
   POLICY POPUP MODAL — Premium White Card Theme
   ============================================ */

.policy-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.policy-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.policy-modal {
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(35, 139, 69, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  color: #1e293b;
}

.policy-modal-backdrop.is-open .policy-modal {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.policy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px 14px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.policy-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(35, 139, 69, 0.08);
  border: 1px solid rgba(35, 139, 69, 0.2);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: 4px;
}

.policy-modal__title {
  font-family: var(--font-heading, "Cormorant Garamond", serif);
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.policy-modal__close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.policy-modal__close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
  transform: rotate(90deg);
}

/* Modal Tabs — Segmented Control Style */
.policy-modal__tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 100px;
  padding: 4px;
  margin: 12px 26px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.policy-tab-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

.policy-tab-btn:hover {
  color: #0f172a;
}

.policy-tab-btn.active {
  background: #ffffff;
  color: #15803d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Modal Body */
.policy-modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  background: #ffffff;
}

.policy-modal__body h3 {
  font-family: var(--font-heading, "Cormorant Garamond", serif);
  font-size: 20px;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #15803d;
}

.policy-modal__body h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #15803d;
  margin-top: 18px;
  margin-bottom: 6px;
}

.policy-modal__body p {
  margin: 0 0 10px;
  color: #475569;
}

.policy-modal__body ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.policy-modal__body li {
  margin-bottom: 6px;
  color: #475569;
}

.policy-modal__body a {
  color: #15803d;
  font-weight: 600;
  text-decoration: underline;
}

.policy-modal__body::-webkit-scrollbar {
  width: 6px;
}

.policy-modal__body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Modal Footer */
.policy-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 26px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  gap: 12px;
  flex-wrap: wrap;
}

.policy-modal__foot-text {
  font-size: 12px;
  color: #64748b;
}

.policy-modal__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #25D366;
  color: #052910;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.policy-modal__contact-btn:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .policy-modal-backdrop {
    padding: 12px;
  }
  
  .policy-modal {
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .policy-modal__header {
    padding: 16px 20px 10px;
  }
  
  .policy-modal__title {
    font-size: 18px;
  }

  .policy-modal__tabs {
    margin: 8px 16px;
    padding: 3px;
    border-radius: 8px;
    gap: 3px;
  }
  
  .policy-tab-btn {
    padding: 6px 4px;
    font-size: 11px;
    border-radius: 6px;
  }

  .policy-modal__body {
    padding: 18px 20px;
    font-size: 13.5px;
  }
  
  .policy-modal__body h3 {
    font-size: 18px;
  }

  .policy-modal__footer {
    padding: 12px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
  }

  .policy-modal__contact-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .policy-modal-backdrop {
    padding: 8px;
  }
  
  .policy-modal__tabs {
    margin: 6px 10px;
  }
  
  .policy-tab-btn {
    font-size: 9.5px;
    padding: 6px 2px;
  }
  
  .policy-modal__body {
    padding: 14px 14px;
  }
}