/* ================================================================
   NAV + FOOTER + FLOATING CTAs — Property for Equity v3
   ================================================================ */

/* ── SITE HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--t-med), background var(--t-med);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(13,27,42,0.10);
  background: rgba(255,255,255,0.98);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

/* ── LOGO ── */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; color: var(--gold); }
.logo-text-block { line-height: 1.2; }
.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.75;
  margin-top: 1px;
}

/* ── MAIN NAV ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  padding: var(--s2) var(--s3);
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--navy-pale); }
.nav-link svg { width: 12px; height: 12px; transition: transform var(--t-fast); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* ── DROPDOWN ── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r3);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--s3);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: var(--s2) var(--s3);
  border-radius: var(--r1);
  font-size: var(--text-sm);
  color: var(--slate);
  font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-dropdown a:hover { color: var(--navy); background: var(--navy-pale); }
.nav-dropdown-section {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--s3) var(--s3) var(--s1);
}
.nav-dropdown-section:not(:first-child) {
  border-top: 1px solid var(--border-light);
  margin-top: var(--s2);
}

/* ── HEADER CTA ── */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  padding: var(--s2) var(--s3);
  border-radius: var(--r2);
  transition: background var(--t-fast);
}
.header-phone:hover { background: var(--navy-pale); }
.header-phone svg { width: 14px; height: 14px; color: var(--gold); }

/* ── MOBILE TOGGLE ── */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--navy);
  border-radius: var(--rfull);
  transition: all var(--t-med);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 78px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: var(--s4);
  max-height: calc(100vh - 78px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-section {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--s3) 0 var(--s2);
  margin-top: var(--s2);
  border-top: 1px solid var(--border-light);
}
.mobile-nav-section:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.mobile-nav a {
  display: block;
  padding: var(--s3) var(--s2);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--slate);
  border-radius: var(--r2);
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav a:hover { background: var(--navy-pale); color: var(--navy); }
.mobile-nav-cta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s2);
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-light);
}

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--navy);
  color: var(--ivory);
  padding: var(--s12) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--s8);
  padding-bottom: var(--s10);
  border-bottom: 1px solid rgba(245,240,232,0.10);
}
.footer-brand .site-logo .logo-mark { background: rgba(245,240,232,0.10); }
.footer-brand .logo-name { color: var(--ivory); }
.footer-brand .logo-tagline { color: rgba(245,240,232,0.45); }
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(245,240,232,0.55);
  line-height: 1.75;
  margin-top: var(--s4);
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--s4);
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(245,240,232,0.60);
  padding: 4px 0;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--ivory); }
.footer-contact-item {
  font-size: var(--text-sm);
  color: rgba(245,240,232,0.60);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.footer-contact-item a {
  color: rgba(245,240,232,0.60);
  display: inline;
  padding: 0;
  transition: color var(--t-fast);
}
.footer-contact-item a:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s5) 0 var(--s7);
  flex-wrap: wrap;
  gap: var(--s3);
}
.footer-bottom span {
  font-size: var(--text-xs);
  color: rgba(245,240,232,0.40);
}
.footer-legal-links {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: var(--text-xs);
  color: rgba(245,240,232,0.40);
  transition: color var(--t-fast);
}
.footer-legal-links a:hover { color: rgba(245,240,232,0.75); }
.footer-disclaimer {
  background: rgba(0,0,0,0.20);
  padding: var(--s4) 0;
}
.footer-disclaimer p {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.35);
  line-height: 1.6;
  max-width: 900px;
}

/* ── FLOATING CONTACTS ── */
.float-cta-stack {
  position: fixed;
  bottom: var(--s6);
  right: var(--s5);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s2);
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--t-med);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-xl); }
.float-btn svg, .float-btn img { width: 24px; height: 24px; }
.float-whatsapp { background: #25D366; color: white; }
.float-call     { background: var(--navy); color: var(--gold); }
.float-text     { background: var(--white); color: var(--navy); border: 1.5px solid var(--border); }

.float-label {
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: var(--navy);
  color: var(--ivory);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r2);
  opacity: 0;
  transform: translateX(6px);
  transition: all var(--t-fast);
  pointer-events: none;
}
.float-btn:hover .float-label {
  opacity: 1;
  transform: translateX(0);
}

/* ── MOBILE BOTTOM CTA BAR ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: var(--s3) var(--s4);
  gap: var(--s2);
  box-shadow: 0 -4px 20px rgba(13,27,42,0.10);
}
.mobile-cta-bar .cta-call {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px;
  background: var(--navy);
  color: var(--ivory);
  border-radius: var(--r3);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}
.mobile-cta-bar .cta-wa {
  width: 50px; height: 50px;
  background: #25D366;
  border-radius: var(--r3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mobile-cta-bar .cta-wa svg { width: 22px; height: 22px; color: white; }
.mobile-cta-bar .cta-text {
  width: 50px; height: 50px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mobile-cta-bar .cta-text svg { width: 20px; height: 20px; color: var(--navy); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav, .header-cta .btn, .header-phone { display: none; }
  .mobile-cta-bar { display: flex; }
  .float-cta-stack { bottom: 78px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s7); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
