/* ======================================================
   PALAU FOOTER — negro, unificado con palau-theme.css
   ====================================================== */
.pv-footer {
  --pv-f-bg:        #141414;
  --pv-f-bg-alt:    #1b1b1b;
  --pv-f-text:      var(--palau-bg, #F2F3F4);
  --pv-f-muted:     rgba(242, 243, 244, 0.55);
  --pv-f-line:      rgba(242, 243, 244, 0.14);
  --pv-f-p1:        var(--palau-p1, #759BA3);
  --pv-f-grad:      var(--gradient-accent, linear-gradient(90deg, #759BA3, #A5899E, #F9B882));
  --pv-f-radius:    4px;
  --pv-f-radius-lg: 12px;

  font-family: "Montserrat", sans-serif;
  background: var(--pv-f-bg);
  color: var(--pv-f-text);
}

.pv-footer a { color: inherit !important; }

.pv-footer .screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- fila superior ---------- */
.pv-footer__top { padding: 72px 20px 56px; }
.pv-footer__inner {
  max-width: var(--max-content-width, 90%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(280px, 1.4fr) 1fr 1fr 1fr; gap: 48px;
}

/* --- marca / newsletter --- */
.pv-footer__eyebrow {
  display: block; font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--pv-f-p1); margin-bottom: 14px;
}
.pv-footer__heading {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 12px; color: var(--pv-f-text);
}
.pv-footer__lead {
  font-size: 0.9rem; line-height: 1.7; color: var(--pv-f-muted);
  margin: 0 0 28px; max-width: 360px;
}

/* --- FORMULARIO HTML PURO --- */
.pv-footer__form-row {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(242, 243, 244, 0.3);
  padding-bottom: 10px; margin-bottom: 16px;
  transition: border-color 0.25s ease;
}
.pv-footer__form-row:focus-within { border-color: var(--pv-f-p1); }

.pv-footer__form-row .pv-footer__email {
  flex: 1; width: 100%; background: transparent; border: none;
  color: var(--pv-f-text); font-family: "Montserrat", sans-serif;
  font-size: 0.95rem; padding: 6px 0;
}
.pv-footer__form-row .pv-footer__email::placeholder { color: var(--pv-f-muted); }
.pv-footer__form-row .pv-footer__email:focus { outline: none; }

.pv-footer__form-row .pv-footer__submit-btn {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(242, 243, 244, 0.3); background: transparent;
  color: var(--pv-f-text); display: flex; align-items: center;
  justify-content: center; cursor: pointer; padding: 0;
  transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.pv-footer__form-row .pv-footer__submit-btn svg { width: 16px; height: 16px; }
.pv-footer__form-row .pv-footer__submit-btn:hover {
  transform: scale(1.08); background: var(--pv-f-grad);
  border-color: transparent; color: #141414;
}
.pv-footer__form-row .pv-footer__submit-btn:disabled {
  opacity: 0.5; cursor: default; transform: none;
  background: transparent; color: var(--pv-f-text);
}

.pv-footer__form-name {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(242, 243, 244, 0.15);
  color: var(--pv-f-text); font-family: "Montserrat", sans-serif;
  font-size: 0.85rem; padding: 6px 0; margin-top: 8px;
}
.pv-footer__form-name::placeholder { color: var(--pv-f-muted); }
.pv-footer__form-name:focus { outline: none; border-color: var(--pv-f-p1); }

.pv-footer__form-msg {
  min-height: 1.2em; margin: 12px 0 0; font-size: 0.78rem; letter-spacing: 0.02em;
}
.pv-footer__form-msg.is-success { color: var(--palau-p4, #9DAF92); }
.pv-footer__form-msg.is-error { color: var(--palau-p2, #F9B882); }

/* --- columnas de navegación --- */
.pv-footer__col-title {
  display: block; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--pv-f-muted); margin-bottom: 20px;
}
.pv-footer__col-title--spaced { margin-top: 28px; }
.pv-footer__menu { list-style: none; margin: 0; padding: 0; }
.pv-footer__menu li { margin-bottom: 12px; }
.pv-footer__menu a {
  position: relative; display: inline-block; font-size: 0.9rem;
  color: #ccc !important; text-decoration: none; padding-bottom: 3px;
  transition: color 0.3s ease;
}
.pv-footer__menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--pv-f-grad); transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pv-footer__menu a:hover { color: var(--pv-f-text) !important; }
.pv-footer__menu a:hover::after { width: 100%; }

/* --- social + pagos --- */
.pv-footer__social { display: flex; gap: 14px; margin-bottom: 8px; }
.pv-footer__social a { display: inline-flex; width: 20px; height: 20px; transition: transform 0.2s ease; }
.pv-footer__social a svg { width: 100%; height: 100%; fill: currentColor; }
.pv-footer__social a:hover { transform: scale(1.12); color: var(--pv-f-p1) !important; }
.pv-footer__payments { display: flex; gap: 16px; opacity: 0.6; }
.pv-footer__payments svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- franja partners ---------- */
.pv-footer__partners {
  background: var(--pv-f-bg-alt); border-top: 1px solid var(--pv-f-line);
  border-bottom: 1px solid var(--pv-f-line); padding: 28px 20px;
}
.pv-footer__partners-inner {
  max-width: var(--max-content-width, 90%); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 32px;
}
.pv-footer__partner-logo { display: flex; align-items: center; justify-content: center; width: 140px; height: 44px; }
.pv-footer__partners-inner img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: grayscale(1) brightness(0) invert(1); opacity: 0.55; transition: opacity 0.3s ease;
}
.pv-footer__partners-inner img:hover { opacity: 1; }
.footer-scale-1 { transform: scale(1.5); }

/* ---------- barra inferior ---------- */
.pv-footer__bottom { padding: 24px 20px 32px; text-align: center; }
.pv-footer__divider {
  display: block; width: 64px; height: 2px; background: var(--pv-f-grad);
  border-radius: 2px; margin: 0 auto 18px;
}
.pv-footer__copy { margin: 0; font-size: 0.78rem; letter-spacing: 0.02em; color: var(--pv-f-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pv-footer__inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pv-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pv-footer__top { padding: 56px 20px 40px; }
  .pv-footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .pv-footer__partners-inner { gap: 24px; }
  .pv-footer__partner-logo { width: 110px; height: 36px; }
}