/* Header y footer únicos de la web pública (views/partials/site-header.ejs y
   site-footer.ejs), con el diseño del home. Clases pz-* y propiedades explícitas
   para que el CSS propio de cada página no los altere. */
@font-face { font-family: 'Pulso Montserrat'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/montserrat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.pz-hd, .pz-ft {
  --pz-ink: #191A19;
  --pz-red: #E82B22;
  --pz-red-ink: #C81E16;
  --pz-red-on-dark: #FF6A61;
  --pz-muted: #595550;
  --pz-stone: #DCD8D5;
  --pz-ft-text: #A79FA6;
  font-family: 'Pulso Montserrat', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}
.pz-hd *, .pz-ft * { box-sizing: border-box; }
.pz-hd a, .pz-ft a { text-decoration: none; background: none; border: 0; box-shadow: none; }
.pz-logo { display: flex; flex: none; padding: 0; margin: 0; }
.pz-logo img { display: block; width: auto; max-width: none; margin: 0; border: 0; }

/* Header */
.pz-hd { position: sticky; top: 0; z-index: 100; display: block; width: auto; margin: 0; padding: 0; color: var(--pz-ink); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 0; border-bottom: 1px solid var(--pz-stone); box-shadow: none; }
.pz-hd-in { max-width: 1120px; height: auto; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pz-hd .pz-logo img { height: 28px; }
.pz-hd-links { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; background: none; border: 0; }
.pz-hd .pz-hd-links a { color: var(--pz-muted); font-size: 14px; font-weight: 500; padding: 4px 0; white-space: nowrap; }
.pz-hd .pz-hd-links a:hover, .pz-hd .pz-hd-links a[aria-current="page"] { color: var(--pz-red-ink); }
.pz-hd .pz-hd-links a[aria-current="page"] { font-weight: 600; }
.pz-hd-ctas { display: flex; align-items: center; gap: 10px; margin: 0; }
.pz-hd .pz-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 999px; background: var(--pz-ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.pz-hd .pz-btn:hover { background: var(--pz-red); color: #fff; transform: translateY(-1px); }
.pz-hd a:focus-visible, .pz-burger:focus-visible, .pz-ft a:focus-visible { outline: 3px solid var(--pz-red); outline-offset: 3px; border-radius: 6px; }
.pz-hd .pz-btn:focus-visible { border-radius: 999px; }

.pz-burger { display: none; flex: none; width: 44px; height: 44px; margin: 0 -8px 0 0; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; border-radius: 10px; cursor: pointer; }
.pz-burger span { display: block; width: 22px; height: 2px; margin: 0; background: var(--pz-ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.pz-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pz-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pz-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pz-menu { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 70px); overflow-y: auto; margin: 0; padding: 4px max(24px, calc((100% - 1072px) / 2)) 20px; background: #fff; border-bottom: 1px solid var(--pz-stone); box-shadow: 0 18px 40px rgba(25, 26, 25, .12); }
.pz-menu[hidden] { display: none; }
.pz-hd .pz-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--pz-ink); font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--pz-stone); }
.pz-hd .pz-menu a[aria-current="page"] { color: var(--pz-red-ink); }
.pz-hd:has(.pz-menu:not([hidden])) { background: #fff; }
.pz-hd .pz-menu .pz-btn { justify-content: center; margin-top: 14px; padding: 14px 20px; font-size: 15px; border-bottom: 0; color: #fff; }

/* "Hablar con un asesor" solo en móvil; ahí "Ingresar" pasa al menú. */
.pz-hd .pz-hd-asesor, .pz-hd .pz-menu .pz-menu-login { display: none; }

@media (max-width: 1023px) {
  .pz-hd-links { display: none; }
  .pz-burger { display: flex; }
}
@media (min-width: 1024px) {
  .pz-menu { display: none; }
}
/* Escritorio angosto: los 6 enlaces no caben junto a los dos botones; el Sprint
   sigue en el pie y en cada página. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .pz-hd .pz-hd-sprint { display: none; }
}
@media (max-width: 720px) {
  .pz-hd-in { padding: 12px 20px; }
  .pz-hd .pz-hd-sprint, .pz-hd .pz-hd-login { display: none; }
  .pz-hd .pz-hd-asesor { display: inline-flex; padding: 10px 16px; }
  .pz-hd .pz-menu .pz-menu-login { display: flex; }
  .pz-menu { padding-inline: 20px; }
}
@media (max-width: 374px) {
  .pz-hd-in { gap: 8px; }
  .pz-hd .pz-logo img { height: 24px; }
  .pz-hd-ctas { gap: 6px; }
  .pz-hd .pz-hd-asesor { padding: 9px 12px; font-size: 13px; }
  .pz-hd .pz-hd-un { display: none; }
}

/* Footer */
.pz-ft { display: block; width: auto; margin: 0; padding: 0; background: var(--pz-ink); color: var(--pz-ft-text); border: 0; border-top: 1px solid #302f2e; }
.pz-ft-in { max-width: 1120px; margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 48px; }
.pz-ft-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pz-ft .pz-logo img { height: 40px; }
.pz-ft-brand p { margin: 0; max-width: 26ch; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.pz-ft .pz-ft-cta { color: var(--pz-red-on-dark); font-size: 14px; font-weight: 600; }
.pz-ft .pz-ft-cta:hover { color: #fff; }
.pz-ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.pz-ft .pz-ft-h { margin: 0 0 12px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pz-ft ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pz-ft li { margin: 0; padding: 0; list-style: none; }
.pz-ft li::before, .pz-ft li::marker { content: none; }
.pz-ft .pz-ft-col a { display: inline-block; padding: 4px 0; color: var(--pz-ft-text); font-size: 14px; font-weight: 500; }
.pz-ft .pz-ft-col a:hover { color: #fff; }
.pz-ft-bottom { max-width: 1120px; margin: 0 auto; padding: 20px 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #302f2e; font-size: 13px; }
.pz-ft .pz-ft-bottom a { color: var(--pz-ft-text); font-weight: 600; }
.pz-ft .pz-ft-bottom a:hover { color: #fff; }
.pz-ft .pz-ft-legal { flex-basis: 100%; margin: 0; color: var(--pz-ft-text); font-size: 12px; line-height: 1.5; }

@media (max-width: 860px) {
  .pz-ft-in { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
}
@media (max-width: 520px) {
  .pz-ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .pz-ft .pz-ft-col a { padding: 2px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pz-hd .pz-btn, .pz-burger span { transition: none; }
  .pz-hd .pz-btn:hover { transform: none; }
}
