/* Rosaifa 4.13.1 — premium footer, brand signature and install surface. */
:root{
  --rf-footer-bg:#f2e8df;
  --rf-footer-surface:#faf5f0;
  --rf-footer-ink:#2b1d17;
  --rf-footer-muted:#75675f;
  --rf-footer-line:rgba(54,37,29,.14);
  --rf-footer-copper:#a7603f;
  --rf-footer-copper-deep:#77442f;
}
.rf-site-footer{
  background:var(--rf-footer-bg);
  color:var(--rf-footer-ink);
  border-top:1px solid rgba(255,255,255,.7);
  box-shadow:inset 0 1px 0 rgba(43,29,23,.025);
  padding:0 0 24px;
  position:relative;
}
.rf-site-footer::before{
  background:linear-gradient(90deg,transparent,rgba(167,96,63,.32),transparent);
  content:"";
  height:1px;
  left:8%;
  position:absolute;
  right:8%;
  top:0;
}
.rf-footer-signature{
  align-items:end;
  border-bottom:1px solid var(--rf-footer-line);
  display:grid;
  gap:42px;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);
  padding:clamp(42px,5.5vw,76px) 0 clamp(34px,4.5vw,58px);
}
.rf-footer-wordmark{
  color:var(--rf-footer-copper-deep);
  display:inline-block;
  font-family:var(--rf-serif,Georgia,serif);
  font-size:clamp(58px,7.2vw,104px);
  font-weight:400;
  letter-spacing:-.065em;
  line-height:.82;
  text-decoration:none;
}
.rf-footer-wordmark:hover{color:#5f3324}
.rf-footer-signature-copy>p{
  color:var(--rf-footer-muted);
  font-size:clamp(14px,1.3vw,17px);
  line-height:1.6;
  margin:20px 0 0;
  max-width:520px;
}
.rf-footer-proof{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px}
.rf-footer-proof a{
  align-items:center;
  color:var(--rf-footer-ink);
  display:inline-flex;
  font-size:11px;
  font-weight:700;
  gap:8px;
  letter-spacing:.025em;
  text-decoration:none;
}
.rf-footer-proof a::before{background:var(--rf-footer-copper);border-radius:50%;content:"";height:5px;width:5px}
.rf-footer-proof a:hover{text-decoration:underline;text-underline-offset:4px}
.rf-footer-install-wrap{justify-self:end;max-width:360px;width:100%}
.rf-install-app{
  align-items:center;
  background:rgba(255,255,255,.56);
  border:1px solid rgba(73,48,37,.14);
  border-radius:20px;
  box-shadow:0 16px 42px rgba(70,43,29,.06);
  color:var(--rf-footer-ink);
  cursor:pointer;
  display:grid;
  gap:13px;
  grid-template-columns:44px minmax(0,1fr) auto;
  min-height:76px;
  padding:13px 16px;
  text-align:left;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
  width:100%;
}
.rf-install-app:hover{background:rgba(255,255,255,.86);border-color:rgba(119,68,47,.28);box-shadow:0 18px 48px rgba(70,43,29,.09);transform:translateY(-1px)}
.rf-install-app-icon{align-items:center;background:var(--rf-footer-ink);border-radius:14px;color:#fff;display:flex;height:44px;justify-content:center;width:44px}
.rf-install-app-copy{display:grid;gap:2px;min-width:0}
.rf-install-app-copy small{color:var(--rf-footer-muted);font-size:8px;font-weight:800;letter-spacing:.14em}
.rf-install-app-copy strong{font-size:14px;font-weight:760;letter-spacing:-.01em}
.rf-install-app-arrow{color:var(--rf-footer-copper-deep);font-size:17px}
.rf-install-app.is-ready .rf-install-app-icon{background:var(--rf-footer-copper-deep)}
.rf-install-help{color:var(--rf-footer-muted);font-size:11px;line-height:1.55;margin:10px 6px 0}
.rf-footer-grid{
  gap:clamp(28px,4vw,54px);
  grid-template-columns:1.45fr repeat(3,1fr);
  padding-top:clamp(32px,4vw,52px);
}
.rf-footer-brand{align-self:start}
.rf-footer-kicker{color:var(--rf-footer-copper-deep);font-size:9px;font-weight:850;letter-spacing:.16em;margin-bottom:12px}
.rf-site-footer .rf-footer-brand p{color:var(--rf-footer-muted);font-size:13px;line-height:1.65;margin:0;max-width:300px}
.rf-site-footer .rf-footer-col h3{color:var(--rf-footer-ink);font-size:11px;font-weight:850;letter-spacing:.14em}
.rf-site-footer .rf-footer-menu{gap:6px}
.rf-site-footer .rf-footer-menu a,
.rf-site-footer .rf-footer-contact-mini a{color:#65574f;text-decoration:none}
.rf-site-footer .rf-footer-menu a:hover,
.rf-site-footer .rf-footer-contact-mini a:hover{color:var(--rf-footer-ink)}
.rf-site-footer .rf-social-links{gap:7px;margin-top:18px}
.rf-site-footer .rf-social-links a{
  background:rgba(255,255,255,.36);
  border:1px solid var(--rf-footer-line);
  color:#5f5048;
  font-size:11px;
  padding:7px 10px;
}
.rf-site-footer .rf-social-links a:hover{background:#fff;color:var(--rf-footer-ink)}
.rf-site-footer .rf-footer-extra{border-top-color:var(--rf-footer-line)}
.rf-site-footer .rf-footer-bottom{
  align-items:center;
  border-top:1px solid var(--rf-footer-line);
  color:#887a72;
  font-size:11px;
  margin-top:clamp(34px,4vw,50px);
  padding-top:20px;
}
.rf-footer-bottom-note{letter-spacing:.035em}

/* The preceding homepage standard is intentionally dark; the footer switches
   to warm ivory so the section boundary is deliberate rather than muddy. */
.rf-front-page .rf-authenticity-v2 + .rf-site-footer,
.rf-front-page main + .rf-site-footer{border-top-color:#e3d3c6}

@media(max-width:960px){
  .rf-footer-signature{align-items:start;grid-template-columns:1fr;gap:26px}
  .rf-footer-install-wrap{justify-self:start;max-width:390px}
  .rf-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rf-footer-brand{grid-column:1/-1}
}
@media(max-width:760px){
  .rf-site-footer{padding-bottom:max(104px,calc(92px + env(safe-area-inset-bottom)))}
  .rf-footer-signature{gap:24px;padding:38px 0 30px}
  .rf-footer-wordmark{font-size:clamp(56px,18vw,76px);letter-spacing:-.06em}
  .rf-footer-signature-copy>p{font-size:14px;margin-top:16px;max-width:34ch}
  .rf-footer-proof{gap:7px 14px;margin-top:18px}
  .rf-footer-proof a{font-size:10px}
  .rf-footer-install-wrap{max-width:none}
  .rf-install-app{border-radius:17px;min-height:70px;padding:11px 13px}
  .rf-install-app-icon{border-radius:12px;height:42px;width:42px}
  .rf-site-footer .rf-footer-grid{display:block;padding-top:28px}
  .rf-site-footer .rf-footer-brand{margin-bottom:22px}
  .rf-footer-kicker{margin-bottom:9px}
  .rf-site-footer .rf-footer-brand p{font-size:13px;max-width:31ch}
  .rf-site-footer .rf-footer-disclosure{border-top:1px solid var(--rf-footer-line)}
  .rf-site-footer .rf-footer-disclosure:last-of-type{border-bottom:1px solid var(--rf-footer-line)}
  .rf-site-footer .rf-footer-disclosure>summary{color:var(--rf-footer-ink);min-height:54px}
  .rf-site-footer .rf-footer-disclosure>summary::after{color:var(--rf-footer-copper-deep);font-size:19px}
  .rf-site-footer .rf-footer-menu a{font-size:14px;padding-block:6px}
  .rf-site-footer .rf-footer-bottom{font-size:11px;gap:7px;margin-top:34px}
}
@media(max-width:420px){
  .rf-footer-proof{display:grid;gap:8px}
  .rf-install-app{grid-template-columns:42px minmax(0,1fr) auto}
  .rf-footer-bottom-note{display:none}
}
.woocommerce-checkout:not(.woocommerce-order-received) .rf-footer-signature{display:none}
.woocommerce-checkout:not(.woocommerce-order-received) .rf-site-footer{padding-top:22px}
@media(prefers-reduced-motion:reduce){.rf-install-app{transition:none}}
