/* ═══ Oferta USCIS $250 + aviso de WhatsApp ═══
   Componente compartido por index.html y uscis-interpreter-tampa.html.
   Cada página puede ajustar el color de acento con --of-accent / --of-accent-ink. */

.of-section {
  --of-accent: #D99B26;
  --of-accent-ink: #0F2942;
  --of-surface: #122140;
  --of-border: rgba(217,155,38,0.45);
  --of-text: #FFFFFF;
  --of-muted: #B7C7D9;
  --of-wa: #15803D;
  --of-wa-hover: #12692F;
  padding: 44px 0;
}
.of-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--of-surface);
  border: 2px solid var(--of-accent);
  border-radius: 16px;
  padding: 30px 26px;
  color: var(--of-text);
  box-shadow: 0 10px 34px rgba(0,0,0,0.35);
}
.of-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--of-accent);
  margin-bottom: 10px;
}
.of-title {
  font-family: 'Barlow', 'Noto Sans', sans-serif;
  font-size: clamp(1.5rem, 4.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--of-text);
  letter-spacing: 0;
}
.of-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}
.of-regular { font-size: 1rem; color: var(--of-muted); font-weight: 600; flex-basis: 100%; }
.of-regular s { text-decoration-thickness: 2px; }
.of-now { font-size: 1.12rem; font-weight: 700; color: var(--of-text); }
.of-amount {
  font-family: 'Barlow', 'Noto Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--of-accent);
}
.of-save {
  display: inline-block;
  background: var(--of-accent);
  color: var(--of-accent-ink);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.of-terms { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.of-terms li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--of-text);
}
.of-terms li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--of-accent);
  font-weight: 900;
}
.of-terms li span { color: var(--of-muted); }
.of-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--of-wa);
  color: #fff;
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
  border: 2px solid var(--of-wa);
  transition: background 0.2s ease;
}
.of-cta:hover { background: var(--of-wa-hover); border-color: var(--of-wa-hover); color: #fff; }
.of-cta:focus-visible,
.wa-prompt a:focus-visible,
.wa-prompt button:focus-visible,
.of-link:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}
.of-cta svg { flex-shrink: 0; }
.of-instr { margin: 12px 0 4px; text-align: center; font-weight: 700; font-size: 1rem; color: var(--of-text); }
.of-note { margin: 0; text-align: center; font-size: 0.9rem; line-height: 1.5; color: var(--of-muted); }
.of-note a { color: var(--of-text); font-weight: 700; }
.of-fine {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--of-border);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--of-muted);
}
.of-fine strong { color: var(--of-text); }

/* Cómo reservar */
.of-steps-title { font-size: 1.1rem; font-weight: 800; margin: 24px 0 12px; color: var(--of-text); }
.of-steps { list-style: none; counter-reset: ofpaso; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.of-steps li {
  counter-increment: ofpaso;
  position: relative;
  padding: 12px 14px 12px 54px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--of-text);
}
.of-steps li::before {
  content: counter(ofpaso);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--of-accent);
  color: var(--of-accent-ink);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enlace corto hacia la oferta (hero) */
.of-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--of-border, rgba(217,155,38,0.45));
  background: rgba(217,155,38,0.10);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.of-link strong { color: var(--of-accent, #E8B040); }

@media (max-width: 480px) {
  .of-section { padding: 32px 0; }
  .of-card { padding: 24px 16px; }
  .of-cta { font-size: 1rem; padding: 14px 16px; text-align: center; }
  .of-amount { font-size: 2.3rem; }
}
@media (min-width: 720px) {
  .of-card { padding: 36px 40px; }
  .of-cta { width: auto; display: inline-flex; }
  .of-cta-wrap { text-align: center; }
}

/* ═══ Aviso de chat (no bloquea el contenido) ═══ */
.wa-prompt {
  position: fixed;
  right: 16px;
  bottom: var(--wa-prompt-bottom, 88px);
  z-index: 999;
  width: min(340px, calc(100% - 32px));
  background: #0F2942;
  color: #FFFFFF;
  border: 1px solid rgba(217,155,38,0.6);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.wa-prompt[hidden] { display: none; }
.wa-prompt-title { font-size: 1rem; font-weight: 800; margin: 0 0 6px; line-height: 1.3; color: #FFFFFF; }
.wa-prompt-text { font-size: 0.92rem; line-height: 1.5; margin: 0 0 12px; color: #D8E8F4; }
.wa-prompt-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wa-prompt-go {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #15803D;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}
.wa-prompt-go:hover { background: #12692F; color: #FFFFFF; }
.wa-prompt-no {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: #D8E8F4;
  border: 1px solid rgba(216,232,244,0.4);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
.wa-prompt-no:hover { color: #FFFFFF; border-color: #FFFFFF; }
.wa-prompt-foot { margin: 10px 0 0; font-size: 0.8rem; line-height: 1.4; color: #B7C7D9; }

@media (prefers-reduced-motion: no-preference) {
  .wa-prompt { transition: opacity 0.25s ease, transform 0.25s ease; opacity: 0; transform: translateY(8px); }
  .wa-prompt.is-visible { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .wa-prompt { right: 12px; width: calc(100% - 24px); }
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
