        /* ==========================================
           1. DESIGN SYSTEM & BASE RESETS
           ========================================== */
        :root {
            /* Harmonious HSL Tailored Palette */
            --primary: hsl(36, 40%, 60%);        /* Gold/Bronze: #c5a880 */
            --primary-hover: hsl(36, 45%, 50%);  /* Darker Gold */
            --primary-light: hsl(36, 40%, 90%);  /* Soft Golden Cream */
            
            --dark-bg: hsl(0, 0%, 7%);           /* Slate Black: #121212 */
            --dark-card: hsl(0, 0%, 12%);        /* Card dark: #1f1f1f */
            --dark-border: hsl(0, 0%, 20%);
            
            --light-bg: hsl(43, 25%, 96%);       /* Warm Sand/Beige: #f8f5f0 */
            --light-card: hsl(0, 0%, 100%);      /* Card light: #ffffff */
            --light-border: hsl(36, 20%, 88%);
            
            --text-dark: hsl(0, 0%, 12%);        /* Solid Charcoal */
            --text-muted-dark: hsl(0, 0%, 40%);
            --text-light: hsl(40, 20%, 95%);     /* Soft White */
            --text-muted-light: hsl(40, 10%, 75%);
            
            --success: hsl(142, 70%, 45%);
            
            --font-headings: 'Oswald', sans-serif;
            --font-body: 'Outfit', sans-serif;
            
            --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            --transition-fast: all 0.2s ease;
            
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
            --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
            --shadow-glow: 0 0 25px hsla(36, 40%, 60%, 0.25);
            
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 24px;
            --radius-full: 9999px;
            
            --container-max: 1200px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--light-bg);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-headings);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1.2;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button, .btn {
            font-family: var(--font-body);
            cursor: pointer;
            border: none;
            outline: none;
            transition: var(--transition-smooth);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Utility Layouts */
        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        .section-padding {
            padding: 100px 0;
        }
        
        @media (max-width: 768px) {
            .section-padding {
                padding: 60px 0;
            }
        }

        /* Micro-interactions & animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(24px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse-glow {
            0%, 100% {
                box-shadow: 0 0 15px hsla(36, 40%, 60%, 0.15);
            }
            50% {
                box-shadow: 0 0 30px hsla(36, 40%, 60%, 0.35);
            }
        }

        .animate-fade-in {
            animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary) 0%, hsl(36, 50%, 75%) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Scrollbar styling */
        ::-webkit-scrollbar {
            width: 10px;
        }
        ::-webkit-scrollbar-track {
            background: var(--dark-bg);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border: 2px solid var(--dark-bg);
            border-radius: var(--radius-full);
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-hover);
        }

        /* ==========================================
           2. BUTTONS DESIGN SYSTEM
           ========================================== */
        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, hsl(36, 45%, 55%) 100%);
            color: var(--dark-bg);
            padding: 14px 28px;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-sm);
            gap: 10px;
            font-size: 0.9rem;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, hsl(36, 45%, 55%) 0%, var(--primary) 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(197, 168, 128, 0.3);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-light);
            border: 1.5px solid var(--primary);
            padding: 14px 28px;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
        }

        .btn-secondary:hover {
            background: var(--primary);
            color: var(--dark-bg);
            transform: translateY(-2px);
        }

        .btn-light-outline {
            background: transparent;
            color: var(--primary);
            border: 1.5px solid var(--primary);
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            font-size: 0.85rem;
        }

        .btn-light-outline:hover {
            background: var(--primary);
            color: var(--dark-bg);
            transform: translateY(-2px);
        }

        .btn-beige {
            background-color: var(--light-bg);
            color: var(--text-dark);
            border: 1px solid var(--light-border);
            padding: 14px 28px;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            width: 100%;
        }

        .btn-beige:hover {
            background-color: var(--primary);
            color: var(--dark-bg);
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        /* ==========================================
           3. NAVBAR & HEADER
           ========================================== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            transition: var(--transition-smooth);
            border-bottom: 1px solid transparent;
            background: linear-gradient(to bottom, rgba(12, 12, 12, 0.85) 0%, rgba(12, 12, 12, 0.3) 60%, transparent 100%);
        }

        /* WordPress Admin Bar (32px desktop / 46px mobile) empuja el header fijo hacia abajo */
        .admin-bar header {
            top: 32px;
        }
        @media screen and (max-width: 782px) {
            .admin-bar header {
                top: 46px;
            }
        }

        header.scrolled,
        body:not(.home):not(.front-page) header {
            background-color: rgba(18, 18, 18, 0.95);
            background-image: none;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(197, 168, 128, 0.15);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        body:not(.home):not(.front-page) header .navbar { height: 75px; }
        body:not(.home):not(.front-page) header .navbar .logo { height: 75px; }
        body:not(.home):not(.front-page) header .navbar .logo img { height: 50px; max-height: 50px; }

        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 90px;
            transition: var(--transition-smooth);
        }

        header.scrolled .navbar {
            height: 75px;
        }

        /* Logo en Header — ancho fijo para no empujar los nav-links */
        .navbar .logo {
            width: 90px;
            flex-shrink: 0;
            height: 90px;       /* igual al navbar para centrar verticalmente */
            display: flex;
            align-items: center;
            overflow: hidden;   /* evita que la imagen desborde el contenedor */
        }

        /* Target img directo: mw_the_image() no añade clase logo-img */
        .navbar .logo img {
            height: 60px;
            width: auto;
            max-width: 88px;
            max-height: 60px;
            object-fit: contain;
            filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
            transition: var(--transition-smooth);
        }

        header.scrolled .navbar {
            /* sin override de height aquí; ya está en la regla scrolled anterior */
        }

        header.scrolled .navbar .logo {
            height: 75px;       /* sigue al navbar scrolled (height:75px) */
        }

        header.scrolled .navbar .logo img {
            height: 50px;
            max-height: 50px;
        }

        /* Mobile */
        @media (max-width: 576px) {
            .navbar .logo {
                width: 70px;
                height: 90px;
            }
            .navbar .logo img {
                height: 50px;
                max-width: 66px;
                max-height: 50px;
            }
            header.scrolled .navbar .logo img {
                height: 42px;
                max-height: 42px;
            }
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 30px;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-muted-light);
            font-weight: 500;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            position: relative;
            text-transform: uppercase;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: var(--transition-fast);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .btn-whatsapp-icon,
        .btn-user-icon {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-light);
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-fast);
        }

        .btn-whatsapp-icon:hover {
            background-color: #25D366;
            color: white;
            border-color: #25D366;
            transform: scale(1.05);
        }

        .btn-user-icon:hover,
        .mw-user-menu:hover .btn-user-icon,
        .mw-user-menu:focus-within .btn-user-icon {
            background-color: var(--primary);
            color: #1a1a1a;
            border-color: var(--primary);
            transform: scale(1.05);
        }

        /* ── Menú de usuario (dropdown hover) ───────────────────────── */
        .mw-user-menu {
            position: relative;
        }
        .mw-user-menu-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            min-width: 240px;
            background: #fff;
            border-radius: var(--radius-sm);
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(0, 0, 0, 0.06);
            padding: 8px 0;
            margin: 0;
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);
            transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
            z-index: 200;
        }
        /* Puente invisible para que el cursor pueda pasar del icono al menú */
        .mw-user-menu::after {
            content: '';
            position: absolute;
            top: 100%;
            right: 0;
            width: 100%;
            height: 14px;
        }
        .mw-user-menu:hover .mw-user-menu-dropdown,
        .mw-user-menu:focus-within .mw-user-menu-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .mw-user-menu-dropdown li {
            margin: 0;
            padding: 0;
        }
        .mw-user-menu-dropdown a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            color: var(--text-dark);
            font-size: 0.92rem;
            text-decoration: none;
            transition: background-color 0.12s ease, color 0.12s ease;
        }
        .mw-user-menu-dropdown a:hover {
            background-color: rgba(197, 168, 128, 0.12);
            color: var(--text-dark);
        }
        .mw-user-menu-dropdown a i {
            width: 18px;
            height: 18px;
            color: var(--primary);
        }
        .mw-user-menu-dropdown a.mw-user-menu-logout:hover i,
        .mw-user-menu-dropdown a.mw-user-menu-logout:hover {
            color: #c0392b;
            background-color: rgba(192, 57, 43, 0.08);
        }
        .mw-user-menu-header {
            padding: 12px 16px 10px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            margin-bottom: 4px;
        }
        .mw-user-menu-header strong {
            display: block;
            font-size: 0.92rem;
            color: var(--text-dark);
            margin-bottom: 2px;
        }
        .mw-user-menu-header span {
            display: block;
            font-size: 0.78rem;
            color: var(--text-muted-dark);
            word-break: break-all;
        }
        .mw-user-menu-divider {
            height: 1px;
            background: rgba(0, 0, 0, 0.06);
            margin: 6px 0;
        }

        /* Hamburger button */
        .burger-menu {
            display: none;
            flex-direction: column;
            gap: 6px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 101;
            padding: 8px;
        }

        .burger-menu span {
            display: block;
            width: 26px;
            height: 2px;
            background-color: var(--text-light);
            transition: var(--transition-smooth);
        }

        /* Mobile Drawer */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background-color: var(--dark-bg);
            border-left: 1px solid var(--dark-border);
            z-index: 99;
            padding: 120px 40px 40px 40px;
            display: flex;
            flex-direction: column;
            gap: 40px;
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-lg);
        }

        .mobile-nav.open {
            right: 0;
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 25px;
            list-style: none;
        }

        .mobile-nav-links a {
            color: var(--text-muted-light);
            font-size: 1.1rem;
            font-weight: 500;
            text-transform: uppercase;
            font-family: var(--font-headings);
            letter-spacing: 1px;
        }

        .mobile-nav-links a:hover,
        .mobile-nav-links a.active {
            color: var(--primary);
            padding-left: 8px;
        }

        .burger-menu.open span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .burger-menu.open span:nth-child(2) {
            opacity: 0;
        }

        .burger-menu.open span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        @media (max-width: 991px) {
            .nav-links, .header-actions .btn-primary {
                display: none;
            }
            .burger-menu {
                display: flex;
            }
        }

        /* ==========================================
           4. HERO SECTION
           ========================================== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background-image: linear-gradient(rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.85)), url('../images/hero_bg.png');
            background-size: cover;
            background-position: center;
            background-attachment: scroll;
            color: var(--text-light);
            padding-top: 130px;
            padding-bottom: 80px;
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 60px;
            align-items: center;
        }

        .hero-content {
            opacity: 0;
            animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
        }

        .hero-tag {
            color: var(--primary);
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero-tag::before {
            content: '';
            display: block;
            width: 20px;
            height: 2px;
            background-color: var(--primary);
        }

        .hero h1 {
            font-size: 4.2rem;
            font-weight: 700;
            line-height: 1.05;
            margin-bottom: 25px;
            max-width: 650px;
        }

        .hero h1 span {
            display: block;
            color: var(--primary);
        }

        .hero-subtitle {
            font-size: 1.1rem;
            color: var(--text-muted-light);
            margin-bottom: 40px;
            max-width: 550px;
            font-weight: 300;
        }

        .hero-ctas {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 50px;
        }

        /* Trust badges at bottom of hero content */
        .hero-badges {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
        }

        .badge-item {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .badge-header {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .badge-item p {
            font-size: 0.75rem;
            color: var(--text-muted-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 500;
        }

        /* Floating right card in Hero */
        .hero-floating-card {
            background: rgba(31, 31, 31, 0.65);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(197, 168, 128, 0.25);
            border-radius: var(--radius-md);
            padding: 40px;
            box-shadow: var(--shadow-lg);
            animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
            opacity: 0;
            position: relative;
            overflow: hidden;
        }

        /* Cuando la card es un enlace add-to-cart */
        a.hero-floating-card {
            display: block;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }

        a.hero-floating-card.hero-floating-card--link:hover {
            border-color: rgba(197, 168, 128, 0.55);
            box-shadow: var(--shadow-glow), var(--shadow-lg);
            transform: translateY(-3px);
        }

        .hero-floating-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(197, 168, 128, 0.05) 0%, transparent 60%);
            pointer-events: none;
        }

        .floating-icon-wrapper {
            background-color: rgba(197, 168, 128, 0.1);
            border: 1px solid rgba(197, 168, 128, 0.2);
            color: var(--primary);
            width: 56px;
            height: 56px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
        }

        .hero-floating-card h3 {
            font-size: 1.4rem;
            margin-bottom: 5px;
            color: var(--text-light);
        }

        .hero-floating-card .price-label {
            font-size: 0.8rem;
            color: var(--text-muted-light);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-floating-card .price-value {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--primary);
            font-family: var(--font-headings);
            margin: 10px 0;
            display: flex;
            align-items: baseline;
            gap: 5px;
        }

        .hero-floating-card .price-value span {
            font-size: 1rem;
            color: var(--text-muted-light);
            font-family: var(--font-body);
            font-weight: 400;
        }

        .hero-floating-card .card-info {
            font-size: 0.8rem;
            color: var(--text-muted-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Hero Responsive Breakpoints */
        @media (max-width: 991px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 50px;
            }
            .hero h1 {
                font-size: 3.2rem;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            .hero-badges {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            .hero-floating-card {
                padding: 30px 20px;
            }
        }

        /* ==========================================
           5. SERVICES SECTION
           ========================================== */
        .services-section {
            background-color: var(--light-bg);
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header .tag {
            color: var(--primary);
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            display: inline-block;
            margin-bottom: 10px;
        }

        .section-header h2 {
            font-size: 2.2rem;
            color: var(--text-dark);
            max-width: 600px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .service-card {
            background-color: var(--light-card);
            border: 1px solid var(--light-border);
            border-radius: var(--radius-md);
            /* overflow: hidden eliminado — el img-wrapper ya tiene su propio overflow:hidden */
            /* quitarlo permite que el ícono absoluto (.service-card-icon) sea visible */
            box-shadow: var(--shadow-sm);
            transition: var(--transition-smooth);
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .service-img-wrapper {
            position: relative;
            height: 240px;
            overflow: hidden;
            border-radius: var(--radius-md) var(--radius-md) 0 0;
        }

        .service-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition-smooth);
        }

        .service-card-icon {
            /* Posicionado relativo a .service-card (no al img-wrapper con overflow:hidden) */
            position: absolute;
            top: calc(240px - 24px);  /* altura imagen (240px) - offset overlap (24px) */
            left: 30px;
            /* Colores hardcodeados para evitar que WooCommerce sobreescriba --primary */
            background-color: hsl(36, 40%, 60%);   /* --primary: #c5a880 dorado */
            color: hsl(0, 0%, 7%);                  /* --dark-bg: #121212 */
            width: 48px;
            height: 48px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-md);
            z-index: 2;
            transition: var(--transition-smooth);
        }

        .service-content {
            padding: 40px 30px 30px 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .service-content h3 {
            font-size: 1.4rem;
            color: var(--text-dark);
            margin-bottom: 15px;
        }

        .service-content p {
            color: var(--text-muted-dark);
            font-size: 0.95rem;
            margin-bottom: 25px;
            font-weight: 300;
        }

        .service-link {
            font-weight: 600;
            font-size: 0.8rem;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .service-link svg {
            transition: var(--transition-fast);
        }

        /* Hover states for services card */
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary);
        }

        .service-card:hover .service-img-wrapper img {
            transform: scale(1.08);
        }

        .service-card:hover .service-card-icon {
            transform: translateY(-5px);
            background-color: var(--dark-bg);
            color: var(--primary);
        }

        .service-card:hover .service-link {
            color: var(--primary);
        }

        .service-card:hover .service-link svg {
            transform: translateX(5px);
        }

        @media (max-width: 991px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ==========================================
           6. MEMBERSHIPS SECTION (PRICING)
           ========================================== */
        .pricing-section {
            background-color: #fcfaf6;
            border-top: 1px solid var(--light-border);
            border-bottom: 1px solid var(--light-border);
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            align-items: stretch;
            margin-bottom: 60px;
        }

        .pricing-card {
            background-color: var(--light-card);
            border: 1px solid var(--light-border);
            border-radius: var(--radius-md);
            padding: 40px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: var(--transition-smooth);
        }

        .pricing-card h3 {
            font-size: 1.25rem;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        .pricing-card .price {
            font-family: var(--font-headings);
            font-size: 2.2rem;
            color: var(--text-dark);
            font-weight: 700;
            margin-bottom: 15px;
            display: flex;
            align-items: baseline;
            gap: 5px;
        }

        .pricing-card .price span {
            font-size: 1rem;
            font-family: var(--font-body);
            color: var(--text-muted-dark);
            font-weight: 400;
        }

        .pricing-card .pricing-desc {
            font-size: 0.9rem;
            color: var(--text-muted-dark);
            margin-bottom: 30px;
            font-weight: 300;
        }

        .pricing-features {
            list-style: none;
            margin-bottom: 35px;
            border-top: 1px solid var(--light-border);
            padding-top: 25px;
            flex-grow: 1;
        }

        .pricing-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            color: var(--text-dark);
            margin-bottom: 15px;
        }

        .pricing-features li svg {
            color: var(--success);
            flex-shrink: 0;
        }

        /* HIGHLIGHTED CARD - PLAN AVANZADO */
        .pricing-card.featured {
            background-color: var(--dark-card);
            border: 2px solid var(--primary);
            color: var(--text-light);
            box-shadow: var(--shadow-glow);
            animation: pulse-glow 4s infinite alternate;
        }

        .pricing-card.featured::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(197, 168, 128, 0.05) 0%, transparent 80%);
            border-radius: inherit;
            pointer-events: none;
        }

        .pricing-card.featured h3 {
            color: var(--text-light);
        }

        .pricing-card.featured .price {
            color: var(--primary);
        }

        .pricing-card.featured .price span {
            color: var(--text-muted-light);
        }

        .pricing-card.featured .pricing-desc {
            color: var(--text-muted-light);
        }

        .pricing-card.featured .pricing-features {
            border-top-color: var(--dark-border);
        }

        .pricing-card.featured .pricing-features li {
            color: var(--text-light);
        }

        /* Popular badge on featured card */
        .popular-badge {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--primary) 0%, hsl(36, 50%, 45%) 100%);
            color: var(--dark-bg);
            padding: 6px 16px;
            font-size: 0.7rem;
            font-weight: 700;
            border-radius: var(--radius-full);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            box-shadow: 0 4px 12px rgba(197, 168, 128, 0.4);
            white-space: nowrap;
        }

        .btn-featured {
            background: linear-gradient(135deg, var(--primary) 0%, hsl(36, 45%, 55%) 100%);
            color: var(--dark-bg);
            border: none;
            width: 100%;
            padding: 14px 28px;
            border-radius: var(--radius-sm);
        }

        .btn-featured:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(197, 168, 128, 0.4);
        }

        /* Outlined gold button for plan premium */
        .btn-outlined-gold {
            background: transparent;
            color: var(--primary);
            border: 1.5px solid var(--primary);
            width: 100%;
            padding: 14px 28px;
            border-radius: var(--radius-sm);
        }

        .btn-outlined-gold:hover {
            background-color: var(--primary);
            color: var(--dark-bg);
            transform: translateY(-2px);
        }

        /* Pricing foot highlights */
        .pricing-trust-strip {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            border-top: 1px solid var(--light-border);
            padding-top: 40px;
        }

        .trust-strip-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .trust-strip-item svg {
            color: var(--primary);
            flex-shrink: 0;
        }

        @media (max-width: 991px) {
            .pricing-grid {
                grid-template-columns: 1fr;
                gap: 40px;
                max-width: 500px;
                margin-left: auto;
                margin-right: auto;
            }
            .pricing-trust-strip {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
        }

        @media (max-width: 576px) {
            .pricing-trust-strip {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }

        /* ==========================================
           7. HOW IT WORKS SECTION
           ========================================== */
        .how-it-works-section {
            background-color: var(--light-bg);
        }

        .workflow-container {
            position: relative;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-top: 50px;
        }

        /* Connecting line for workflow steps */
        .workflow-container::before {
            content: '';
            position: absolute;
            top: 45px;
            left: 10%;
            width: 80%;
            height: 1px;
            border-top: 2px dotted var(--light-border);
            z-index: 1;
        }

        .workflow-step {
            position: relative;
            text-align: center;
            z-index: 2;
        }

        .workflow-circle {
            background-color: var(--light-card);
            border: 2px solid var(--light-border);
            width: 90px;
            height: 90px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px auto;
            position: relative;
            box-shadow: var(--shadow-sm);
            transition: var(--transition-smooth);
            color: var(--text-dark);
        }

        .workflow-number {
            position: absolute;
            top: -5px;
            left: -5px;
            background-color: var(--text-dark);
            color: var(--text-light);
            width: 28px;
            height: 28px;
            border-radius: var(--radius-full);
            font-size: 0.8rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-smooth);
        }

        .workflow-step h3 {
            font-size: 1.1rem;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        .workflow-step p {
            font-size: 0.9rem;
            color: var(--text-muted-dark);
            padding: 0 10px;
            font-weight: 300;
        }

        /* Hover effect for workflow step */
        .workflow-step:hover .workflow-circle {
            border-color: var(--primary);
            color: var(--primary);
            transform: scale(1.05);
            box-shadow: var(--shadow-md);
        }

        .workflow-step:hover .workflow-number {
            background-color: var(--primary);
            color: var(--dark-bg);
        }

        @media (max-width: 991px) {
            .workflow-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 50px 30px;
            }
            .workflow-container::before {
                display: none; /* Hide connecting line on complex layouts */
            }
        }

        @media (max-width: 576px) {
            .workflow-container {
                grid-template-columns: 1fr;
            }
        }

        /* ==========================================
           8. WHY CHOOSE US SECTION
           ========================================== */
        .why-choose-us-section {
            background-color: var(--dark-bg);
            color: var(--text-light);
            overflow: hidden;
            position: relative;
        }

        .why-grid {
            display: grid;
            grid-template-columns: 1.12fr 0.88fr;
            gap: 80px;
            align-items: center;
        }

        .why-content h2 {
            font-size: 2.2rem;
            margin-bottom: 45px;
        }

        .why-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px 30px;
        }

        .why-item {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .why-icon-box {
            color: var(--primary);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .why-item h3 {
            font-size: 1.05rem;
            color: var(--text-light);
            letter-spacing: 0.5px;
        }

        .why-item p {
            font-size: 0.85rem;
            color: var(--text-muted-light);
            font-weight: 300;
        }

        .why-img-wrapper {
            position: relative;
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid rgba(197, 168, 128, 0.2);
            box-shadow: var(--shadow-lg);
            height: 480px;
        }

        .why-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .why-img-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(18,18,18,0.7) 0%, transparent 60%);
        }

        @media (max-width: 991px) {
            .why-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }
            .why-img-wrapper {
                height: 380px;
            }
        }

        @media (max-width: 576px) {
            .why-list {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        /* ==========================================
           9. REAL PROJECTS SECTION (GALLERY WITH FILTER)
           ========================================== */
        .projects-section {
            background-color: var(--light-bg);
            border-bottom: 1px solid var(--light-border);
        }

        /* Project Category filter */
        .project-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 45px;
        }

        .filter-btn {
            background-color: var(--light-card);
            border: 1px solid var(--light-border);
            color: var(--text-muted-dark);
            padding: 10px 22px;
            font-size: 0.8rem;
            border-radius: var(--radius-full);
        }

        .filter-btn.active,
        .filter-btn:hover {
            background-color: var(--primary);
            color: var(--dark-bg);
            border-color: var(--primary);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 50px;
        }

        .project-card {
            background-color: var(--light-card);
            border: 1px solid var(--light-border);
            border-radius: var(--radius-md);
            overflow: hidden;
            position: relative;
            box-shadow: var(--shadow-sm);
            transition: var(--transition-smooth);
            cursor: pointer;
        }

        .project-img-container {
            height: 250px;
            overflow: hidden;
            position: relative;
        }

        .project-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition-smooth);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(18, 18, 18, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition-smooth);
        }

        .project-search-icon {
            background-color: var(--primary);
            color: var(--dark-bg);
            width: 50px;
            height: 50px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            transform: scale(0.8);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-md);
        }

        .project-info-strip {
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .project-info-strip h3 {
            font-size: 1.05rem;
            color: var(--text-dark);
            margin: 0;
        }

        .project-tag-pill {
            background-color: var(--primary-light);
            color: var(--primary-hover);
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 4px 10px;
            border-radius: var(--radius-full);
        }

        /* Hover state for project card */
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary);
        }

        .project-card:hover .project-img-container img {
            transform: scale(1.06);
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-card:hover .project-search-icon {
            transform: scale(1);
        }

        /* Fade filtering animation */
        .project-card.hide {
            display: none;
        }

        .project-card.show {
            animation: fadeInUp 0.5s ease forwards;
        }

        .projects-btn-container {
            text-align: center;
        }

        @media (max-width: 991px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ==========================================
           10. FAQ SECTION
           ========================================== */
        .faq-section {
            background-color: var(--light-bg);
            border-bottom: 1px solid var(--light-border);
        }

        .faq-accordion {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .faq-item {
            background-color: var(--light-card);
            border: 1px solid var(--light-border);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition-smooth);
        }

        .faq-header {
            width: 100%;
            padding: 24px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: transparent;
            text-align: left;
            font-size: 1.1rem;
            color: var(--text-dark);
            font-family: var(--font-body);
            font-weight: 600;
        }

        .faq-toggle-icon {
            color: var(--primary);
            transition: var(--transition-smooth);
            flex-shrink: 0;
        }

        .faq-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 0 30px;
            color: var(--text-muted-dark);
            font-size: 0.95rem;
            font-weight: 300;
        }

        .faq-body p {
            padding-bottom: 24px;
        }

        /* Active FAQ item */
        .faq-item.active {
            border-color: var(--primary);
            box-shadow: var(--shadow-sm);
        }

        .faq-item.active .faq-toggle-icon {
            transform: rotate(180deg);
        }

        /* ==========================================
           11. FOOTER
           ========================================== */
        footer {
            background-color: var(--dark-bg);
            color: var(--text-light);
            padding: 80px 0 30px 0;
            border-top: 2px solid var(--primary);
        }

        .footer-top {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr 1fr;
            gap: 60px;
            margin-bottom: 60px;
        }

        .footer-info {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .footer-info p {
            font-size: 0.9rem;
            color: var(--text-muted-light);
            font-weight: 300;
            max-width: 320px;
        }

        .footer-ctas {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .footer-ctas .btn-primary {
            justify-content: flex-start;
            padding: 14px 24px;
        }

        .btn-whatsapp-footer {
            background: transparent;
            color: #25D366;
            border: 1px solid rgba(37, 211, 102, 0.3);
            border-radius: var(--radius-sm);
            padding: 14px 24px;
            gap: 10px;
            font-size: 0.85rem;
            justify-content: flex-start;
        }

        .btn-whatsapp-footer:hover {
            background-color: #25D366;
            color: white;
            border-color: #25D366;
            transform: translateY(-2px);
        }

        .footer-nav-col {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .footer-nav-col h3 {
            font-size: 1.1rem;
            color: var(--text-light);
            letter-spacing: 1px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-nav-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary);
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
            list-style: none;
        }

        .footer-links a {
            color: var(--text-muted-light);
            font-size: 0.9rem;
            font-weight: 300;
        }

        .footer-links a:hover {
            color: var(--primary);
            padding-left: 5px;
        }

        .footer-contact-col {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .footer-contact-item {
            display: flex;
            gap: 15px;
        }

        .footer-contact-icon {
            color: var(--primary);
            flex-shrink: 0;
        }

        .footer-contact-text h4 {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-bottom: 5px;
            letter-spacing: 0.5px;
        }

        .footer-contact-text p {
            font-size: 0.85rem;
            color: var(--text-muted-light);
            font-weight: 300;
        }

        .footer-socials {
            display: flex;
            gap: 15px;
        }

        .social-icon-btn {
            background-color: var(--dark-card);
            border: 1px solid var(--dark-border);
            color: var(--text-muted-light);
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-fast);
        }

        .social-icon-btn:hover {
            background-color: var(--primary);
            color: var(--dark-bg);
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .footer-bottom {
            border-top: 1px solid var(--dark-border);
            padding-top: 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-muted-light);
            font-weight: 300;
        }

        @media (max-width: 991px) {
            .footer-top {
                grid-template-columns: repeat(2, 1fr);
                gap: 50px;
            }
        }

        @media (max-width: 576px) {
            .footer-top {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .footer-bottom {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
        }

        /* ==========================================
           12. DIALOGS & LEAD GENERATION MODAL
           ========================================== */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(18, 18, 18, 0.8);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 200;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: var(--transition-smooth);
        }

        .modal-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-card {
            background-color: var(--light-card);
            border: 1px solid var(--light-border);
            width: 100%;
            max-width: 500px;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transform: scale(0.9);
            transition: var(--transition-smooth);
            position: relative;
        }

        .modal-overlay.open .modal-card {
            transform: scale(1);
        }

        .modal-close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: transparent;
            color: var(--text-muted-dark);
            border: none;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-full);
            transition: var(--transition-fast);
        }

        .modal-close-btn:hover {
            background-color: var(--light-bg);
            color: var(--text-dark);
        }

        .modal-header {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
            color: var(--text-light);
            padding: 30px;
            border-bottom: 2px solid var(--primary);
        }

        .modal-header h3 {
            font-size: 1.4rem;
            margin-bottom: 5px;
        }

        .modal-header p {
            font-size: 0.8rem;
            color: var(--text-muted-light);
            font-weight: 300;
        }

        .modal-body {
            padding: 30px;
        }

        .form-group {
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            font-family: var(--font-body);
            border: 1px solid var(--light-border);
            border-radius: var(--radius-sm);
            padding: 12px 16px;
            font-size: 0.95rem;
            width: 100%;
            outline: none;
            transition: var(--transition-fast);
            color: var(--text-dark);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
        }

        .form-group textarea {
            height: 100px;
            resize: none;
        }

        /* Lightbox modal for projects review */
        .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(18, 18, 18, 0.95);
            z-index: 300;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: var(--transition-smooth);
        }

        .lightbox-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        .lightbox-container {
            max-width: 90%;
            max-height: 80%;
            position: relative;
            transform: scale(0.9);
            transition: var(--transition-smooth);
        }

        .lightbox-overlay.open .lightbox-container {
            transform: scale(1);
        }

        .lightbox-img {
            width: 100%;
            height: 100%;
            max-height: 80vh;
            object-fit: contain;
            border: 2px solid var(--primary);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-lg);
        }

        .lightbox-caption {
            color: var(--text-light);
            text-align: center;
            font-family: var(--font-headings);
            font-size: 1.25rem;
            margin-top: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .lightbox-close-btn {
            position: absolute;
            top: -40px;
            right: 0;
            background: transparent;
            color: var(--text-muted-light);
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .lightbox-close-btn:hover {
            color: var(--text-light);
        }

        /* ==========================================
           SPACER + layout base de páginas internas
           (movido desde internal.css para que siempre se cargue,
            incluso si el navegador cachea internal.css o si el
            enqueue condicional falla)
           ========================================== */
        .site-nav-spacer {
            height: 90px;   /* igual a la altura del navbar */
            transition: var(--transition-smooth);
        }

        /* Layout base del portal — siempre cargado */
        .mw-portal {
            min-height: calc(100vh - 80px);
            background: var(--light-bg);
            padding: 130px 0 80px;
        }
        @media (max-width: 768px) {
            .mw-portal { padding-top: 110px; }
        }
        .mw-portal .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .mw-portal-header { margin-bottom: 32px; }
        .mw-portal-header h1 {
            font-family: var(--font-headings);
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            color: var(--text-dark);
            margin: 0 0 4px;
            font-weight: 700;
            letter-spacing: 0.02em;
        }
        .mw-portal-header p {
            color: var(--text-muted-dark);
            margin: 0;
            font-size: 0.95rem;
        }

        /* Contenido de páginas estáticas (legales, etc.) */
        .mw-page-content {
            background: var(--light-card);
            border-radius: var(--radius-md);
            padding: 40px 48px;
            box-shadow: 0 1px 3px rgba(0,0,0,.04);
            font-size: 0.97rem;
            line-height: 1.65;
            color: var(--text-dark);
        }

        /* Título de la página DENTRO del card (patrón legales / checkout) */
        .mw-page-content .mw-page-title {
            font-family: var(--font-headings);
            font-size: clamp(1.5rem, 2.4vw, 1.9rem);
            color: var(--text-dark);
            margin: 0 0 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(0,0,0,.08);
            font-weight: 700;
            letter-spacing: 0.02em;
            line-height: 1.2;
        }
        .mw-page-content h2 {
            font-family: var(--font-headings);
            font-size: 1.25rem;
            color: var(--text-dark);
            margin: 32px 0 12px;
            font-weight: 700;
            letter-spacing: 0.01em;
        }
        .mw-page-content h2:first-child { margin-top: 0; }
        .mw-page-content h3 {
            font-family: var(--font-headings);
            font-size: 1.05rem;
            color: var(--text-dark);
            margin: 22px 0 8px;
            font-weight: 600;
        }
        .mw-page-content p,
        .mw-page-content ul,
        .mw-page-content ol { margin: 0 0 14px; }
        .mw-page-content ul,
        .mw-page-content ol { padding-left: 22px; }
        .mw-page-content li { margin-bottom: 6px; }
        .mw-page-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .mw-page-content a:hover { text-decoration: none; }
        .mw-page-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 16px 0;
            font-size: 0.92rem;
        }
        .mw-page-content table th,
        .mw-page-content table td {
            border: 1px solid rgba(0,0,0,.08);
            padding: 10px 12px;
            text-align: left;
            vertical-align: top;
        }
        .mw-page-content table th {
            background: rgba(0,0,0,.03);
            font-weight: 600;
        }
        .mw-page-content em {
            color: var(--text-muted-dark);
            font-style: italic;
        }
        @media (max-width: 768px) {
            .mw-page-content {
                padding: 24px 20px;
                font-size: 0.93rem;
            }
        }

        /* Con admin bar: el header se desplaza 32px hacia abajo → spacer debe compensar */
        .admin-bar .site-nav-spacer {
            height: 122px;  /* 90px + 32px admin bar desktop */
        }

        @media screen and (max-width: 782px) {
            .admin-bar .site-nav-spacer {
                height: 136px; /* 90px + 46px admin bar móvil */
            }
        }

        @media (max-width: 768px) {
            .site-nav-spacer { height: 70px; } /* nav colapsa en móvil */
            .admin-bar .site-nav-spacer { height: 116px; } /* 70px + 46px */
        }
