/* ═══════════════════════════════════════════════════════════════════════════
   Polarvex — i18n + SEO additions
   INSTRUCCIÓN: pega todo este bloque AL FINAL de tu polarvex.css existente
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Language switcher ─────────────────────────────────────────────────────── */
.pv-lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 0.5px solid rgba(255,255,255,0.15);
}
.pv-lang-form {
  display: flex;
  align-items: center;
  gap: 2px;
}
.pv-lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  font-family: var(--pv-font);
  line-height: 1;
}
.pv-lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.pv-lang-btn--active {
  color: #fff;
  background: rgba(255,255,255,0.14);
  font-weight: 700;
}
.pv-lang-sep {
  color: rgba(255,255,255,0.2);
  font-size: 10px;
  padding: 0 1px;
  pointer-events: none;
}

/* ── FAQ section ───────────────────────────────────────────────────────────── */
.pv-faq {
  display: flex;
  flex-direction: column;
}
.pv-faq-item {
  border-bottom: 0.5px solid var(--pv-border);
  padding: 1.25rem 0;
}
.pv-faq-item:last-child {
  border-bottom: none;
}
.pv-faq-q {
  font-family: var(--pv-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--pv-text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.pv-faq-a {
  font-size: 14px;
  color: var(--pv-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Skip-to-content (accessibility + SEO ranking factor) ──────────────────── */
.pv-skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  background: var(--pv-amber);
  color: #0F2342;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.pv-skip-link:focus {
  top: 0;
}

/* ── Hero eyebrow light variant (for navy sections) ────────────────────────── */
.pv-eyebrow-light {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pv-amber);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ── Nav responsive: hide lang switcher label on small screens ─────────────── */
@media (max-width: 768px) {
  .pv-lang-switcher {
    margin-left: 4px;
    padding-left: 8px;
  }
  .pv-nav__links {
    gap: 0.75rem;
  }
}

/* ── Benefit cards: ensure icons stay round on any bg ─────────────────────── */
.pv-benefit-card__icon {
  flex-shrink: 0;
  border-radius: 12px;
}

/* ── Section block head: always centered ───────────────────────────────────── */
.pv-section-block__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.pv-section-block__head h2 {
  font-family: var(--pv-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.pv-section-block__sub {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ── Plan cards: tighten description min-height on smaller screens ─────────── */
@media (max-width: 600px) {
  .pv-plan-card__desc {
    min-height: unset;
  }
  .pv-plans-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ── Auth layout language switcher ─────────────────────────────────────────── */
.pv-auth-lang {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 1.25rem;
}
.pv-auth-lang button {
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s;
  font-family: var(--pv-font);
}

/* ── Structured data helpers (visually hidden but indexable) ───────────────── */
.pv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Landing page: section over white/--pv-bg text is dark ────────────────── */
/* These override the hero's white-text defaults for sections with light bg   */
.pv-section-block--alt .pv-section-block__head h2,
.pv-section-block--alt .pv-section-block__head p,
.pv-section-block--alt .pv-step h3,
.pv-section-block--alt .pv-step p {
  color: var(--pv-text) !important;
}

/* Benefit cards have their own white surface background */
.pv-benefit-card {
  background: var(--pv-surface);
  border: 0.5px solid var(--pv-border);
  border-radius: var(--pv-radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pv-benefit-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.pv-benefit-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0.75rem;
  color: var(--pv-text) !important;
}
.pv-benefit-card p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: var(--pv-text-muted) !important;
}
