/*
 *  PropertyVisibles — Footer
 *  Source of truth: homepage-concept.html
 *  Shared across ALL pages
 *
 *  Uses pv-foot-* classes matching footer.php output.
 *  Original foot-* selectors kept for concept HTML compatibility.
 */

/* ═══ PARENT THEME FOOTER SUPPRESSION ═══ */
/* Hide ALL parent-theme footer elements that interfere */
.site-footer,
.ert_footer_area,
.ert-footer,
.ert_footer,
.footer-widgets,
.site-info,
#colophon {
  display: none !important;
}

/* Hide any oversized elements from parent theme leaking into footer */
#pv-footer ~ *:not(#pv-wp-footer-hooks):not(script):not(link):not(style) {
  display: none !important;
}

/* ═══ FOOTER — MAIN STYLES ═══ */
#pv-footer,
footer:not(.site-footer):not(.ert-footer) {
  background: #1A1916;
  color: rgba(240,237,232,.5);
  padding: 4rem 0 0;
  margin-top: 0;
  transition: background .3s;
  position: relative;
  z-index: 10;
}
[data-theme="dark"] #pv-footer { background: #111; }

/* ── Grid Layout (5-col) ── */
.pv-foot-inner,
.foot-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ── Brand column ── */
.pv-foot-logo,
.foot-logo {
  display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
}
.pv-foot-logo .pv-logo-text,
.foot-logo .logo-text {
  font-size: .95rem; font-weight: 600;
  color: rgba(240,237,232,.85); letter-spacing: -.01em;
}
.pv-foot-logo .pv-logo-accent,
.foot-logo .logo-accent {
  color: var(--orange);
}
.pv-foot-logo svg .dark-part,
.foot-logo svg .dark-part {
  fill: rgba(240,237,232,.85);
}

.pv-foot-tagline,
.foot-tagline {
  font-family: 'Inter', sans-serif;
  font-size: .73rem; line-height: 1.7;
  color: rgba(240,237,232,.4);
  margin-bottom: 1.25rem;
}

/* Contact list */
.pv-foot-contact-list,
.foot-contact-list {
  display: flex; flex-direction: column; gap: .5rem;
}
.pv-foot-contact-item,
.foot-contact-item {
  font-family: 'Inter', sans-serif;
  font-size: .69rem; color: rgba(240,237,232,.45);
  display: flex; align-items: center; gap: .5rem;
  transition: color .2s;
}
.pv-foot-contact-item:hover,
.foot-contact-item:hover { color: rgba(240,237,232,.8); }
.pv-foot-contact-item svg,
.foot-contact-item svg {
  width: 14px; height: 14px;
  color: rgba(240,237,232,.25);
  flex-shrink: 0;
}
.pv-foot-contact-item a,
.foot-contact-item a {
  color: inherit; text-decoration: none;
}

/* Language badges */
.pv-foot-lang-row,
.foot-lang-row {
  display: flex; gap: .35rem; flex-wrap: wrap; margin-top: 1.25rem;
}
.pv-foot-lang-badge,
.foot-lang-badge {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 500; letter-spacing: .08em;
  padding: .2rem .55rem; border-radius: 20px;
  background: rgba(255,255,255,.06);
  color: rgba(240,237,232,.45);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: all .2s;
}
.pv-foot-lang-badge:hover,
.foot-lang-badge:hover {
  background: rgba(255,255,255,.12);
  color: rgba(240,237,232,.7);
}

/* ── Column headings ── */
.pv-foot-col-title,
.foot-col-title {
  font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(240,237,232,.3);
  margin-bottom: .9rem;
}

/* ── Link lists ── */
.pv-foot-links,
.foot-links {
  list-style: none; display: flex; flex-direction: column; gap: .45rem;
  padding: 0; margin: 0;
}
.pv-foot-links li a,
.foot-links li a {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; color: rgba(240,237,232,.45);
  text-decoration: none; transition: color .2s;
}
.pv-foot-links li a:hover,
.foot-links li a:hover { color: var(--orange); }

/* ── Newsletter (in footer) ── */
.pv-foot-nl-title,
.foot-nl-title {
  font-size: .8rem; font-weight: 500;
  color: rgba(240,237,232,.75); margin-bottom: .35rem;
  letter-spacing: -.01em;
}
.pv-foot-nl-sub,
.foot-nl-sub {
  font-family: 'Inter', sans-serif;
  font-size: .68rem; color: rgba(240,237,232,.35);
  margin-bottom: 1rem; line-height: 1.6;
}
.pv-foot-nl-form,
.foot-nl-form { display: flex; gap: 0; }
.pv-foot-nl-input,
.foot-nl-input {
  flex: 1; padding: .55rem .85rem;
  border: 1px solid rgba(255,255,255,.1); border-right: none;
  border-radius: 3px 0 0 3px;
  background: rgba(255,255,255,.05);
  color: rgba(240,237,232,.85);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .71rem;
  outline: none;
}
.pv-foot-nl-input:focus,
.foot-nl-input:focus { border-color: var(--orange); }
.pv-foot-nl-input::placeholder,
.foot-nl-input::placeholder { color: rgba(240,237,232,.25); }
.pv-foot-nl-btn,
.foot-nl-btn {
  background: var(--orange); color: #fff; border: none;
  padding: 0 1.1rem; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .7rem; font-weight: 500; cursor: pointer;
  border-radius: 0 3px 3px 0; transition: background .2s; white-space: nowrap;
}
.pv-foot-nl-btn:hover,
.foot-nl-btn:hover { background: var(--orange-dark); }

/* ── Bottom bar ── */
.pv-foot-bottom,
.foot-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.pv-foot-copy,
.foot-copy {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; color: rgba(240,237,232,.25);
}
.pv-foot-legal-links,
.foot-legal-links { display: flex; gap: 1.25rem; }
.pv-foot-legal-links a,
.foot-legal-links a {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; color: rgba(240,237,232,.25);
  text-decoration: none; transition: color .2s;
}
.pv-foot-legal-links a:hover,
.foot-legal-links a:hover { color: rgba(240,237,232,.6); }
.pv-foot-cif,
.foot-cif {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; color: rgba(240,237,232,.18);
  letter-spacing: .04em;
}
