Files
corazoncp-landing/docs/specs/kundalini-volver-a-ti-design.md
T
kiskaadee ff3faf6316 docs(specs): add approved Kundalini Yoga & Volver a ti integration design
- Document 4-route Spanish-only static integration (/, /kundalini/, /volver-a-ti/, /descargo/)
- Specify build-time HTML partials plugin, single-tree mobile disclosure nav, and disclaimer gate
- Define Phase 0-3 implementation plan, per-route OG metadata, and contract test requirements
2026-11-29 00:53:22 -05:00

39 KiB
Raw Blame History

Kundalini Yoga & «Volver a ti» Landing Integration

  • Author: kiskaadee
  • Status: Approved
  • Date: 2026-11-27

Overview

This design expands landing/ (corazoncp-landing), the public website for El Corazón como Portal owned by practitioner Azu (Azucena Sánchez), from a single-page site into a 4-page Spanish-only static site. The site builds with Vite+ (vp, the Vite-based CLI configured in landing/package.json) and deploys to Cloudflare Pages. The parent workspace contains landing/, a sibling drive/ repo mirrored from Google Drive, a gitignored .internal/ staging folder, and organization-level ROADMAP.md and AGENTS.md.

  • / (landing/index.html): Updates Service Card 2 (Clases de Kundalini Yoga y Acompañamientos) to route to /kundalini/ instead of opening WhatsApp directly.
  • /kundalini/ (landing/kundalini/index.html): Hub page presenting two paths—Volver a ti (linking to /volver-a-ti/) and Clases grupales — Miércoles 6:30 PM (placeholder state until Azu provides copy).
  • /volver-a-ti/ (landing/volver-a-ti/index.html): Dedicated program page presenting the approved copy from drive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx, a pre-payment disclaimer checkbox gating payment links, 0–2 static Ko-fi tier links, an ungated WhatsApp inquiry CTA, and a gated WhatsApp-routed Zelle CTA.
  • /descargo/ (landing/descargo/index.html): Small-text legal page (Condiciones de participación y descargo de responsabilidad) sourced from the bottom of the same .docx, linked from /volver-a-ti/ and returning to /volver-a-ti/#inscripcion.

The Problem

Azu currently answers Kundalini Yoga inquiries by pasting long program text directly into WhatsApp chats, and Service Card 2 on landing/index.html routes straight to WhatsApp with no intermediate context or direct shareable URL. Azu needs a shareable program page (/volver-a-ti/), a separate participation disclaimer page (/descargo/), and temporary payment options (Ko-fi and US Zelle) without introducing backend infrastructure, payment webhooks, new runtime dependencies, or personal banking identifiers in public HTML.

Goals

  • Provide Azu with a direct, shareable Spanish URL (/volver-a-ti/) and a two-path Kundalini Yoga hub (/kundalini/) reachable from Service Card 2 on /.
  • Maintain consistent navigation across all 4 routes on desktop and mobile using shared build-time partials (header, footer, and floating WhatsApp button), root-relative links, explicit per-route active indicators, and a single-tree mobile disclosure menu with zero new runtime dependencies.
  • Gate payment links (Ko-fi tier links and the WhatsApp Zelle link) on /volver-a-ti/ behind an explicit disclaimer checkbox acknowledgment with an inline live-region status message and focus management when activated while unchecked, while keeping pre-purchase WhatsApp inquiry links ungated.
  • Support 0, 1, or 2 Ko-fi payment links authored directly in landing/volver-a-ti/index.html alongside an ungated WhatsApp inquiry CTA and a gated WhatsApp-routed Zelle CTA so /volver-a-ti/ can launch with 0 Ko-fi tiers before Azu finalizes "Programa 1 y 2".
  • Track per-path pageviews for /kundalini/ and /volver-a-ti/ (plus external referring hosts) via Cloudflare Pages auto-injected zero-cookie Web Analytics once enabled in the Pages project, with no application code (same-origin funnel attribution is out of scope for v1).

Non-Goals

  • Implementing backend APIs (corazoncp-api), payment gateway webhooks (Wompi/Stripe), databases, user authentication, or Zoom scheduling.
  • Publishing final copy for Wednesday 6:30 PM group classes (held as a placeholder on /kundalini/).
  • Implementing English (/en/) translations or bilingual routing for the new pages (deferred to Milestone 1 Slice 5 in ROADMAP.md).
  • Tracking outbound clicks to Ko-fi or WhatsApp with cookies or third-party scripts.
  • Applying the v2 full-site redesign (drive/01-comunicacion/ideas/spec-rediseno-detallado.md).

