/* Guía VERI*FACTU (/es/verifactu-factura-electronica). Builds on autonomos_landing.css tokens. */
.vf-guide { --vf-green: #0f7b55; --vf-amber: #b45309; }

.vf-eyebrow {
  display: inline-block;
  margin-block-end: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--aut-violet-soft);
  color: var(--aut-violet);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.vf-hero__title.aut-hero__title.caract-hero__title {
  max-inline-size: 22ch;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

/* Estado box */
.vf-status {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 2px solid var(--aut-violet);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 2rem 4rem rgb(16 3 163 / 0.16);
}

.vf-status::before {
  content: "";
  position: absolute;
  inset-block-start: -2px;
  inset-inline: 2rem;
  block-size: 0.35rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: var(--aut-coral);
}

.vf-status__head { display: flex; align-items: center; gap: 0.7rem; margin-block-end: 1rem; }

.vf-status__dot {
  inline-size: 0.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--aut-coral);
  box-shadow: 0 0 0 0.35rem rgb(240 105 135 / 0.2);
  animation: vf-pulse 2.4s ease-in-out infinite;
}

@keyframes vf-pulse {
  50% { box-shadow: 0 0 0 0.6rem rgb(240 105 135 / 0.06); }
}

.vf-status__title {
  margin: 0;
  color: var(--aut-ink);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.vf-status__text { margin-block-end: 0.75rem; line-height: 1.6; }

.vf-status__dates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.vf-status__dates > div {
  padding: 0.75rem;
  border-radius: 0.8rem;
  background: var(--aut-canvas);
  border: 1px solid var(--aut-violet-soft);
}

.vf-status__dates dt { font-size: 0.78rem; color: var(--aut-muted); line-height: 1.3; }
.vf-status__dates dd { margin: 0.25rem 0 0; color: var(--aut-violet); font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; }
.vf-status__announced { border-style: dashed !important; }
.vf-status__announced dd { color: var(--aut-muted); }

.vf-status__note { margin: 0; font-size: 0.88rem; color: var(--aut-muted); }
.vf-status__note a { color: var(--aut-violet); font-weight: 700; }

/* Cards */
.vf-cards { display: grid; gap: 1.25rem; }
.vf-center { max-inline-size: 46rem; margin-inline: auto; text-align: center; }
.vf-advice { margin-block-start: 2rem; font-weight: 700; color: var(--aut-ink); }
.aut-title--center + .vf-center { margin-block: -1.5rem 2.5rem; }

/* Prose */
.vf-prose { max-inline-size: 52rem; }
.vf-prose .aut-lead a { color: var(--aut-violet); font-weight: 700; }

.vf-callout {
  padding: 1.25rem 1.5rem;
  border-inline-start: 0.3rem solid var(--aut-violet);
  border-radius: var(--radius-md, 0.75rem);
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgb(16 3 163 / 0.07);
}

/* Calendar table */
.vf-calendar a { color: var(--aut-violet); font-weight: 600; }
.vf-calendar .autonomos-table__highlight { font-family: var(--font-heading); }
.vf-calendar__announced { color: var(--aut-muted); font-style: italic; }
.vf-table-note { margin: 1rem 0 0; text-align: center; font-size: 0.9rem; color: var(--aut-muted); }

/* Checklist */
.vf-checklist {
  list-style: none;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--aut-border);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.5rem 3.5rem rgb(16 3 163 / 0.1);
  counter-reset: vf;
}

.vf-checklist__item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  background: var(--aut-canvas);
  line-height: 1.5;
  color: var(--aut-ink);
}

.autonomos-landing .vf-checklist__item svg {
  flex: none;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  padding: 0.25rem;
  stroke-width: 3;
  border-radius: 50%;
  background: var(--aut-violet);
  color: #fff;
}

.vf-checklist__item a { color: var(--aut-violet); font-weight: 700; }

/* Product shots */
.vf-shots { display: grid; gap: 1.25rem; margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.vf-shot { margin: 0; }
.vf-shot .aut-card__media img { block-size: 100%; }
.aut-row__copy .aut-row__text a { color: var(--aut-violet); font-weight: 700; }

/* Pricing card */
.vf-plan__name { margin: 0 0 0.5rem; font-family: var(--font-heading); font-weight: 800; color: var(--aut-coral); text-transform: uppercase; letter-spacing: 0.05em; }
.vf-plan__price { margin: 0; color: var(--aut-ink); font-size: 1.1rem; }
.vf-plan__price strong { color: var(--aut-violet); font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 850; }
.vf-plan__alt { margin: 0.5rem 0 0; color: var(--aut-muted); }

/* Sources */
.vf-sources { display: grid; gap: 0.6rem; padding-inline-start: 1.25rem; }
.vf-sources a { color: var(--aut-violet); font-weight: 600; overflow-wrap: anywhere; }
.vf-review { margin-block-start: 1.5rem; color: var(--aut-muted); }

@media (max-width: 47.99rem) {
  .vf-status__dates { grid-template-columns: minmax(0, 1fr); }
  .vf-calendar thead { display: none; }
  .vf-calendar, .vf-calendar tbody, .vf-calendar tr, .vf-calendar th, .vf-calendar td { display: block; }
  .vf-calendar tr { padding-block: 0.5rem; border-block-end: 1px solid var(--aut-violet-soft); }
  .vf-calendar tbody tr:last-child { border-block-end: 0; }
  .vf-calendar th, .vf-calendar td { border: 0 !important; padding-block: 0.35rem; }
  .vf-calendar td::before { content: attr(data-label) ": "; color: var(--aut-muted); font-weight: 600; font-size: 0.85rem; }
}

@media (min-width: 40rem) {
  .vf-cards, .vf-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .vf-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vf-guide .aut-hero__layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

@media (prefers-reduced-motion: reduce) {
  .vf-status__dot { animation: none; }
}
