/* ============================================================
   FOOTER.CSS — Results Real Estate Inc.
   Dark footer — offsets left sidebar on desktop
   ============================================================ */

.site-footer {
  background: #060f16;
  margin-left: var(--sidebar-w);
  transition: margin-left var(--tr);
  position: relative;
  overflow: hidden;
}

/* Dot texture */
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}
/* Radial glow top-right */
.site-footer::after {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

/* Accent line top */
.footer-accent { height: 3px; background: linear-gradient(90deg, transparent, var(--accent) 35%, rgba(0,212,255,0.4) 65%, transparent); position: relative; z-index: 1; }

/* ── Footer body ── */
.footer-body { padding: 68px 0 52px; position: relative; z-index: 1; }

.footer-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* ── Col headings ── */
.footer-col-head {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-head::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* ── Brand col ── */
.footer-logo-wrap { margin-bottom: 18px; }
.footer-logo-img {
   width: 60%;
  object-fit: contain;
  transition: filter var(--tr);
}

.footer-logo-fallback { display: flex; align-items: center; gap: 10px; }
.flf-mark {
  width: 44px; height: 44px; background: var(--accent); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 900; font-size: 20px;
  color: var(--primary); flex-shrink: 0;
}
.flf-name { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--white); line-height: 1.15; }
.flf-inc  { font-size: 10px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }

.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 300px;
}
.footer-license {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600;
  color: var(--accent);
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 6px 14px; border-radius: var(--r-pill);
}

/* ── Nav & services cols ── */
.footer-nav-list, .footer-svc-list {
  display: flex; flex-direction: column; gap: 2px;
}
.footer-nav-link, .footer-svc-link {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--tr-fast), padding-left var(--tr);
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.footer-nav-link:last-child,
.footer-svc-link:last-child { border-bottom: none; }

.footer-nav-link::before,
.footer-svc-link::before {
  content: '→';
  font-size: 12px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--tr-fast), transform var(--tr);
}
.footer-nav-link:hover,
.footer-svc-link:hover {
  color: var(--white);
  padding-left: 8px;
}
.footer-nav-link:hover::before,
.footer-svc-link:hover::before { opacity: 1; transform: translateX(0); }

/* ── Contact col ── */
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  transition: background var(--tr-fast), border-color var(--tr-fast), transform var(--tr);
  text-decoration: none;
}
.footer-contact-item:hover {
  background: rgba(0,212,255,0.07);
  border-color: rgba(0,212,255,0.22);
  transform: translateX(4px);
}
.fci-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(0,212,255,0.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.fci-label { display: block; font-size: 9.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.fci-val   { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.45; }

/* ── Social icons in footer ── */
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }
.footer-social-icons { display: flex; gap: 8px; }
.fsoc-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: background var(--tr-fast), color var(--tr-fast), transform var(--tr-bounce), border-color var(--tr-fast);
  text-decoration: none;
}
.fsoc-btn:hover { transform: translateY(-3px); }
.fsoc-btn.fb:hover  { background: rgba(24,119,242,0.18); color: #1877f2; border-color: rgba(24,119,242,0.35); }
.fsoc-btn.li:hover  { background: rgba(0,119,181,0.18);  color: #0077b5; border-color: rgba(0,119,181,0.35); }
.fsoc-btn.yt:hover  { background: rgba(255,0,0,0.14);    color: #ff4444; border-color: rgba(255,0,0,0.3); }
.fsoc-btn.rss:hover { background: rgba(255,140,0,0.16);  color: #ff8c00; border-color: rgba(255,140,0,0.32); }

/* ── Footer bottom bar ── */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.3);
  position: relative; z-index: 1;
}
.footer-bar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  min-height: 52px;
}
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.32); }
.footer-bar-links { display: flex; align-items: center; gap: 10px; }
.footer-bar-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.32);
  transition: color var(--tr-fast);
  text-decoration: none;
}
.footer-bar-links a:hover { color: var(--accent); }
.footer-bar-sep { color: rgba(255,255,255,0.18); font-size: 12px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand-col { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-logo-wrap, .footer-tagline, .footer-license { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .site-footer { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; display: block; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-body { padding: 48px 0 36px; }
  .footer-bar-inner { flex-direction: column; text-align: center; padding: 16px 20px; }
  .footer-container { padding: 0 20px; }
}