Open Questions

  • Tier Names, Prices, and Ko-fi URLs ("Programa 1 y 2"): "Programa 1 y 2" is Azu's placeholder notation at the end of drive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx for two pending payment tiers of Volver a ti. Exact labels, prices, and Ko-fi URLs are pending Azu's response to her Google Form (El Corazón como Portal — Decisiones Pendientes). /volver-a-ti/ can launch with 0 Ko-fi tiers and add 1–2 Ko-fi links in a follow-up HTML edit once confirmed.
  • Group Classes Copy: Final copy for Wednesday 6:30 PM group classes is pending from Azu; /kundalini/ will ship with a placeholder state for this second card.

Critical User Journeys (CUJs)

CUJ 1: Prospect explores Kundalini Yoga from / to /volver-a-ti/

  • Given: A visitor is on / (landing/index.html) on desktop or mobile.
  • When: The visitor activates Service Card 2 (Clases de Kundalini Yoga y Acompañamientos), lands on /kundalini/, and activates Volver a ti.
  • Then: The browser loads /kundalini/ and /volver-a-ti/ without 404 responses, root-relative header links resolve to their targets, the expected active-route indicator is set, and the mobile disclosure button toggles menu visibility.

CUJ 2: Prospect attempts payment before accepting the disclaimer

  • Given: A visitor is on /volver-a-ti/ with JavaScript enabled and has not checked the participation/disclaimer checkbox.
  • When: The visitor clicks or activates a Ko-fi tier link or the Zelle WhatsApp link.
  • Then: Navigation is prevented, an inline live-region status message prompts the visitor to accept the conditions first, and focus moves to the disclaimer checkbox. Once checked (or restored via browser Back navigation), the disabled state is removed and the payment links navigate to their targets. The general WhatsApp inquiry link remains ungated at all times.

CUJ 3: Prospect reviews the participation conditions and disclaimer

  • Given: A visitor is on /volver-a-ti/ and wants to read the conditions before checking the box.
  • When: The visitor follows the hyperlink to /descargo/ and then clicks the return link.
  • Then: /descargo/ renders the full participation conditions and liability disclaimer in small-text formatting, and the return link jumps to /volver-a-ti/#inscripcion with the target heading visible below the sticky header.

Technical Plan (Architecture)

1. Multi-Page Entrypoints & URL Routing

