/* ============================================================
   RR WEB SERVICES — rr-footer.css
   Global site footer — dark theme
   Phase 1.2 — Added trust bar, Products col, Tools col, Book a Call CTA
   ============================================================ */

.footer {
  background: var(--text-primary);
  color: rgba(244,245,247,0.85);
}

/* ── TOP BAND ── */
.footer-topband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px var(--gutter);
  border-bottom: 1px solid rgba(244,245,247,0.08);
}
.footer-topband-left { flex: 1; }
.footer-toptext {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 8px;
}
.footer-toptext em { font-style: italic; font-weight: 300; color: rgba(212,184,130,0.85); }
.footer-topsub {
  font-size: 13.5px;
  color: rgba(244,245,247,0.45);
  line-height: 1.6;
  max-width: 400px;
}
.footer-topctas {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
.footer .btn-p {
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: none;
}
.footer .btn-p:hover { background: var(--canvas); box-shadow: none; color: var(--text-primary) !important; }
.footer .btn-g {
  color: rgba(244,245,247,0.80);
  border-color: rgba(244,245,247,0.22);
}
.footer .btn-g:hover {
  color: #FFFFFF !important;
  border-color: rgba(244,245,247,0.50);
  background: rgba(244,245,247,0.07);
}

/* ── TRUST BAR ── */
.footer-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px var(--gutter);
  border-bottom: 1px solid rgba(244,245,247,0.08);
  flex-wrap: wrap;
}
.footer-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 32px;
  text-align: center;
}
.footer-trust-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #FFFFFF;
  line-height: 1;
}
.footer-trust-lbl {
  font-size: 11px;
  color: rgba(244,245,247,0.35);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 600;
}
.footer-trust-div {
  width: 1px;
  height: 32px;
  background: rgba(244,245,247,0.10);
  flex-shrink: 0;
}

/* ── MAIN COLUMNS ── */
.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr 1.2fr;
  gap: 48px;
  padding: 56px var(--gutter);
  border-bottom: 1px solid rgba(244,245,247,0.08);
}

/* ── BRAND COLUMN ── */
.f-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}
.f-logo span { color: rgba(212,184,130,0.85); }
.f-tagline {
  font-size: 13px;
  color: rgba(244,245,247,0.50);
  line-height: 1.72;
  font-weight: 400;
  margin-bottom: 22px;
  max-width: 280px;
}
.f-auds { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; }
.f-aud {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; color: rgba(244,245,247,0.45);
}
.f-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.f-social { display: flex; gap: 8px; }
.f-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(244,245,247,0.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: rgba(244,245,247,0.45);
  text-decoration: none; transition: all .2s;
}
.f-social a:hover { border-color: rgba(244,245,247,0.35); color: #FFFFFF; background: rgba(244,245,247,0.06); }

/* ── LINK COLUMNS ── */
.f-col-heading {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,245,247,0.35);
  margin-bottom: 18px;
  cursor: default;
}
.f-col-arr { display: none; font-size: 18px; font-weight: 300; color: rgba(244,245,247,0.28); transition: transform .3s; line-height: 1; }
.f-col-body, .f-col-body ul { list-style: none; }
.f-col-body a {
  display: block; font-size: 13px;
  color: rgba(244,245,247,0.58);
  padding: 5px 0; transition: color .2s; text-decoration: none;
}
.f-col-body a:hover { color: #FFFFFF; }
.f-col-body li { padding: 0; }
.f-col-all {
  font-size: 12px !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
  margin-top: 6px;
}
.f-col-all:hover { opacity: .75; color: var(--gold) !important; }

/* Contact column */
.f-ci { display: flex; flex-direction: column; gap: 2px; margin-bottom: 13px; }
.f-cl { font-size: 10px; text-transform: uppercase; letter-spacing: .10em; color: rgba(244,245,247,0.28); font-weight: 600; }
.f-cv { font-size: 13px; color: rgba(244,245,247,0.62); text-decoration: none; transition: color .2s; }
a.f-cv:hover { color: #FFFFFF; }

/* Book a Call button in contact col */
.f-book-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: var(--gold);
  color: #FFFFFF;
  border-radius: var(--r-md);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 3px 12px rgba(212,130,10,0.25);
  margin: 6px 0 12px;
}
.f-book-btn:hover { background: #C4780A; color: #FFFFFF !important; transform: translateY(-1px); }

.f-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; color: rgba(244,245,247,0.28); font-weight: 400;
}
.f-bdot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: rr-pulse 3s ease-in-out infinite; }
@keyframes rr-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── BOTTOM BAR ── */
.footer-bot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px var(--gutter); flex-wrap: wrap;
}
.f-copy { font-size: 12px; color: rgba(244,245,247,0.25); }
.f-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.f-legal a { font-size: 12px; color: rgba(244,245,247,0.28); text-decoration: none; transition: color .2s; }
.f-legal a:hover { color: rgba(244,245,247,0.65); }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
  .f-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; }
  .f-tagline { max-width: 100%; }
}
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; display: block; }
  .footer-trust-item { padding: 8px 20px; }
}
@media (max-width: 900px) {
  .footer-topband { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
  .footer-topctas { width: 100%; }
  .footer-topctas .btn-p, .footer-topctas .btn-g { flex: 1; justify-content: center; text-align: center; }
  .footer-trust { justify-content: flex-start; padding: 16px 24px; gap: 0; }
  .footer-trust-item { padding: 8px 16px; }
  .footer-main { grid-template-columns: 1fr; gap: 0; padding: 24px; }
  .f-brand { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(244,245,247,0.08); }
  .f-col { border-top: 1px solid rgba(244,245,247,0.08); }
  .f-col-heading { padding: 16px 0; margin-bottom: 0; cursor: pointer; }
  .f-col-arr { display: block; }
  .f-col-body { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
  .f-col-body.open { max-height: 500px; padding-bottom: 16px; }
  .f-col-heading[aria-expanded="true"] .f-col-arr { transform: rotate(45deg); }
  .footer-bot { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px; }
  .f-legal { gap: 16px; }
}
@media (max-width: 600px) {
  .footer-trust { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-trust-div { display: none; }
  .footer-trust-item { padding: 10px 16px; align-items: flex-start; }
}
