/* ==========================================================================
   Private Vaults — Footer
   Self-contained, same convention as the menu bar: every colour falls back to
   the Private Vaults palette but inherits the page's own tokens (--ink,
   --panel, --gold …) when they exist, so it stays in step if you retheme.

   The classes below are what the Elementor footer template hooks onto. Edit
   the CONTENT in Elementor; edit the LOOK here.
   ========================================================================== */

.pvf-root{
  --f-ink:var(--ink,#111925);
  --f-panel:var(--panel,#1A2331);
  --f-line:var(--line,#2C3749);
  --f-gold:var(--gold,#C9A961);
  --f-gold-hi:var(--gold-hi,#E4CE93);
  --f-steel:var(--steel,#94A0B2);
  --f-fog:var(--fog,#D3DAE4);
  --f-display:var(--display,"Space Grotesk",system-ui,sans-serif);
  --f-mono:var(--mono,"JetBrains Mono",ui-monospace,monospace);
  --f-pad:clamp(20px,5vw,64px);
  background:var(--f-panel);
  border-top:1px solid var(--f-line);
  position:relative;
  z-index:1;
}
.pvf-root *,.pvf-root *::before,.pvf-root *::after{box-sizing:border-box}

/* --- shell ---------------------------------------------------------------
   Used by the built-in fallback footer. The Elementor template supplies its
   own section/columns, so it only needs the element styles further down. */
.pvf-inner{width:min(1240px,100%);margin-inline:auto;padding:64px var(--f-pad) 0}
.pvf-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;
  gap:clamp(28px,4vw,56px);padding-bottom:48px}

/* --- brand column ---------------------------------------------------------
   Centred, with the full logo lockup at a size where the tagline under the
   mark is readable. The link columns beside it stay left-aligned. */
.pvf-logo,.pvf-root .pvf-logo img{display:block}
.pvf-root .pvf-logo img{height:44px;width:auto;margin-bottom:20px}
.pvf-blurb,.pvf-root .pvf-blurb p{
  margin:0;color:var(--f-steel);font-size:14.5px;line-height:1.6;max-width:40ch}

.pvf-brand{text-align:center}
.pvf-root .pvf-brand .pvf-logo img{
  width:210px;height:auto;max-width:100%;margin:0 auto 22px}
.pvf-brand .pvf-blurb,.pvf-root .pvf-brand .pvf-blurb p{
  max-width:34ch;margin-inline:auto;text-align:center}
@media(max-width:1024px){
  .pvf-root .pvf-brand .pvf-logo img{width:180px}
}

/* --- column headings ------------------------------------------------------
   Works whether the heading is a plain <h3 class="pvf-h"> in the fallback or
   an Elementor heading widget carrying .pvf-h on the widget wrapper. */
.pvf-h,.pvf-h .elementor-heading-title{
  font-family:var(--f-mono);font-size:10.5px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--f-gold);font-weight:500;margin:0}
/* keep them gold even if a theme colours headings */
.pvf-h .elementor-heading-title,
.pvf-root h1.pvf-h,.pvf-root h2.pvf-h,.pvf-root h3.pvf-h{color:var(--f-gold)}
.pvf-h,.pvf-section .pvf-h{margin-bottom:18px}

/* --- link lists -----------------------------------------------------------
   Covers a plain <ul> and Elementor's icon-list widget. */
.pvf-list ul,.pvf-list .elementor-icon-list-items{
  list-style:none;padding:0;margin:0;display:grid;gap:11px}
.pvf-list li,.pvf-list .elementor-icon-list-item{margin:0;list-style:none}
.pvf-list .elementor-icon-list-icon{display:none}
.pvf-list a,.pvf-list .elementor-icon-list-text{
  color:var(--f-steel);font-size:14.5px;text-decoration:none;padding:0}
.pvf-list a:hover,.pvf-list a:hover .elementor-icon-list-text{color:var(--f-gold-hi)}

/* --- address block --------------------------------------------------------- */
.pvf-nap,.pvf-root .pvf-nap p,.pvf-root .pvf-nap address{
  font-style:normal;margin:0;color:var(--f-fog);font-size:14px;line-height:1.7;
  overflow-wrap:anywhere}
.pvf-nap strong,.pvf-nap b{
  display:block;font-family:var(--f-display);font-size:12px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--f-gold);font-weight:600;margin-bottom:6px}
.pvf-nap a{color:var(--f-steel);text-decoration:none}
.pvf-nap a:hover{color:var(--f-gold-hi)}
.pvf-nap a[href^="tel:"]{font-family:var(--f-mono);letter-spacing:.06em;color:#fff}
.pvf-nap p + p{margin-top:16px}
.pvf-nap strong,.pvf-nap b{margin-top:0}

/* --- legal bar ------------------------------------------------------------- */
.pvf-legal{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding-block:26px}
/* The fallback footer draws its own rule; inside the Elementor template the
   section supplies it, so it must not be drawn twice. */
.pvf-inner .pvf-legal{border-top:1px solid var(--f-line)}
.pvf-legalrow .pvf-legal{padding-block:22px}
.pvf-legal,.pvf-legal p,.pvf-legal span,.pvf-legal .elementor-heading-title{
  font-family:var(--f-mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--f-steel);margin:0}
.pvf-legal a{color:var(--f-steel);text-decoration:none}
.pvf-legal a:hover{color:var(--f-gold-hi)}
.pvf-legal-mid{text-align:center}
.pvf-legal-end{text-align:right}

/* --- Elementor bindings ----------------------------------------------------
   When the footer is an Elementor template, these keep its section from
   inheriting page padding and keep the widget rhythm tight. */
.pvf-section>.elementor-container{max-width:1240px;padding-inline:var(--f-pad)}
.pvf-section .elementor-widget{margin-bottom:0}
.pvf-col .elementor-widget-wrap{align-content:start}
.pvf-legalrow>.elementor-container{max-width:1240px;padding-inline:var(--f-pad);
  align-items:center}
/* Exceptions to "widget margin 0" above — these must come after it. */
.pvf-section .pvf-h{margin-bottom:18px}
.pvf-section .pvf-logo{margin-bottom:20px}
.pvf-section .pvf-nap p + p{margin-top:18px}

@media(max-width:1024px){
  .pvf-grid{grid-template-columns:1fr 1fr}
  .pvf-legal-mid,.pvf-legal-end{text-align:left}
}
@media(max-width:600px){
  .pvf-grid{grid-template-columns:1fr}
  .pvf-inner{padding-top:48px}
}
