/* WooContable: shared brand, stronger contrast and progressive motion. */
.wf-accounting { --wf-accounting-muted: #536079; color: var(--wf-brand-primary); }
.wf-accounting-context { background: #fff; border-bottom: 1px solid #e3def0; }
.wf-accounting-context > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wf-accounting-breadcrumb { display: flex; gap: 10px; white-space: nowrap; font-size: .8rem; font-weight: 600; }
.wf-accounting-breadcrumb a { color: var(--wf-brand-violet); text-decoration: none; }
.wf-accounting-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 8px 3px; }
.wf-accounting-nav a { color: var(--wf-brand-primary); text-decoration: none; font-size: .8rem; font-weight: 650; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.wf-accounting-nav a:hover, .wf-accounting-nav a:focus-visible { color: var(--wf-brand-violet); background: #f0edff; }
.wf-accounting section { scroll-margin-top: 100px; }
.wf-accounting .wf-feature-section, .wf-accounting .wf-module-section, .wf-accounting .wf-pricing-section, .wf-accounting .wf-faq-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.wf-accounting .wf-section-heading { max-width: 760px; }
.wf-accounting .wf-section-heading h2, .wf-accounting .wf-module-copy h2 { font-size: clamp(1.85rem, 3vw, 2.85rem); line-height: 1.16; }
.wf-accounting .wf-section-heading > p:last-child, .wf-accounting .wf-section-intro, .wf-accounting .wf-feature-card p, .wf-accounting .wf-feature-details, .wf-accounting .wf-faq-description, .wf-accounting .accordion-body { color: var(--wf-accounting-muted); }
.wf-accounting .wf-eyebrow { color: var(--wf-brand-violet); }
.wf-accounting .wf-eyebrow span { background: var(--wf-brand-magenta); height: 3px; border-radius: 3px; }

/* White canvas: contrast belongs to typography, cards and actions. */
.wf-accounting .wf-hero { padding: 48px 0 56px; color: var(--wf-brand-primary); background: #fff; }
.wf-accounting .wf-hero::before { display: none; }
.wf-accounting .wf-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; min-height: 0; padding-block: 12px; }
.wf-accounting .wf-hero h1 { color: var(--wf-brand-primary); font-size: clamp(2.25rem, 3.6vw, 3.2rem); line-height: 1.1; letter-spacing: -.045em; }
.wf-accounting .wf-hero .wf-hero-highlight { color: var(--wf-brand-violet); font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.wf-accounting .wf-hero .wf-hero-description, .wf-accounting .wf-hero .wf-check-list { color: var(--wf-accounting-muted); }
.wf-accounting .wf-hero .wf-eyebrow, .wf-accounting .wf-hero .wf-contact-line { color: #57478c; }
.wf-accounting .wf-hero .wf-contact-line a { color: var(--wf-brand-violet); text-decoration: underline; text-underline-offset: 4px; }
.wf-accounting .wf-hero .wf-check-list i { color: var(--wf-brand-violet); }
.wf-accounting .wf-hero .wf-button-primary { background: var(--wf-brand-accent); color: #fff; border: 1px solid #8daeff; box-shadow: 0 8px 22px rgba(47,111,237,.18); }
.wf-accounting .wf-hero .wf-button-primary:hover { background: #225bc9; }
.wf-accounting .wf-hero .wf-button-secondary { display: inline-flex; color: var(--wf-brand-violet); background: #fff; border-color: #c7bde5; }
.wf-accounting .wf-hero .wf-button-secondary:hover { background: #f4f2ff; }
.wf-accounting .wf-hero-bottom { display: none; }
.wf-accounting .wf-dashboard-image { width: 100%; height: auto; min-height: 0; aspect-ratio: 1200 / 628; }
.wf-accounting .wf-product-window { transform: none; border: 1px solid #b8b0e5; border-radius: 20px; box-shadow: 0 22px 55px rgba(43,27,90,.13); }
.wf-accounting .wf-hero-carousel-section .wf-product-window { aspect-ratio: auto; }
.wf-accounting .wf-product-window > a { display: block; color: inherit; text-decoration: none; }
.wf-accounting .wf-window-bar { background: #f4f2ff; color: #51466c; }
.wf-accounting .wf-window-bar > span:nth-child(1) { background: var(--wf-brand-magenta); }
.wf-accounting .wf-window-bar > span:nth-child(2) { background: var(--wf-brand-violet); }
.wf-accounting .wf-window-bar > span:nth-child(3) { background: var(--wf-brand-accent); }
.wf-accounting .wf-product-note { bottom: -24px; left: -16px; border-left: 4px solid var(--wf-brand-magenta); }
.wf-accounting .wf-product-note small { color: #59657a; }
.wf-accounting .wf-product-orbit { border-color: rgba(91,75,219,.12); }

/* A compact strip separates the introduction from the content. */
.wf-accounting .wf-proof-strip { background: #fff; padding: 0; border-bottom: 1px solid #ddd6f1; }
.wf-accounting .wf-proof-grid { gap: 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding-block: 22px; }
.wf-accounting .wf-proof-item { padding: 18px 20px; gap: 6px; border: 1px solid #e4def2; border-radius: 12px; background: #f8f6ff; }
.wf-accounting .wf-proof-item span { color: #554684; font-weight: 650; }
.wf-accounting .wf-proof-item strong { color: var(--wf-brand-primary); font-size: .98rem; }

/* Readable cards: fuchsia is reserved for accents, never small body text. */
.wf-accounting .wf-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wf-accounting .wf-feature-card { --wf-accounting-stripe: var(--wf-brand-violet); position: relative; min-width: 0; padding: 30px; border: 1px solid #dcd5ee; border-top: 4px solid var(--wf-accounting-stripe); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(43,27,90,.055); }
.wf-accounting .wf-feature-card:nth-child(3n + 2) { --wf-accounting-stripe: var(--wf-brand-accent); }
.wf-accounting .wf-feature-card:nth-child(3n) { --wf-accounting-stripe: var(--wf-brand-magenta); }
.wf-accounting .wf-feature-card h3 { font-size: 1.12rem; line-height: 1.35; }
.wf-accounting .wf-feature-icon, .wf-accounting .wf-feature-number { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: #eeeaff; color: var(--wf-brand-violet); font-size: 1.25rem; }
.wf-accounting .wf-feature-number { font-size: .9rem; font-weight: 800; }
.wf-accounting .wf-feature-tag { display: block; color: #57478c; opacity: 1; margin-bottom: 8px; }
.wf-accounting .wf-feature-details { border-top: 1px solid #e9e4f4; padding-top: 16px; margin-top: 18px; }
.wf-accounting .wf-feature-details li i { color: var(--wf-brand-violet); }
.wf-accounting #funcionalidades { background: #fff; }
.wf-accounting #funcionalidades .wf-feature-card { background: linear-gradient(140deg, #fff 65%, #f5f2ff); }
.wf-accounting #flujo { background: #fff; }
.wf-accounting #flujo .wf-feature-number { border-radius: 50%; background: var(--wf-brand-violet); color: #fff; }
.wf-accounting #migracion .wf-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wf-accounting #migracion .wf-feature-card { padding: 26px; }

/* Screens keep original proportions and a clear zoom action. */
.wf-accounting .wf-module-grid { gap: clamp(28px, 5vw, 76px); }
.wf-accounting .wf-module-visual { min-width: 0; min-height: 0; }
.wf-accounting .wf-module-visual img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: 14px 14px 0 0; border: 0; box-shadow: none; }
.wf-accounting .wf-module-visual .wf-accounting-image { width: 100%; padding: 10px 10px 0; border: 1px solid #d6cceb; border-radius: 20px; background: #fff; box-shadow: 0 22px 48px rgba(43,27,90,.14); }
.wf-accounting-image { display: block; color: var(--wf-brand-violet); text-decoration: none; }
.wf-image-hint { display: flex; justify-content: center; gap: 8px; padding: 14px; font-size: .78rem; font-weight: 650; color: var(--wf-brand-violet); background: #fff; border-radius: 0 0 14px 14px; }
.wf-accounting .wf-text-link { color: var(--wf-brand-violet); }
.wf-accounting .wf-text-link:hover { color: var(--wf-brand-primary); }

/* Highlight the cards while the sections stay bright. */
.wf-accounting .wf-module-section, .wf-accounting .wf-feature-section, .wf-accounting .wf-pricing-section.wf-tone-sand { background: #fff; }
.wf-accounting .wf-pricing-section::before { display: none; }
.wf-accounting #contadores .wf-feature-card { background: #f8f6ff; }
.wf-accounting .wf-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wf-accounting .wf-pricing-card { min-width: 0; border-radius: 18px; }
.wf-accounting .wf-pricing-card .wf-price { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.wf-accounting .wf-pricing-card .wf-pricing-description { color: var(--wf-accounting-muted); }
.wf-accounting .wf-pricing-card .wf-pricing-link { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 0; border-radius: 10px; background: var(--wf-brand-violet); color: #fff; }
.wf-accounting .wf-pricing-card .wf-pricing-link:hover { background: var(--wf-brand-primary); color: #fff; }
.wf-accounting #alianzas .wf-feature-grid { grid-template-columns: minmax(0, 800px); justify-content: center; }
.wf-accounting #alianzas .wf-feature-card { padding: 32px; background: #f4f2ff; border-top-color: var(--wf-brand-magenta); }
.wf-accounting .wf-faq-section { background: #fff; }
.wf-accounting .wf-accordion .accordion-item { margin-bottom: 10px; background: #fff; border: 1px solid #ddd6ec; border-radius: 12px; overflow: hidden; }
.wf-accounting .wf-accordion .accordion-button { padding: 18px 20px; line-height: 1.5; }
.wf-accounting .wf-accordion .accordion-button:not(.collapsed) { background: #eeeaff; color: var(--wf-brand-primary); }
.wf-accounting .wf-accordion .accordion-body { padding: 18px 20px; }
.wf-accounting .wf-faq-category { color: #57478c; }
.wf-accounting .wf-cta-section { padding: 64px 20px; background: #fff; }
.wf-accounting .wf-cta-card { padding: clamp(28px, 5vw, 56px); border-radius: 24px; border: 1px solid #d9cfef; background: #fff; color: var(--wf-brand-primary); box-shadow: 0 14px 36px rgba(43,27,90,.08); }
.wf-accounting .wf-cta-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--wf-brand-accent), var(--wf-brand-violet), var(--wf-brand-magenta)); }
.wf-accounting .wf-cta-card::after { border-color: rgba(91,75,219,.12); }
.wf-accounting .wf-cta-card h2 { color: var(--wf-brand-primary); }
.wf-accounting .wf-cta-card p, .wf-accounting .wf-cta-card .wf-eyebrow-light { color: var(--wf-accounting-muted); }
.wf-accounting .wf-cta-card .wf-button-white { background: var(--wf-brand-violet); color: #fff; }
.wf-accounting .wf-cta-card .wf-button-white:hover { background: var(--wf-brand-primary); }
.wf-accounting a:focus-visible, .wf-accounting button:focus-visible, .wf-image-close:focus-visible { outline: 3px solid var(--wf-brand-magenta); outline-offset: 4px; }


.wf-accounting-details > summary { display: none; }
.wf-accounting-details .wf-details-less { display: none; }
.wf-accounting-details[open] .wf-details-more { display: none; }
.wf-accounting-details[open] .wf-details-less { display: inline; }

/* Image links remain usable without JavaScript. */
.wf-accounting-dialog { width: min(1200px, 95vw); max-width: 95vw; max-height: 92vh; overflow: auto; padding: 22px; border: 1px solid #e7e1f3; border-radius: 18px; color: #2b1b5a; }
.wf-accounting-dialog::backdrop { background: rgba(22,12,49,.85); }
.wf-accounting-dialog form { display: flex; justify-content: flex-end; }
.wf-image-close { border: 0; border-radius: 10px; background: #f4f2ff; color: #2b1b5a; padding: 10px 18px; font-weight: 700; }
.wf-accounting-dialog p { margin: 10px 0; font-size: .9rem; }
.wf-accounting-dialog img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.wf-accounting .wf-feature-card, .wf-accounting .wf-module-visual .wf-accounting-image { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
	.wf-accounting .wf-feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(43,27,90,.12); }
	.wf-accounting .wf-module-visual .wf-accounting-image:hover { transform: translateY(-4px); border-color: var(--wf-brand-violet); }
}
@media (max-width: 1199px) {
	.wf-accounting-context > .container { flex-wrap: wrap; gap: 0; padding-top: 12px; }
	.wf-accounting .wf-hero-grid { gap: 32px; }
	.wf-accounting .wf-hero .wf-actions { gap: 10px; }
}
@media (max-width: 991px) {
	.wf-accounting-context > .container { display: block; }
	.wf-accounting-nav a { padding: 10px; }
	.wf-accounting .wf-hero { padding: 42px 0 54px; }
	.wf-accounting .wf-hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.wf-accounting .wf-hero-copy { max-width: 700px; }
	.wf-accounting .wf-product-stage { width: 100%; max-width: 680px; margin-inline: auto; }
	.wf-accounting .wf-feature-grid, .wf-accounting #migracion .wf-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wf-accounting .wf-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
	.wf-accounting .wf-hero { padding: 24px 0 32px; }
	.wf-accounting .wf-hero-carousel-section .wf-hero-copy { order: 0; }
	.wf-accounting .wf-hero-carousel-section .wf-product-stage { order: 1; padding-top: 10px; }
	.wf-accounting .wf-hero-carousel-section .wf-hero-copy h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
	.wf-accounting .wf-hero-carousel-section .wf-hero-copy .wf-hero-description { display: none; }
	.wf-accounting .wf-feature-grid, .wf-accounting #migracion .wf-feature-grid, .wf-accounting .wf-pricing-grid { grid-template-columns: 1fr; }
	.wf-accounting .wf-feature-card { padding: 22px; }
	.wf-accounting .wf-section-heading { margin-bottom: 24px; }
	.wf-accounting .wf-feature-section .wf-section-heading > p:last-child:not(.wf-eyebrow), .wf-accounting .wf-module-copy .wf-section-intro { display: none; }
	.wf-accounting .wf-feature-card p { font-size: .88rem; line-height: 1.55; }
	.wf-accounting .wf-feature-card .wf-feature-icon, .wf-accounting .wf-feature-card .wf-feature-number { width: 40px; height: 40px; margin-bottom: 14px; }
	.wf-accounting .wf-feature-section, .wf-accounting .wf-module-section, .wf-accounting .wf-pricing-section, .wf-accounting .wf-faq-section { padding-block: 40px; }
	.wf-accounting-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 2px; min-height: 44px; font-size: .82rem; font-weight: 700; color: var(--wf-brand-violet); cursor: pointer; list-style: none; }
	.wf-accounting-details > summary::-webkit-details-marker { display: none; }
	.wf-accounting-details > summary:focus-visible { outline: 3px solid var(--wf-brand-violet); outline-offset: 3px; }
	.wf-accounting-details[open] > summary i { transform: rotate(180deg); }
	.wf-accounting-details .wf-feature-details { margin-top: 12px; padding-top: 12px; }
	.wf-accounting .wf-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 0; }
	.wf-accounting .wf-proof-item { padding: 14px 12px; border: 0; }
	.wf-accounting .wf-proof-item strong { font-size: .86rem; }
	.wf-accounting .wf-proof-item span { font-size: .72rem; }
	.wf-accounting .wf-module-grid { gap: 28px; }
	.wf-accounting .wf-cta-section { padding: 40px 12px; }
	.wf-accounting .wf-cta-card .wf-button { width: 100%; white-space: normal; }
	.wf-accounting .wf-image-hint { font-size: .72rem; }
	.wf-accounting .wf-hero .wf-button-secondary { display: none; }
	.wf-accounting .wf-window-bar { padding-inline: 10px; }
	.wf-accounting .wf-window-bar small { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
	.wf-accounting *, .wf-accounting *::before, .wf-accounting *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.wf-accounting .wf-button:hover, .wf-accounting .wf-feature-card:hover { transform: none; }
}