landing/vite.config.ts will configure four directory-index HTML entrypoints so vp dev and Cloudflare Pages serve identical trailing-slash URLs without rewrite middleware:

  • / → landing/index.html (Service Card 2 routes to /kundalini/)
  • /kundalini/ → landing/kundalini/index.html (Volver a ti card → /volver-a-ti/ + placeholder Clases grupales — Miércoles 6:30 PM card)
  • /volver-a-ti/ → landing/volver-a-ti/index.html (full program copy from the .docx, #inscripcion payment/disclaimer block with 0–2 Ko-fi links, an ungated WhatsApp inquiry CTA, and a gated WhatsApp Zelle CTA)
  • /descargo/ → landing/descargo/index.html (small-text legal/participation disclaimer from the bottom of the same .docx, returning to /volver-a-ti/#inscripcion)

2. Build-Time Partials & Single-Tree Mobile Navigation

Shared <header>, <footer>, and floating WhatsApp markup will be extracted into landing/src/partials/header.html, landing/src/partials/footer.html, and landing/src/partials/whatsapp-fab.html, and injected at build time by a standalone Vite plugin (landing/scripts/html-partials-plugin.ts):

  • Dev HMR & route-key parity: html-partials-plugin.ts runs before Vite's script/asset resolution, watches the partials directory for vp dev reloads, and normalizes dev and build paths into one canonical route key.
  • Root-relative navigation & active-route mapping: Header links point to / (brand link), /#servicios, /kundalini/, /#otros-espacios, /#acerca, /#filosofia, and /#contacto. Active-route marking (aria-current="page") follows an exact per-route rule: on /, the brand link receives aria-current="page"; on /kundalini/, the /kundalini/ nav link receives aria-current="page"; on /volver-a-ti/ and /descargo/, aria-current="page" is omitted from the top nav.
  • Sticky header offset: The stylesheet adds top scroll padding so hash jumps (including /volver-a-ti/#inscripcion and /#servicios) do not land beneath the sticky header.
  • Single-tree mobile disclosure menu (landing/src/scripts/nav-menu.js): Replaces the missing mobile navigation with a single <nav> tree toggled on narrow viewports by a native disclosure button (aria-expanded / aria-controls) and a vanilla JS class toggle (nav-menu.js). On 375px viewports, the menu expands as a full-width panel below the header row so the brand title is never compressed; on desktop viewports, responsive CSS keeps the navigation list visible with zero JS dependency.

3. Per-Route SEO & Open Graph Metadata Contract (WhatsApp Previews)

Because Azu's primary entry path is pasting /volver-a-ti/ directly into WhatsApp, every HTML entrypoint defines route-specific <title>, <meta name="description">, <link rel="canonical">, and Open Graph tags (og:type="website", og:locale="es_CO", og:title, og:description, og:url, og:image, og:image:width, og:image:height, og:image:alt). Because WhatsApp's preview scraper inconsistently drops .webp thumbnails, /kundalini/ and /volver-a-ti/ serve a dedicated JPEG preview (landing/public/img/og-kundalini.jpg, 1200x630, <= 300 KB); azu-hero.jpg and logo.png already exist in landing/public/img/:

Route <title> <link rel="canonical"> & og:url og:image
/ El Corazón como Portal — Acompañamiento Consciente en Valledupar https://elcorazoncomoportal.com/ https://elcorazoncomoportal.com/img/azu-hero.jpg
/kundalini/ Kundalini Yoga — El Corazón como Portal https://elcorazoncomoportal.com/kundalini/ https://elcorazoncomoportal.com/img/og-kundalini.jpg
/volver-a-ti/ Volver a ti — Acompañamiento Personalizado en Kundalini Yoga https://elcorazoncomoportal.com/volver-a-ti/ https://elcorazoncomoportal.com/img/og-kundalini.jpg
/descargo/ Condiciones de Participación y Descargo — El Corazón como Portal https://elcorazoncomoportal.com/descargo/ https://elcorazoncomoportal.com/img/logo.png

Each route's og:description carries a route-specific Spanish summary (<= 160 characters). On / and /descargo/, keep metadata minimal (canonical + basic og:* tags only; no Schema.org JSON-LD or hreflang until Milestone 1 Slice 5). Cloudflare Pages auto-injected zero-cookie Web Analytics (already permitted by landing/public/_headers) reports per-path pageviews for /kundalini/ and /volver-a-ti/ plus external referring hosts; same-origin /kundalini/ → /volver-a-ti/ referrer attribution is out of scope for zero-cookie v1 analytics.

4. One-Time Manual .docx Extraction & Media Prep

Before authoring /volver-a-ti/ and /descargo/, a one-time manual step extracts text and embedded images from drive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx into the gitignored .internal/ staging folder using pandoc. External hotlinked URLs are dropped, approved images are transcoded to .webp (<= 150 KB) in landing/public/img/ using cwebp or ffmpeg with explicit dimensions, and landing/public/img/og-kundalini.jpg (1200x630, <= 300 KB) is generated for WhatsApp previews. Only the top hero image loads eagerly with high priority; below-the-fold images are lazy-loaded.

5. Payment Block & Disclaimer Gate (landing/src/scripts/volver-a-ti.js)

Inside #inscripcion in landing/volver-a-ti/index.html, payment links (0, 1, or 2 Ko-fi tier links plus the WhatsApp-routed Zelle link) and an ungated general WhatsApp inquiry link are authored directly in HTML with intact href attributes—keeping pricing content out of landing/vite.config.ts. In the 0-Ko-fi launch state, microcopy clarifies that Colombian and international visitors can coordinate enrollment and local payment via the WhatsApp inquiry link alongside US Zelle.

landing/src/scripts/volver-a-ti.js synchronizes the disabled state on the gated payment links (Ko-fi tiers and Zelle WhatsApp only; never the general inquiry link) from the checkbox state on both initial load and browser Back-Forward Cache (BFCache) restores. Activating a gated link while the checkbox is unchecked blocks navigation, announces an inline status message associated with the checkbox for screen readers, and moves focus to the checkbox. The pre-filled Zelle WhatsApp message includes an explicit clause stating that the sender read and accepted /descargo/.

6. End-to-End Route & Conversion Flow

flowchart LR
    HOME["/ (Card 2)"] --> HUB["/kundalini/"]
    HUB --> VOLVER["/volver-a-ti/"]
    HUB --> GROUP["Clases grupales (Placeholder)"]
    VOLVER -- "Read terms" --> DESCARGO["/descargo/"]
    DESCARGO -- "Return link" --> INSCRIPCION["/volver-a-ti/#inscripcion"]
    VOLVER -- "Ungated" --> INQUIRY["WhatsApp Inquiry Link"]
    VOLVER -- "Checkbox unchecked (JS)" --> GATE["aria-live=polite prompt + focus checkbox"]
    VOLVER -- "Checkbox checked" --> KOFI["Ko-fi Tier Link(s) (0..2)"]
    VOLVER -- "Checkbox checked" --> ZELLE["WhatsApp Zelle Link (with acceptance clause)"]

Alternatives Considered

Alternative A: Flat HTML Entrypoints (kundalini.html, volver-a-ti.html, descargo.html)

  • Pros: Produces extensionless /kundalini URLs on Cloudflare Pages without trailing slashes.
  • Cons: vp dev requires .html extensions or custom dev-server rewrite middleware, creating dev-vs-production URL divergence and trailing-slash inconsistency for canonical links and analytics paths.
  • Reason for Rejection: Directory indexes (kundalini/index.html, volver-a-ti/index.html, descargo/index.html) behave identically in vp dev and Cloudflare Pages with zero dev middleware.

Alternative B: External HTML Templating Plugin or Client-Side Web Components (<site-header>)

  • Pros: External plugins (e.g., Handlebars/EJS) support full template loops; client-side web components avoid build hooks.
  • Cons: External templating plugins add npm dependencies for a 4-page site; client-side custom elements ship extra JS and risk layout shift (CLS) before hydration.
  • Reason for Rejection: A standalone build-time partial plugin (landing/scripts/html-partials-plugin.ts) injects shared partials with zero runtime JS or extra template dependencies.

Alternative C: Popover API + Polyfill or Dual DOM role="menu" Mobile Navigation

  • Pros: Popover API provides native top-layer dismissal; dual DOM trees are common in utility-CSS templates.
  • Cons: Popover API on a single <nav> requires @oddbird/popover-polyfill (new runtime dependency), CSS anchor() fallbacks, and desktop override/mutation complexity to avoid hiding desktop links; dual DOM trees duplicate markup and introduce role="menu" ARIA anti-patterns.
  • Reason for Rejection: A single-tree <nav> with a native <button aria-expanded="false" aria-controls="site-menu"> toggling the Tailwind .hidden class via nav-menu.js achieves single-DOM accessibility with zero new npm dependencies.

Alternative D: Native <form> / formaction Gate Instead of <a> + JS Gate

  • Pros: Enforces the disclaimer checkbox natively even without JavaScript.
  • Cons: GET form submissions strip query strings from formaction (requiring hidden inputs for WhatsApp text), submit buttons lose standard link behaviors ("Copy link address"), and formtarget="_blank" + rel="noopener noreferrer" behavior varies across browsers.
  • Reason for Rejection: Intact <a href="..."> links with runtime JS aria-disabled gating and preventDefault() keep standard link semantics and avoid misleading non-JS screen readers.

Alternative E: Publishing Azu's Zelle Identifier Directly in HTML

  • Pros: Fewer clicks for US visitors paying via Zelle.
  • Cons: Exposes a personal banking-linked email or phone number in a public GitHub repository, inviting phishing/spam and violating AGENTS.md privacy rules.
  • Reason for Rejection: Routing Zelle through a pre-filled WhatsApp message protects Azu's banking-linked PII while giving US visitors a direct Zelle inquiry path.

Risks & Mitigations

  • Static-site disclaimer bypass & lack of server audit log: Because landing/ has no backend, disabling JavaScript, middle-clicking (auxclick), or opening a Ko-fi URL directly bypasses the checkbox without recording proof of acceptance. Mitigation: Include an explicit /descargo/ acceptance clause in the pre-filled Zelle WhatsApp message, and align with Azu to reference /descargo/ in Ko-fi tier descriptions or confirm acceptance on WhatsApp before the first session.
  • Existing repo contract & test-seam breakage: Routing Service Card 2 to /kundalini/ and extracting shared partials out of landing/index.html alters landing/AGENTS.md invariants (lines 13 and 15) and breaks landing/tests/hero-whatsapp.test.js and landing/tests/services-catalog.test.js (which currently read raw index.html). Mitigation: Update landing/AGENTS.md in the same slice, migrate both existing test files to assert against built landing/dist/index.html, add a Service Card 2 /kundalini/ assertion, and update Criterion 5 comments (4 cards + Hatha, with 9 wa.me links and 7 unique messages still satisfying >= 8 and >= 7).
  • Client expectation on Zelle display: drive/01-comunicacion/pendientes/2026-11-25-integracion-kundalini-volver-a-ti.md asks Azu whether to display Zelle on-page or share it via WhatsApp, whereas this design keeps Zelle WhatsApp-routed to protect public repo privacy. Mitigation: Communicate the phishing/privacy rationale to Azu before launch so expectations match.
  • Manual .docx source drift: If Azu edits Programa acompañamiento personalizado kundalini yoga.docx in Google Drive after extraction, volver-a-ti/index.html and descargo/index.html will not update automatically. Mitigation: Treat drive/ Git sync notifications as the trigger for manual copy updates.

Non-Functional Requirements

  • Security & Privacy: Zero personal Zelle identifiers, .internal/ intake files, or unapproved photos may enter landing/ or dist/. All external links (ko-fi.com, wa.me) use rel="noopener noreferrer".
  • Performance & Core Web Vitals: Transcoded .webp assets stay <= 150 KB with explicit dimensions to prevent CLS; only the top hero image loads eagerly with high priority, while below-the-fold images are lazy-loaded.
  • Accessibility (WCAG 2.1 AA): Support full keyboard-only navigation (Tab, Shift+Tab, Enter, Escape on the mobile menu), a >= 44px touch target on the disclaimer <label>, >= 3:1 contrast for non-color active-route and :focus-visible indicators, and prefers-reduced-motion: reduce.
  • Browser Compatibility & CSP (landing/public/_headers): Progressive enhancement keeps desktop navigation visible without JS and keeps intact href attributes (free of misleading aria-disabled="true") if JS fails. New ES modules (landing/src/scripts/nav-menu.js, landing/src/scripts/volver-a-ti.js) load as external 'self' scripts with no inline scripts or onclick handlers—complying with script-src 'self' without relying on the existing 'unsafe-inline' token in landing/public/_headers (enforced by contract tests; removing 'unsafe-inline' is deferred to a separate hardening slice).
  • Rollout & Rollback: /volver-a-ti/ can launch with 0 Ko-fi tiers (WhatsApp inquiry + Zelle-via-WhatsApp) and add 1–2 Ko-fi links once Azu confirms "Programa 1 y 2". Because all changes are static files in landing/, rollback is a single git revert and Cloudflare Pages redeploy.

Detailed Implementation Plan

Work is partitioned into four incremental phases. Each phase in landing/ (corazoncp-landing) leaves the repository buildable, linted, and passing under vp build, node --test, and biome check ..

Per-Route Metadata Reference (All 4 Routes)

All 4 routes include <title>, <meta name="description">, <link rel="canonical">, og:type="website", og:locale="es_CO", og:title, og:description, og:url, og:image, og:image:width, og:image:height, and og:image:alt. No Schema.org JSON-LD or hreflang is added until Milestone 1 Slice 5.

Route <meta name="description"> & og:description og:image (width × height) og:image:alt
/ Sal del automático. Abre tu corazón, recupera tu soberanía. Barras de Access®, Procesos de Cuerpo y Mentorías de Consciencia en Valledupar. https://elcorazoncomoportal.com/img/azu-hero.jpg (529 × 530) Azucena Sánchez, facilitadora de El Corazón como Portal
/kundalini/ Explora los caminos de Kundalini Yoga con Seva Surpreet Kaur: acompañamiento personalizado Volver a ti y clases grupales. https://elcorazoncomoportal.com/img/og-kundalini.jpg (1200 × 630) Práctica de Kundalini Yoga con Seva Surpreet Kaur
/volver-a-ti/ Volver a ti: acompañamiento personalizado de Kundalini Yoga para equilibrio físico, calma emocional y conexión interior. https://elcorazoncomoportal.com/img/og-kundalini.jpg (1200 × 630) Volver a ti — Acompañamiento personalizado de Kundalini Yoga
/descargo/ Condiciones de participación y descargo de responsabilidad del programa Volver a ti de El Corazón como Portal. https://elcorazoncomoportal.com/img/logo.png (150 × 150) Emblema de El Corazón como Portal

Phase 0: Manual Intake Extraction & Media Prep (Root Staging + landing/ Assets)

1. .internal/intake/volver-a-ti-extracted.md (Create — gitignored root workspace)

  • Type / Scope: Local Intake Extraction (not committed to Git)
  • Proposed Changes:
    • Run a one-time pandoc extraction of text (including the bottom Condiciones de participación y descargo de responsabilidad section) and embedded images from drive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx.
    • Strip external hotlinked image URLs and verify all copy sections before authoring HTML.

2. landing/public/img/volver-a-ti-*.webp & landing/public/img/og-kundalini.jpg (Create — corazoncp-landing)

  • Type / Scope: Static Media Assets
  • Proposed Changes:
    • Transcode approved .docx images to .webp (<= 150 KB each) using cwebp or ffmpeg, recording pixel dimensions for explicit width/height attributes.
    • Generate landing/public/img/og-kundalini.jpg (1200 × 630, <= 300 KB) so WhatsApp's preview scraper does not drop .webp thumbnails. (azu-hero.jpg and logo.png already exist in landing/public/img/.)

Phase 0 Checkpoint: Extracted .md verified in .internal/intake/; all new .webp files <= 150 KB and og-kundalini.jpg 1200 × 630 (<= 300 KB).


Phase 1: Multi-Page Build Setup, Partials, Navigation & Existing Tests (corazoncp-landing)

3. landing/scripts/html-partials-plugin.ts (Create)

  • Type / Scope: Standalone Vite Build Helper
  • Proposed Changes:
    • Import type { Plugin } from 'vite-plus' and define a transformIndexHtml hook with order: 'pre' so partials expand before Vite processes scripts and assets.
    • Replace <!-- @include src/partials/... --> markers for header.html, footer.html, and whatsapp-fab.html; throw an explicit Error if any referenced partial file is missing.
    • Normalize both ctx.path (dev) and ctx.filename (build) into canonical route keys ('/', '/kundalini/', '/volver-a-ti/', '/descargo/').
    • Replace valid HTML attribute markers data-nav-current="home" and data-nav-current="kundalini" in header.html with aria-current="page" on the matching route (/ or /kundalini/) and strip non-matching markers (so /volver-a-ti/ and /descargo/ omit aria-current="page").
    • Register path.resolve(root, 'src/partials') in configureServer(server) via server.watcher.add(...), and in handleHotUpdate match src/partials/ edits to trigger server.ws.send({ type: 'full-reload' }) and return []. Keep pricing HTML out of this plugin.

4. landing/vite.config.ts (Modify — Phase 1 entrypoint only)

  • Type / Scope: Build Configuration
  • Proposed Changes:
    • Configure build.rollupOptions.input using path.resolve(import.meta.dirname, 'index.html') for main only in Phase 1 (the three Phase 2 entrypoints are registered in Phase 2 once their HTML files exist).
    • Register htmlPartialsPlugin() from ./scripts/html-partials-plugin.ts. Keep landing/package.json free of new runtime dependencies.

5. landing/src/partials/header.html, landing/src/partials/footer.html, landing/src/partials/whatsapp-fab.html (Create)

  • Type / Scope: Build-Time HTML Partials
  • Proposed Changes:
    • Extract shared <header>, <footer>, and floating WhatsApp button from landing/index.html.
    • Use root-relative links: / on the brand link (with data-nav-current="home"), /#servicios (Servicios), /kundalini/ (Kundalini Yoga, with data-nav-current="kundalini"), /#otros-espacios (Otros Espacios), /#acerca (Acerca de Azu), /#filosofia (Filosofía), and /#contacto (Contacto).
    • Add a native mobile disclosure toggle <button type="button" aria-expanded="false" aria-controls="site-menu" aria-label="Abrir menú de navegación" class="min-h-[44px] min-w-[44px] md:hidden ..."> with an inline SVG hamburger icon controlling <ul id="site-menu" class="hidden absolute inset-x-0 top-full ... md:static md:inset-auto md:flex ...">.
    • On 375px viewports, #site-menu expands out of flow below the header row without wrapping or shrinking the brand title.

6. landing/src/scripts/nav-menu.js (Create)

  • Type / Scope: Client ES Module (zero dependencies)
  • Proposed Changes:
    • Toggle the Tailwind .hidden CSS class via classList.toggle("hidden") (never the HTML boolean hidden attribute, so md:flex keeps desktop navigation visible) and synchronize aria-expanded on toggle button clicks.
    • Close on Escape (returning focus to the toggle button) and close when a same-page hash link is activated (link.hash && link.pathname === window.location.pathname).

7. landing/src/style.css (Modify)

  • Type / Scope: Stylesheet (Tailwind CSS v4)
  • Proposed Changes:
    • Add html { scroll-padding-top: 5.5rem; } to clear the 73px (py-4 + h-10) sticky top-0 z-40 header on hash jumps.
    • Add a[aria-current="page"] non-color indicator (text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 2px; at >= 3:1 contrast).
    • Add :focus-visible outline (outline: 2px solid var(--color-emerald); outline-offset: 2px;).
    • Add @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } } plus transition/animation reduction.
    • Add accent-color: var(--color-emerald) and min-height: 44px touch-target styling for label[for="accept-disclaimer"], and locked styling for a[aria-disabled="true"] (opacity: 0.55; cursor: not-allowed;).

8. landing/index.html (Modify)

  • Type / Scope: Home Page Entrypoint (/)
  • Proposed Changes:
    • Replace inline <header>, <footer>, and floating WhatsApp markup with <!-- @include ... --> markers.
    • Add <link rel="canonical"> and Open Graph tags per the metadata table above.
    • Update Service Card 2 (Clases de Kundalini Yoga y Acompañamientos) CTA href from wa.me to /kundalini/ and remove target="_blank" and rel="noopener noreferrer" so it navigates in-tab.
    • Include <script type="module" src="/src/scripts/nav-menu.js"></script> (root-relative).

9. landing/tests/hero-whatsapp.test.js & landing/tests/services-catalog.test.js (Modify)

  • Type / Scope: Existing Contract Tests
  • Proposed Changes:
    • Migrate both files from reading source index.html to asserting against built dist/index.html (produced by pretest: "vp build").
    • In services-catalog.test.js, add a new assertion verifying Service Card 2 links to /kundalini/ without target="_blank".
    • Update Criterion 5 test title and comments from (5 cards + Hatha) to (4 cards + Hatha) (9 wa.me links and 7 unique ?text= messages remain, continuing to satisfy >= 8 and >= 7).

Phase 1 Checkpoint: Run pnpm --dir landing build, pnpm --dir landing test, and pnpm --dir landing lint (confirming biome check . accepts partial fragments in landing/src/partials/*.html without modifying landing/biome.json). All existing tests pass on dist/index.html.


Phase 2: New Kundalini Routes, Disclaimer Gate & Contract Tests (corazoncp-landing)

10. landing/kundalini/index.html (Create)

  • Type / Scope: Hub Page Entrypoint (/kundalini/)
  • Proposed Changes:
    • Include root-relative <link rel="stylesheet" href="/src/style.css" />, <link rel="icon" type="image/png" href="/img/logo.png" />, Google Fonts links, shared partials, and <script type="module" src="/src/scripts/nav-menu.js"></script>.
    • Define route-specific <title>, <meta name="description">, <link rel="canonical">, and Open Graph tags per the metadata table (og-kundalini.jpg, 1200 × 630).
    • Render Card 1 (Volver a ti — Acompañamiento personalizado, using /img/volver-a-ti-*.webp or /img/kundalini-yoga.webp) linking to /volver-a-ti/.
    • Render Card 2 (Clases grupales — Miércoles 6:30 PM, using /img/kundalini-yoga.webp) with a non-interactive Próximamente badge and an ungated WhatsApp interest link (https://wa.me/573215428972?text=Hola%20Azu,%20quiero%20recibir%20informaci%C3%B3n%20cuando%20abran%20las%20clases%20grupales%20de%20Kundalini%20Yoga%20de%20los%20mi%C3%A9rcoles.).

11. landing/volver-a-ti/index.html (Create)

  • Type / Scope: Program Page Entrypoint (/volver-a-ti/)
  • Proposed Changes:
    • Include root-relative /src/style.css, /img/logo.png, Google Fonts links, shared partials, <script type="module" src="/src/scripts/nav-menu.js"></script>, and <script type="module" src="/src/scripts/volver-a-ti.js"></script>.
    • Define route-specific <title>, <meta name="description">, <link rel="canonical">, and Open Graph tags per the metadata table (og-kundalini.jpg, 1200 × 630).
    • Render extracted program copy with fetchpriority="high" (without loading="lazy") only on the top hero image and loading="lazy" on below-the-fold images, all with explicit width/height.
    • Add #inscripcion section containing:
      • Native <input type="checkbox" id="accept-disclaimer" aria-describedby="disclaimer-status"> paired with <label for="accept-disclaimer">He leído y acepto las condiciones de participación y el descargo de responsabilidad del programa.</label> (keeping the separate <a href="/descargo/">Leer condiciones y descargo de responsabilidad</a> link outside <label>).
      • Empty <p id="disclaimer-status" aria-live="polite" role="status"></p> feedback region.
      • 0..2 Ko-fi tier <a> links authored directly in HTML with distinct label + price text, data-disclaimer-gate, target="_blank" rel="noopener noreferrer", and intact href (no hardcoded aria-disabled="true").
      • Ungated WhatsApp inquiry <a> link (no data-disclaimer-gate) on https://wa.me/573215428972 with ?text=Hola%20Azu,%20quiero%20hacer%20una%20consulta%20sobre%20el%20acompa%C3%B1amiento%20Volver%20a%20ti. and microcopy noting local Colombia/international coordination in the 0-Ko-fi state.
      • Gated WhatsApp Zelle <a> link with data-disclaimer-gate, target="_blank" rel="noopener noreferrer", on https://wa.me/573215428972 with ?text=Hola%20Azu,%20he%20le%C3%ADdo%20y%20acepto%20las%20condiciones%20de%20participaci%C3%B3n%20y%20el%20descargo%20de%20responsabilidad%20de%20Volver%20a%20ti,%20y%20quiero%20coordinar%20el%20pago%20por%20Zelle..

12. landing/src/scripts/volver-a-ti.js (Create)

  • Type / Scope: Client ES Module (external 'self' script, no inline handlers)
  • Proposed Changes:
    • Query #accept-disclaimer, #disclaimer-status, and #inscripcion a[data-disclaimer-gate] (leaving general WhatsApp inquiry and /descargo/ links untouched).
    • Set or remove aria-disabled="true" based on checkbox.checked on initialization, on checkbox change, and on window pageshow (preventing BFCache desync), without mutating href.
    • When a gated link is clicked while the checkbox is unchecked (aria-disabled="true"), call preventDefault(), set #disclaimer-status text to "Por favor marca la casilla de aceptación antes de continuar.", and call .focus() on #accept-disclaimer. Clear #disclaimer-status when the checkbox is checked.

13. landing/descargo/index.html (Create)

  • Type / Scope: Legal / Disclaimer Entrypoint (/descargo/)
  • Proposed Changes:
    • Include root-relative /src/style.css, /img/logo.png, Google Fonts links, shared partials, and <script type="module" src="/src/scripts/nav-menu.js"></script>.
    • Define route-specific <title>, <meta name="description">, <link rel="canonical">, and Open Graph tags per the metadata table.
    • Render the full participation conditions and liability disclaimer extracted from the bottom of the .docx in small-text formatting with a return link to /volver-a-ti/#inscripcion.

13b. landing/vite.config.ts (Modify — Register Phase 2 Entrypoints)

  • Type / Scope: Build Configuration
  • Proposed Changes:
    • Add kundalini (kundalini/index.html), volverATi (volver-a-ti/index.html), and descargo (descargo/index.html) to build.rollupOptions.input via path.resolve(import.meta.dirname, ...) now that all three HTML entrypoints exist.

14. landing/tests/kundalini-routes.test.js (Create)

  • Type / Scope: Build-Output & Contract Test (node:test)
  • Proposed Changes:
    • Verify dist/ contains all 4 built HTML pages (index.html, kundalini/index.html, volver-a-ti/index.html, descargo/index.html).
    • Verify each route has distinct <title>, <meta name="description">, <link rel="canonical">, and og:* tags, including absolute https://elcorazoncomoportal.com/img/og-kundalini.jpg (1200 × 630) + og:image:alt on /kundalini/ and /volver-a-ti/.
    • Verify root-relative header links and exact per-route aria-current="page" (/ on brand link, /kundalini/ on nav link, omitted on /volver-a-ti/ and /descargo/).
    • Verify dist/volver-a-ti/index.html DOM structure:
      • Contains #inscripcion, #accept-disclaimer with aria-describedby="disclaimer-status", #disclaimer-status, and /descargo/ link outside <label>.
      • Contains ungated WhatsApp inquiry link and gated Zelle link (data-disclaimer-gate) whose decodeURIComponent ?text= payload includes "he leído y acepto las condiciones de participación y el descargo de responsabilidad".
      • Contains 0 <= kofiLinks.length <= 2 (each starting with https://ko-fi.com/ with data-disclaimer-gate and target="_blank" rel="noopener noreferrer"), with zero hardcoded aria-disabled="true".
    • Verify built <script type="module" ... src="/assets/..."> tags exist on all 4 pages and each referenced hashed .js bundle exists under dist/assets/, with zero inline onclick handlers or inline <script> blocks.
    • Verify dist/descargo/index.html links back to /volver-a-ti/#inscripcion.
    • Run PII allowlist checks across built .html and .js files in dist/ (excluding .js.map source maps and <svg> d="..." / xmlns attributes): every matched email equals contactocorazoncp@gmail.com, and every matched Colombian mobile or formatted US phone number normalizes to 573215428972.

Phase 2 Checkpoint: Run pnpm --dir landing build, pnpm --dir landing test, and pnpm --dir landing lint. All 3 test suites pass.


Phase 3: Documentation & Invariant Sync (Split Across Repos)

15. landing/README.md & landing/AGENTS.md (Modify — corazoncp-landing repo commit)

  • Type / Scope: Child-Repo Documentation & Invariant Sync
  • Proposed Changes:
    • Update landing/AGENTS.md to record that Service Card 2 routes to /kundalini/ and that build-time partials + 3 Spanish-only routes are active ahead of Slice 5.
    • Document the 4-route multi-page build structure and partial plugin in landing/README.md.

16. ROADMAP.md (Modify — separate root corazoncp/.github repo commit)

  • Type / Scope: Organization Hub Roadmap Sync
  • Proposed Changes:
    • Log /kundalini/, /volver-a-ti/, and /descargo/ under Milestone 1 Slice 5 bilingual parity tracking in root ROADMAP.md (committed separately in the root hub repo per AGENTS.md multi-repo boundary rules).

Verification Plan

  • Build: pnpm --dir landing build (vp build) succeeds and outputs all 4 HTML entrypoints and hashed JS/CSS assets under landing/dist/.
  • Unit & Contract Tests: pnpm --dir landing test (vp build && node --test tests/*.test.js) passes across hero-whatsapp.test.js, services-catalog.test.js, and kundalini-routes.test.js.
  • Static Analysis & Linting: pnpm --dir landing lint (biome check .) passes with zero errors or warnings.
  • Manual Browser & Accessibility QA:
    • Verify keyboard-only navigation (Tab, Shift+Tab, Enter, Escape on the mobile disclosure menu), 375px mobile menu layout without wrapping or shrinking the brand title, and >= 3:1 contrast on :focus-visible and aria-current="page".
    • Verify disclaimer gating on /volver-a-ti/:
      • Clicking gated Ko-fi/Zelle links while unchecked triggers #disclaimer-status (aria-live="polite") and focuses #accept-disclaimer.
      • Checking the box clears #disclaimer-status and enables navigation; the general WhatsApp inquiry link remains ungated.
      • Returning from /descargo/ via browser Back preserves synced state via pageshow.
      • With JavaScript disabled, links remain active without aria-disabled="true".
    • Verify /descargo/ returns to /volver-a-ti/#inscripcion without sticky-header overlap, confirm JPEG Open Graph preview tags on both /kundalini/ and /volver-a-ti/, and confirm zero CSP console errors.