The foreach loop in header.php used $slug and $servicio as loop
variables, which overwrote the same-named variables set by
servicio.php. After the loop, both variables held the last service
(doble_nacionalidad), so every service page rendered that content.
Renamed loop variables to $_nav_slug and $_nav_srv to avoid collision.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The smooth scroll handler was intercepting clicks on the "Servicios"
dropdown toggle link (href="#servicios"), which on the landing page
would find the #servicios section and call closeMenu(), immediately
closing the menu before the user could click any service link.
Fix: skip dropdown toggle links in smooth scroll handler, make
dropdown toggle work via click on all devices (not just CSS :hover).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace navy blue/gold color scheme with dark backgrounds (#0a0a0a, #111, #1a1a1a)
and silver/platinum metallic accents (#c0c0c0, #d4d4d4, #e8e8e8) to match the
LP logo's chrome/silver gradient aesthetic. All sections (navbar, hero, service
cards, values, testimonials, contact, footer, forms, confirmation page) updated
for luxury dark theme with subtle silver glow effects and metallic gradients.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add solicitudes list page with estado filtering, pagination, and new
request count badge. Add detail page showing all form data with
actions to change status, create new client, link to existing client,
and create tramite from linked client.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add the admin CRM panel foundation including:
- Login/logout authentication flow with CSRF protection
- Sidebar layout with navigation for all CRM modules
- Comprehensive admin.css (1680+ lines) with components for
cards, tables, badges, forms, buttons, alerts, modals,
pagination, search, responsive breakpoints, and print styles
- admin.js with sidebar toggle, confirm dialogs, auto-dismiss
alerts, and table search filtering
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>